From 132bb860701fac28c8026624c34fe09407a0cc00 Mon Sep 17 00:00:00 2001 From: naoyuki kato Date: Tue, 22 Nov 2016 13:27:11 +0900 Subject: [PATCH] Prevent data usage dialog from being displayed again The data usage dialog is displayed every time rotating the device. To solve this issue, prevent NetworkOverLimitActivity from being re-created when rotating the device. Bug: 36801016 Test: manual - show NetworkOverLimitActivity and rotate the device Change-Id: I51429aa49157756107e9b3fa9d450f82f894dcab --- packages/SystemUI/AndroidManifest.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml index 3ee844cd8ef2e..8005ea7a33a8b 100644 --- a/packages/SystemUI/AndroidManifest.xml +++ b/packages/SystemUI/AndroidManifest.xml @@ -358,6 +358,7 @@ android:finishOnCloseSystemDialogs="true" android:launchMode="singleTop" android:taskAffinity="com.android.systemui.net" + android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation" android:excludeFromRecents="true" />