Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

app not hiding info when using gesture navigation #983

Open
tmpta-napert opened this issue Apr 24, 2022 · 0 comments
Open

app not hiding info when using gesture navigation #983

tmpta-napert opened this issue Apr 24, 2022 · 0 comments
Assignees

Comments

@tmpta-napert
Copy link

General information

  • App version: latest / 0.9.0.1
  • App source: F-Droid
  • Android Version: Android 11
  • Custom ROM: Motorola ROM (RRCS31.Q1-3-68-4)

Expected result

What is expected?
app behaves the same way as when using software buttons (lock and hide all info from recent apps)

What does happen instead?
app just locks and shows all info in recent apps instead of clearing it
Screenshot_20220424-010547

Logcat containing just org.shadowice.flocke.andotp (logcat | grep org.shadowice.flocke.andotp)

04-24 00:47:32.044 28781 28781 E AndroidRuntime: Process: org.shadowice.flocke.andotp, PID: 28781
04-24 00:47:32.044 28781 28781 E AndroidRuntime: 	at org.shadowice.flocke.andotp.Database.EntryList.getEntry(EntryList.java:57)
04-24 00:47:32.044 28781 28781 E AndroidRuntime: 	at org.shadowice.flocke.andotp.View.EntriesCardAdapter.updateLastUsedAndFrequency(EntriesCardAdapter.java:504)
04-24 00:47:32.044 28781 28781 E AndroidRuntime: 	at org.shadowice.flocke.andotp.View.EntriesCardAdapter.hideEntry(EntriesCardAdapter.java:427)
04-24 00:47:32.044 28781 28781 E AndroidRuntime: 	at org.shadowice.flocke.andotp.View.EntriesCardAdapter.lambda$cardTapToRevealHandler$0$EntriesCardAdapter(EntriesCardAdapter.java:393)
04-24 00:47:32.044 28781 28781 E AndroidRuntime: 	at org.shadowice.flocke.andotp.View.-$$Lambda$EntriesCardAdapter$xYoDWYbxi20Y34iFfkurztJeFbM.run(Unknown Source:4)
04-24 13:33:53.070  2764  5583 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.shadowice.flocke.andotp/.Activities.MainActivity bnds=[564,66][700,272]} from uid 10232
04-24 13:33:53.198  2764  2824 I ActivityManager: Start proc 14732:org.shadowice.flocke.andotp/u0a395 for pre-top-activity {org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity}
04-24 13:33:53.299  2764  2806 I WindowManager: SURFACE show Surface(name=Splash Screen org.shadowice.flocke.andotp)/@0xb1a0304 on display:0
04-24 13:33:53.938  2764  3330 V WindowManager: Changing focus of displayId=0 to Window{f66082a u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity} from null
04-24 13:33:54.012  2764  2806 I WindowManager: SURFACE show Surface(name=org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity)/@0xca37282 on display:0
04-24 13:33:54.048  2764  5583 V WindowManager: Changing focus of displayId=0 to null from Window{f66082a u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity}
04-24 13:33:58.554  2764  2850 V WindowManager: Changing focus of displayId=0 to Window{f66082a u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity} from null
04-24 13:34:00.205  2764  3330 V WindowManager: Changing focus of displayId=0 to Window{4a39149 u0 PopupWindow:6bfd0ac} from Window{f66082a u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity}
04-24 13:34:01.255  2764  4924 I ActivityTaskManager: START u0 {cmp=org.shadowice.flocke.andotp/.Activities.SettingsActivity (has extras)} from uid 10395
04-24 13:34:01.278  2764  4882 V WindowManager: Changing focus of displayId=0 to Window{f66082a u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity} from Window{4a39149 u0 PopupWindow:6bfd0ac}
04-24 13:34:01.296  2764  5583 V WindowManager: Changing focus of displayId=0 to null from Window{f66082a u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity}
04-24 13:34:01.447  2764  5583 V WindowManager: Changing focus of displayId=0 to Window{f6e1d7b u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity} from null
04-24 13:34:01.543  2764  2806 I LaunchCheckinHandler: Displayed org.shadowice.flocke.andotp/.Activities.SettingsActivity,wp,ca,254
04-24 13:34:01.546  2764  2806 I WindowManager: SURFACE show Surface(name=org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity)/@0xb6af0ba on display:0
04-24 13:34:04.259  2764  3330 V WindowManager: Changing focus of displayId=0 to Window{4ef61f8 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity} from Window{f6e1d7b u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity}
04-24 13:34:04.306  2764  2806 I WindowManager: SURFACE show Surface(name=org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity)/@0xddccb2f on display:0
04-24 13:34:05.317  2764  5583 V WindowManager: Changing focus of displayId=0 to Window{f6e1d7b u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity} from Window{4ef61f8 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity EXITING}
04-24 13:34:06.036  2764  3330 V WindowManager: Changing focus of displayId=0 to Window{7033c58 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity} from Window{f6e1d7b u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity}
04-24 13:34:06.101  2764  2806 I WindowManager: SURFACE show Surface(name=org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity)/@0xfde5e9 on display:0
04-24 13:34:06.709  2764  3330 V WindowManager: Changing focus of displayId=0 to Window{f6e1d7b u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity} from Window{7033c58 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity EXITING}
04-24 13:34:06.728  2764  3330 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.shadowice.flocke.andotp' uid=10395
04-24 13:34:06.746  2764  3330 V WindowManager: Changing focus of displayId=0 to null from Window{f6e1d7b u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity}
04-24 13:34:06.857  2764  5583 V WindowManager: Changing focus of displayId=0 to Window{106c7f7 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity} from null
04-24 13:34:06.915  2764  2806 I WindowManager: SURFACE show Surface(name=org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity)/@0x9c75fce on display:0
04-24 13:34:08.216  2764  4924 W ActivityTaskManager: Duplicate finish request for r=ActivityRecord{1c443bd u0 org.shadowice.flocke.andotp/.Activities.SettingsActivity t1473 f}}
04-24 13:34:08.230  2764  5583 V WindowManager: Changing focus of displayId=0 to null from Window{106c7f7 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.SettingsActivity}
04-24 13:34:08.261  2764  5583 V WindowManager: Changing focus of displayId=0 to Window{f66082a u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity} from null
04-24 13:34:08.322  2764  2806 I WindowManager: SURFACE show Surface(name=org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity)/@0xc0e1cfb on display:0
04-24 13:34:08.326  2764  5583 V WindowManager: Changing focus of displayId=0 to null from Window{f66082a u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity EXITING}
04-24 13:34:08.406  2764  3330 V WindowManager: Changing focus of displayId=0 to Window{75054e2 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity} from null
04-24 13:34:08.569  2764  2806 I WindowManager: SURFACE show Surface(name=org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity)/@0x8fd6406 on display:0
04-24 13:34:09.933  2764  3330 V WindowManager: Changing focus of displayId=0 to null from Window{75054e2 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity}
04-24 13:34:20.743  2764  2850 V WindowManager: Changing focus of displayId=0 to Window{75054e2 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity} from null
04-24 13:34:20.858  2764  2806 I WindowManager: SURFACE show Surface(name=org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity)/@0x7bbe7a8 on display:0
04-24 13:34:20.891  2764  5542 V WindowManager: Changing focus of displayId=0 to null from Window{75054e2 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity}
04-24 13:34:25.333  2764  3330 V WindowManager: Changing focus of displayId=0 to Window{75054e2 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity} from null
04-24 13:34:30.080  2764  5560 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.shadowice.flocke.andotp' uid=10395
04-24 13:34:33.156  2764  3330 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.shadowice.flocke.andotp' uid=10395
04-24 13:34:35.348  2764  3330 V WindowManager: Changing focus of displayId=0 to Window{90839f9 u0 com.motorola.launcher3/com.android.launcher3.CustomizationPanelLauncher} from Window{75054e2 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity}
04-24 13:36:19.622  5202  5259 W DynamicVolume-DynamicVolumeService: onForegroundActivitiesChanged, record latest volume: a[packageName=org.shadowice.flocke.andotp, time=Sun Apr 24 13:36:19 GMT+02:00 2022, startVolume=4]
04-24 13:36:19.625 18069 18820 D BinderSender: onActive: uid=10395, packages=org.shadowice.flocke.andotp
04-24 13:36:19.657  2764  4882 V WindowManager: Changing focus of displayId=0 to Window{75054e2 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity} from null
04-24 13:36:19.781  2764  2806 I WindowManager: SURFACE show Surface(name=org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity)/@0x3cfb8a5 on display:0
04-24 13:36:19.801  2764  4882 V WindowManager: Changing focus of displayId=0 to null from Window{75054e2 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity}
04-24 13:36:23.859  2764  4882 V WindowManager: Changing focus of displayId=0 to Window{75054e2 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity} from null
04-24 13:36:23.930  5202  5259 W DynamicVolume-DynamicVolumeService: onForegroundActivitiesChanged, record latest volume: a[packageName=org.shadowice.flocke.andotp, time=Sun Apr 24 13:36:23 GMT+02:00 2022, startVolume=4]
04-24 13:36:24.055  7075  7075 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1907 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=org.shadowice.flocke.andotp fieldId=-1 fieldName=null extras=null}, false)
04-24 13:36:29.925  2764  4924 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.shadowice.flocke.andotp' uid=10395
04-24 13:36:32.566  2764  5573 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.shadowice.flocke.andotp' uid=10395
04-24 13:36:38.473  2764  5573 W BackupManagerService: [UserID:0] dataChanged but no participant pkg='org.shadowice.flocke.andotp' uid=10395
04-24 13:36:40.279 21399 21440 D CustomAppIcons: Get custom app icon: android.app.Application@1c036f2 | org.shadowice.flocke.andotp | org.shadowice.flocke.andotp.activities.mainactivity
04-24 13:36:40.283 21399 21440 D CustomAppIcons: Icon from CustomAppIcons: org.shadowice.flocke.andotp | org.shadowice.flocke.andotp.activities.mainactivity | null
04-24 13:36:41.016  2764  5542 V WindowManager: Changing focus of displayId=0 to Window{90839f9 u0 com.motorola.launcher3/com.android.launcher3.CustomizationPanelLauncher} from Window{75054e2 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity}
04-24 13:36:44.897 21399 21440 D CustomAppIcons: Get custom app icon: android.app.Application@1c036f2 | org.shadowice.flocke.andotp | org.shadowice.flocke.andotp.activities.mainactivity
04-24 13:36:44.897 21399 21440 D CustomAppIcons: Icon from CustomAppIcons: org.shadowice.flocke.andotp | org.shadowice.flocke.andotp.activities.mainactivity | null
04-24 13:36:46.826  5202  5259 W DynamicVolume-DynamicVolumeService: onForegroundActivitiesChanged, record latest volume: a[packageName=org.shadowice.flocke.andotp, time=Sun Apr 24 13:36:46 GMT+02:00 2022, startVolume=4]
04-24 13:36:46.850  2764  5544 V WindowManager: Changing focus of displayId=0 to Window{75054e2 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity} from null
04-24 13:36:46.940  2764  2806 I WindowManager: SURFACE show Surface(name=org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity)/@0x28dd485 on display:0
04-24 13:36:46.966  2764  5571 V WindowManager: Changing focus of displayId=0 to null from Window{75054e2 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity}
04-24 13:36:51.539  2764  4924 V WindowManager: Changing focus of displayId=0 to Window{75054e2 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity} from null
04-24 13:36:51.645  5202  5259 W DynamicVolume-DynamicVolumeService: onForegroundActivitiesChanged, record latest volume: a[packageName=org.shadowice.flocke.andotp, time=Sun Apr 24 13:36:51 GMT+02:00 2022, startVolume=4]
04-24 13:36:51.742  7075  7075 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1907 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=org.shadowice.flocke.andotp fieldId=-1 fieldName=null extras=null}, false)
04-24 13:36:54.496  2764  5552 V WindowManager: Changing focus of displayId=0 to null from Window{75054e2 u0 org.shadowice.flocke.andotp/org.shadowice.flocke.andotp.Activities.MainActivity}
04-24 13:36:54.645 21399 21440 D CustomAppIcons: Get custom app icon: android.app.Application@1c036f2 | org.shadowice.flocke.andotp | org.shadowice.flocke.andotp.activities.mainactivity
04-24 13:36:54.645 21399 21440 D CustomAppIcons: Icon from CustomAppIcons: org.shadowice.flocke.andotp | org.shadowice.flocke.andotp.activities.mainactivity | null

Full logcat (cut to 512 kb because of pastebin)

pastebin

Steps to reproduce

  • set navigation to gesture navigation (settings - system - gestures - system navigation - gesture navigation)
  • launch and unlock andotp
  • swipe up to go home
  • swipe up and hold to go to recent apps
  • andotp will show all info instead of clearing it

Recommendation from 5 seconds of googling

add FLAG_SECURE to the app to let the system hide everything and prevent screenshots automatically

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants