mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Handle uiMode changes in QuickstepLauncher
- Added uiMode in handled configChanges for QuickstepLauncher, NexusLauncherActivity and RecentsActivity - This avoids Launcher from being recreated when swithching from an app in driving mode (e.g. Maps), which causes massive jank - Launcher layout is affected when driving mode changes, so a recreation is ujnnecessary - Light/dark mode changes still causes Launcher to create as expected Fix: 339747262 Test: Swtich from driving mode app to another or home in 1p and 3p laucnher Test: Switch light/dark mode and Launcher is updated correctly Flag: EXEMPT bugfix Change-Id: I3d52f0625b580a5b5a1ddbbb487c271a4bb0152b
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
android:stateNotNeeded="true"
|
||||
android:windowSoftInputMode="adjustPan"
|
||||
android:screenOrientation="unspecified"
|
||||
android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
|
||||
android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize|uiMode"
|
||||
android:resizeableActivity="true"
|
||||
android:resumeWhilePausing="true"
|
||||
android:taskAffinity=""
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
android:stateNotNeeded="true"
|
||||
android:theme="@style/LauncherTheme"
|
||||
android:screenOrientation="behind"
|
||||
android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
|
||||
android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize|uiMode"
|
||||
android:resizeableActivity="true"
|
||||
android:resumeWhilePausing="true"
|
||||
android:enableOnBackInvokedCallback="false"
|
||||
|
||||
Reference in New Issue
Block a user