-
-
Notifications
You must be signed in to change notification settings - Fork 405
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
App closes if secured with password/biometrics, minimized to background and then reopened #1576
Comments
I'm not able to reproduce this. The log you shared does not indicate a crash. Could you reproduce using the following APK, record the screen while doing so and share the recording here? https://alexbakker.me/u/bxve7fb64i.apk |
I was irritated, that there was noch obvious crash in the log file too. This is the log i captured using: I even installed android studio and build the app myself, installed it on my pixel 9 via wifi debugging. But still got the same error as shown in the screen capture. |
I'm having the same issue on pixel 7 with grapheneos. |
I'm able to reproduce this by enabling the "Don't keep activities" developer option. I suspect that you have that enabled as well. Full reproduction steps:
The problem appears to be that Please give this debug APK a shot and let me know whether the issue is now gone: https://alexbakker.me/u/ge7r8h7pt5.apk |
First of all: Thanks for your support! (: The developer option "Don't keep activities" was never actived by me on my phone. Disabled
Ensabled
|
I think I found the place where it goes wrong: VaultLockReceiver.java:24 If I'm right this is the function to lock the app when the devices is locked. Unfortunately the code is not trigged, when I lock the device but only when i unlock the device and reopen the app again. On a virtual "Pixel 9 Pro API 35" inside Android Studio the Now I'm trying to search why my physical device behaves this way. It might be something like:
|
I found the "culprit": I do not use the default Pixel launcher but Olauncher. Stock Pixel Launcher: the Edit: @ParsleighScumble do you use Olauncher as well? |
So I guess this issue can be closed without any changes to aegis's code. (: |
Thanks for following up, I'm able to reproduce using Olauncher (without "Don't keep activities" enabled). I noticed the same thing as you regarding the delayed I still think it's worth investigating what Olauncher does differently to cause this, so I'm going to leave this open for now. |
I do not use Olauncher afaik, just GrapheneOS' default. It still happens but it's not very severe as the app opens on the second try every time. I'm not running aegis from source, it's v3.3.3. |
@ParsleighScumble Do you have "Don't keep activities" enabled in developer options? |
It's not enabled. |
Also, when I opened the app a couple of times today, it didn't close on launching once. |
Version
3.3.2
Source
Google Play
Vault encryption
Yes (with biometric unlock)
Device
Pixel 9 Pro
The same result on my Pixel 5 with Android 14
Android version
Android 15
ROM
Stock Pixel Android
Steps to reproduce
What do you expect to happen?
Step 7 should not be a crash.
What happens instead?
The app crashes in step 7.
Log
If I dont add any security (password / biometrics) the app does not crash in the scenario above
If I add any security (password / biometrics) the app does crash in the scenario above
The text was updated successfully, but these errors were encountered: