Avoid split action bar when it only has one item. DO NOT MERGE.
Bug: 7632944 Change-Id: I055564b4f8d2a3fc97346e13e1d8818196a8f988
This commit is contained in:
@@ -252,7 +252,9 @@
|
|||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity-alias>
|
</activity-alias>
|
||||||
|
|
||||||
<activity android:name="ApnSettings" android:label="@string/apn_settings"
|
<activity android:name="ApnSettings"
|
||||||
|
android:label="@string/apn_settings"
|
||||||
|
android:uiOptions="none"
|
||||||
android:configChanges="orientation|keyboardHidden|screenSize"
|
android:configChanges="orientation|keyboardHidden|screenSize"
|
||||||
android:launchMode="singleTask">
|
android:launchMode="singleTask">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
@@ -304,6 +306,7 @@
|
|||||||
|
|
||||||
<activity android:name="Settings$TetherSettingsActivity"
|
<activity android:name="Settings$TetherSettingsActivity"
|
||||||
android:label="@string/tether_settings_title_all"
|
android:label="@string/tether_settings_title_all"
|
||||||
|
android:uiOptions="none"
|
||||||
android:taskAffinity=""
|
android:taskAffinity=""
|
||||||
android:excludeFromRecents="true">
|
android:excludeFromRecents="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
@@ -325,6 +328,7 @@
|
|||||||
<!-- Keep compatibility with old shortcuts. -->
|
<!-- Keep compatibility with old shortcuts. -->
|
||||||
<activity-alias android:name=".TetherSettings"
|
<activity-alias android:name=".TetherSettings"
|
||||||
android:label="@string/tether_settings_title_all"
|
android:label="@string/tether_settings_title_all"
|
||||||
|
android:uiOptions="none"
|
||||||
android:clearTaskOnLaunch="true"
|
android:clearTaskOnLaunch="true"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:targetActivity="Settings$TetherSettingsActivity">
|
android:targetActivity="Settings$TetherSettingsActivity">
|
||||||
@@ -763,6 +767,7 @@
|
|||||||
|
|
||||||
<activity android:name="Settings$LocationSettingsActivity"
|
<activity android:name="Settings$LocationSettingsActivity"
|
||||||
android:label="@string/location_settings_title"
|
android:label="@string/location_settings_title"
|
||||||
|
android:uiOptions="none"
|
||||||
android:configChanges="orientation|keyboardHidden|screenSize"
|
android:configChanges="orientation|keyboardHidden|screenSize"
|
||||||
android:taskAffinity=""
|
android:taskAffinity=""
|
||||||
android:excludeFromRecents="true">
|
android:excludeFromRecents="true">
|
||||||
|
@@ -393,7 +393,11 @@ public class Settings extends PreferenceActivity
|
|||||||
VpnSettings.class.getName().equals(fragmentName) ||
|
VpnSettings.class.getName().equals(fragmentName) ||
|
||||||
SecuritySettings.class.getName().equals(fragmentName) ||
|
SecuritySettings.class.getName().equals(fragmentName) ||
|
||||||
InstalledAppDetails.class.getName().equals(fragmentName) ||
|
InstalledAppDetails.class.getName().equals(fragmentName) ||
|
||||||
ChooseLockGenericFragment.class.getName().equals(fragmentName)) {
|
ChooseLockGenericFragment.class.getName().equals(fragmentName) ||
|
||||||
|
TetherSettings.class.getName().equals(fragmentName) ||
|
||||||
|
ApnSettings.class.getName().equals(fragmentName) ||
|
||||||
|
LocationSettings.class.getName().equals(fragmentName) ||
|
||||||
|
ZonePicker.class.getName().equals(fragmentName)) {
|
||||||
intent.putExtra(EXTRA_CLEAR_UI_OPTIONS, true);
|
intent.putExtra(EXTRA_CLEAR_UI_OPTIONS, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user