View Single Post
Old 11-28-2022, 10:30 AM   #23
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,992
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Mmm, the old gestures conflict a bit with the navbar.
I haven't looked, but I don't see yet how to disable the navbar.
I don't need no stinkin' navbar.

Oh, also, if you are using an older app (API 23, Marshmallow or earlier) you get strange black bars on the side as your app gets only part of the screen.

Maybe your app is trying to be too egalitarian. You just have to change the target SDK.
Code:
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="25"/>
But note that this also causes problems with FileUriExposedException

Also, this does not work (even after reboot) as Onyx has screwed everything up:
Code:
$ settings put secure navigation_mode 2
Semi unrelated: Want some fun?
Code:
# pm enable com.android.systemui/com.android.systemui.tuner.TunerActivity
# am start -n com.android.systemui/com.android.systemui.tuner.TunerActivity
The Navigation preferences for other Onyx is here:
https://help.boox.com/hc/en-us/artic...on-Preferences
All I had to do was temporarily (since I normally have all the KCB stuff disabled):
Code:
# pm enable com.onyx
# am start -a com.onyx.action.SETTING
<then go to Gestures and hit NavBar, then hit Gestures>
# pm disable com.onyx
The settings are stored in /data/data/com.onyx/files/mmkv/KCB
Android has SQLite databases (*.db) and XML files for storing configurations and stuff.
So Onyx decided to use MMKV just to be different/annoying.
The actual implementation of gestures/navbar is in SystemUI.apk

And it seems to override apps that naturally want to be in landscape mode. Sigh.
Attached Thumbnails
Click image for larger version

Name:	api23.png
Views:	113
Size:	106.2 KB
ID:	198073   Click image for larger version

Name:	api25.png
Views:	112
Size:	102.9 KB
ID:	198074  

Last edited by Renate; 11-28-2022 at 04:42 PM.
Renate is offline   Reply With Quote