zacharee / Tweaker

MIT License
1.02k stars 176 forks source link

"Flip Phone Back and Forth" Camera Gesture has Issues with Lockscreen Shortcuts #44

Closed BroJac5246 closed 1 year ago

BroJac5246 commented 2 years ago

Device Info

Android Version: 11 Device: Motorolla Moto g power

Note

Some Motorolla phones have a feature called Quick Capture. It functions identically to the Flip Phone Back and Forth Camera Gesture. Since turning on the Flip Phone gesture also turns on Quick Capture, I believe the feature is the same. For simplicity, I will refer to the feature as "Quick Capture". Please note that I don't think this feature has an effect on this issue, as the issue still occurs with the Moto-provided feature off.

The Problem

Typically, the Quick Capture feature works the same way when the phone is locked as it does when it is unlocked. When the user performs the gesture, the camera opens, regardless of whether or not the app is locked. However, when the camera app is added to a phone's lock screen via the Lockscreen Shortcuts feature (my phone uses Moto Camera 2), this changes. In order to access the camera via Quick Capture, you are now required to unlock your phone.

Screenshots

I have attached two sets of screenshots. One set is of the normal behavior, while the other shows what happens when the camera app is on the lock screen. Note that these screenshots were taken using the following steps:

  1. Enter lockscreen
  2. Screenshot
  3. Perform Quick Capture gesture
  4. Screenshot

I didn't do anything else (aside from covering the camera). Note that the two lock screen images have some text whited out, this is to protect my privacy.

Also, sorry about the image size. I don't know how to make them smaller without doing a lot of work, so I guess they are what they are.

Normal Behavior Screenshots:

Lock Screen: Lock Screen - Issue without Camera

After Gesture Performed: Gesture - Issue without Camera

Bugged Behavior Screenshots:

Lock Screen: Lock Screen - Issue with Camera

After Gesture Performed: Gesture - Issue with Camera

If you have any questions, please ask. I'll do my best to help :)

BroJac5246 commented 2 years ago

Update

I just did some more experimenting and found that this issue occurs when any app is on the right side of the lock screen. Quick Capture will attempt to launch this app instead of the camera app, and will require an unlock to access this app. This app could still potentially be the camera app, which is what I demonstrated above.

Interestingly, tapping (and not pulling) the set app on the right side will cause the lock screen to say (on the bottom), "Swipe from icon for camera," even if the camera is not the app that is set.

BroJac5246 commented 1 year ago

This is probably a system issue, so I doubt there's anything SystemUI Tuner can do.