packages/apps/Settings
Revision | df1728c57998db705ca5abfdab19e3f22adfa738 (tree) |
---|---|
Time | 2016-09-26 15:19:11 |
Author | Steve Kondik <steve@cyng...> |
Commiter | Steve Kondik |
Settings: Add CM Updater
Squashed commit of the following:
Author: DvTonder <david.vantonder@gmail.com>
Settings: Add Updater and Changelog
Change-Id: I8cf09962d9ba667bcdba78d7214fd6b5bb0feedc
Author: Jorge Ruesga <jorge@ruesga.com>
settings: hide settings of disabled components
Change-Id: I977bd0c9668b479773802f99d03ecd1072e12f75
JIRA: CYAN-3552
Issue: https://jira.cyanogenmod.org/browse/CYAN-3552
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Author: Michael Bestas <mikeioannina@gmail.com>
Move CM updater & remove summary
* Move CM Updater to the top, like the fota app
* Use android's default 'System updates' empty summary
Change-Id: Ia3358397be97bc0ac19dd73598d053eb29efe31d
Change-Id: I8cf09962d9ba667bcdba78d7214fd6b5bb0feedc
@@ -53,6 +53,9 @@ | ||
53 | 53 | <string name="build_date">Build date</string> |
54 | 54 | <string name="build_date_default">2015-01-01-0000</string> |
55 | 55 | |
56 | + <!-- CM Updater --> | |
57 | + <string name="cmupdate_settings_title">CyanogenMod updates</string> | |
58 | + | |
56 | 59 | <!-- Names of categories of app ops tabs - extension of AOSP --> |
57 | 60 | <string name="app_ops_categories_location">Location</string> |
58 | 61 | <string name="app_ops_categories_personal">Personal</string> |
@@ -15,6 +15,7 @@ | ||
15 | 15 | --> |
16 | 16 | |
17 | 17 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
18 | + xmlns:cm="http://schemas.android.com/apk/res/cyanogenmod.platform" | |
18 | 19 | android:title="@string/about_settings"> |
19 | 20 | |
20 | 21 | <!-- System update settings - launches activity --> |
@@ -32,6 +33,17 @@ | ||
32 | 33 | android:targetClass="@string/additional_system_update_menu" /> |
33 | 34 | </PreferenceScreen> |
34 | 35 | |
36 | + <!-- CyanogenMod Updates --> | |
37 | + <cyanogenmod.preference.SelfRemovingPreference android:key="cm_updates" | |
38 | + android:title="@string/cmupdate_settings_title" | |
39 | + android:summary="@string/system_update_settings_list_item_summary" | |
40 | + cm:requiresOwner="true" | |
41 | + cm:requiresPackage="com.cyanogenmod.updater"> | |
42 | + <intent android:action="android.intent.action.MAIN" | |
43 | + android:targetPackage="com.cyanogenmod.updater" | |
44 | + android:targetClass="com.cyanogenmod.updater.UpdatesSettings" /> | |
45 | + </cyanogenmod.preference.SelfRemovingPreference> | |
46 | + | |
35 | 47 | <!-- Device status - launches activity --> |
36 | 48 | <PreferenceScreen android:key="status_info" |
37 | 49 | android:title="@string/device_status" |