-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mute Audio Default Setting #268
Open
Kimblebee
wants to merge
22
commits into
main
Choose a base branch
from
kim/feature/mute_audio_setting
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
30d94bd
Implement default setting to start recordings muted or with audio
Kimblebee 1ff8c06
cleanup
Kimblebee d2c0b04
remove "s" typo
Kimblebee 7cb15dd
use new .withAudioEnabled API
Kimblebee c2bf8f2
spotless
Kimblebee 1122b72
fixed API usage
Kimblebee a709a35
add permission constraint to mute setting
Kimblebee 7f4c011
spotless
Kimblebee 534715b
address pr comments
Kimblebee f8fbbbe
spotless
Kimblebee 66b88db
inject context instead of application in PermissionChecker
Kimblebee a4c48be
add test
Kimblebee 4c52a8b
permission information passed from UI down to viewmodel
Kimblebee c22521d
Merge branch 'main' into kim/feature/mute_audio_setting
Kimblebee 73c5487
spotless
Kimblebee 8a0569d
add record audio permission for test
Kimblebee 5336407
Merge branch 'main' into kim/feature/mute_audio_setting
Kimblebee 6ad5da3
Merge branch 'main' into kim/feature/mute_audio_setting
Kimblebee 5ab0a8e
Rename Mute Audio usages to default positive
Kimblebee 0408e67
fix tests
Kimblebee 75c7b2f
refactor and adjust tests
Kimblebee 6014f13
fix test
Kimblebee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 0 additions & 44 deletions
44
data/settings/src/main/java/com/google/jetpackcamera/settings/PermissionChecker.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
.../settings/src/androidTest/java/com/google/jetpackcamera/settings/FakePermissionChecker.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should make this a
MutableStateFlow<Set<String>>
so that it can be combined into the below flow. Otherwise you have a race between this being set and the settings/constraints being updated.