Fix color filling on some Wifi pages

Since there's no edge-to-edge in the theme that Wifi page applied, it
caused the different colors filled in status bar and collapsing
toolbar area separately. It can be fixed by updating the theme to
Theme.SubSettings.

Fix: 187016196
Fix: 187021412
Test: visual verified
Change-Id: I686861c37acfb1eeddda1278cd70fa5bfd44cc1d
This commit is contained in:
Mill Chen
2021-05-05 18:50:25 +08:00
parent d7caf65594
commit 129036cf75

View File

@@ -141,7 +141,7 @@
<activity android:name=".network.telephony.MobileNetworkActivity" <activity android:name=".network.telephony.MobileNetworkActivity"
android:label="@string/network_settings_title" android:label="@string/network_settings_title"
android:theme="@style/Theme.Settings.Home" android:theme="@style/Theme.SubSettings"
android:exported="true" android:exported="true"
android:launchMode="singleTask"> android:launchMode="singleTask">
<intent-filter android:priority="1"> <intent-filter android:priority="1">
@@ -418,6 +418,7 @@
android:label="@string/apn_settings" android:label="@string/apn_settings"
android:launchMode="singleTask" android:launchMode="singleTask"
android:exported="true" android:exported="true"
android:theme="@style/Theme.SubSettings"
android:configChanges="orientation|keyboardHidden|screenSize"> android:configChanges="orientation|keyboardHidden|screenSize">
<intent-filter android:priority="1"> <intent-filter android:priority="1">
<action android:name="android.settings.APN_SETTINGS" /> <action android:name="android.settings.APN_SETTINGS" />
@@ -2059,6 +2060,7 @@
<activity android:name="Settings$ApnEditorActivity" <activity android:name="Settings$ApnEditorActivity"
android:configChanges="orientation|keyboardHidden|screenSize" android:configChanges="orientation|keyboardHidden|screenSize"
android:exported="true" android:exported="true"
android:theme="@style/Theme.SubSettings"
android:label="@string/apn_edit"> android:label="@string/apn_edit">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
@@ -2999,6 +3001,7 @@
<activity <activity
android:name="Settings$WifiCallingSettingsActivity" android:name="Settings$WifiCallingSettingsActivity"
android:exported="true" android:exported="true"
android:theme="@style/Theme.SubSettings"
android:label="@string/wifi_calling_settings_title"> android:label="@string/wifi_calling_settings_title">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />