lets block Back button to avoid some glitches
This commit is contained in:
parent
417deef01c
commit
fecb6ae0e3
2 changed files with 6 additions and 1 deletions
|
@ -39,8 +39,12 @@
|
|||
|
||||
<activity
|
||||
android:name=".activities.MainActivity"
|
||||
android:clearTaskOnLaunch="true"
|
||||
android:configChanges="orientation|keyboardHidden|screenSize"
|
||||
android:excludeFromRecents="true"
|
||||
android:exported="true"
|
||||
android:launchMode="singleTop"
|
||||
android:noHistory="true"
|
||||
android:screenOrientation="portrait"
|
||||
android:theme="@style/LauncherTheme">
|
||||
|
||||
|
|
|
@ -182,7 +182,8 @@ class MainActivity : SimpleActivity(), FlingListener {
|
|||
} else if (home_screen_grid.resize_frame.isVisible) {
|
||||
home_screen_grid.hideResizeLines()
|
||||
} else {
|
||||
super.onBackPressed()
|
||||
// this is a home launcher app, avoid glitching by pressing Back
|
||||
//super.onBackPressed()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue