Apply FooterPreference to the sub-pages of Special app access
Affected pages: - Display over other apps - Modify system settings - Picture-in-picture - Install unknown apps - Usage access - Wi-Fi control Bug: 179234542 Test: robotests & visual Change-Id: Icac09d0cf2b92cb5b74a8c5629e211108a78cdb0
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<com.android.settings.widget.FilterTouchesSwitchPreference
|
||||
android:key="app_ops_settings_switch" />
|
||||
|
||||
<Preference
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:key="app_ops_settings_description"
|
||||
android:selectable="false" />
|
||||
|
||||
|
@@ -22,9 +22,9 @@
|
||||
android:key="app_ops_settings_switch"
|
||||
android:title="@string/change_wifi_state_app_detail_switch"/>
|
||||
|
||||
<Preference
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:key="app_ops_settings_preference"
|
||||
android:summary="@string/change_wifi_state_app_detail_summary"
|
||||
android:title="@string/change_wifi_state_app_detail_summary"
|
||||
android:selectable="false"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
@@ -22,8 +22,8 @@
|
||||
android:key="app_ops_settings_switch"
|
||||
android:title="@string/permit_draw_overlay"/>
|
||||
|
||||
<Preference
|
||||
android:summary="@string/allow_overlay_description"
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:title="@string/allow_overlay_description"
|
||||
android:selectable="false"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
@@ -21,9 +21,9 @@
|
||||
android:key="external_sources_settings_switch"
|
||||
android:title="@string/external_source_switch_title" />
|
||||
|
||||
<Preference
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:key="external_sources_settings_description"
|
||||
android:summary="@string/install_all_warning"
|
||||
android:title="@string/install_all_warning"
|
||||
android:selectable="false" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
@@ -22,8 +22,8 @@
|
||||
android:key="app_ops_settings_switch"
|
||||
android:title="@string/picture_in_picture_app_detail_switch"/>
|
||||
|
||||
<Preference
|
||||
android:summary="@string/picture_in_picture_app_detail_summary"
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:title="@string/picture_in_picture_app_detail_summary"
|
||||
android:selectable="false"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
@@ -22,8 +22,8 @@
|
||||
android:key="app_ops_settings_switch"
|
||||
android:title="@string/permit_write_settings"/>
|
||||
|
||||
<Preference
|
||||
android:summary="@string/write_settings_description"
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:title="@string/write_settings_description"
|
||||
android:selectable="false"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
@@ -74,7 +74,7 @@ public class UsageAccessDetails extends AppInfoWithHeader implements OnPreferenc
|
||||
|
||||
getPreferenceScreen().setTitle(R.string.usage_access);
|
||||
mSwitchPref.setTitle(R.string.permit_usage_access);
|
||||
mUsageDesc.setSummary(R.string.usage_access_description);
|
||||
mUsageDesc.setTitle(R.string.usage_access_description);
|
||||
|
||||
mSwitchPref.setOnPreferenceChangeListener(this);
|
||||
|
||||
|
Reference in New Issue
Block a user