-
Notifications
You must be signed in to change notification settings - Fork 18
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
VOC-401 More intuatively asks for Camera permissions. #443
Conversation
b2537fd
to
3b70f96
Compare
fb6011b
to
5f2c623
Compare
…enied turns off tracking UI and disables button.
5f2c623
to
e3f1c33
Compare
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.
I like the direction. Consolidating the control of the head tracking enabled/disabled state is awesome. Seeing this got me thinking you might be able to take it even further and get more stuff out of the Activity. Let me know what you think of my comments.
Also, in the name of reducing change size, I'm cool merging this once the typos and potential left-behind things are addressed, and handling moving more logic around in another PR.
app/src/main/java/com/willowtree/vocable/facetracking/FaceTrackFragment.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/willowtree/vocable/facetracking/FaceTrackFragment.kt
Show resolved
Hide resolved
app/src/main/java/com/willowtree/vocable/utils/IVocableSharedPreferences.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/com/willowtree/vocable/settings/selectionmode/SelectionModeViewModelTest.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/com/willowtree/vocable/settings/selectionmode/SelectionModeViewModelTest.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/willowtree/vocable/settings/selectionmode/SelectionModeViewModel.kt
Show resolved
Hide resolved
7aea449
to
5da3d58
Compare
…checks, Re-adds statusbar fullscreen mode
3ec8090
to
fb6e85d
Compare
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.
LGTM. Looking forward to seeing the manager implementation 😄
Description:
Only asks for permissions if attempting to enable head tracking.
Includes rational dialog to improve approval chances.
Does not enable
headTrackingFragment
until permissions are enabled the first time. Pauses and resumes fragment to any changes after the fact.Always checks permissions before turning on headTracking.