Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c3957db authored by ykhung's avatar ykhung Committed by Zaiyue Xue
Browse files

Add configChanges for PowerUsageSummaryActivity for rotation

Add configChanges to avoid the battery settings main page is recreated while rotating the device to improve rotation performance, but we still need to investigate the PowerUsageAdvanced re-create case

Bug: 271380711
Test: presubmit & manual
Change-Id: I7629de89d9d23b08fc82369e1f9f79081e99625a
parent de100183
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3073,7 +3073,8 @@
            android:name="Settings$PowerUsageSummaryActivity"
            android:label="@string/power_usage_summary_title"
            android:exported="true"
            android:icon="@drawable/ic_homepage_battery">
            android:icon="@drawable/ic_homepage_battery"
            android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize">
            <intent-filter android:priority="1">
                <action android:name="android.intent.action.POWER_USAGE_SUMMARY" />
                <category android:name="android.intent.category.DEFAULT" />