• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

packages/apps/Settings


コミットメタ情報

リビジョンdf1728c57998db705ca5abfdab19e3f22adfa738 (tree)
日時2016-09-26 15:19:11
作者Steve Kondik <steve@cyng...>
コミッター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

変更サマリ

差分

--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -53,6 +53,9 @@
5353 <string name="build_date">Build date</string>
5454 <string name="build_date_default">2015-01-01-0000</string>
5555
56+ <!-- CM Updater -->
57+ <string name="cmupdate_settings_title">CyanogenMod updates</string>
58+
5659 <!-- Names of categories of app ops tabs - extension of AOSP -->
5760 <string name="app_ops_categories_location">Location</string>
5861 <string name="app_ops_categories_personal">Personal</string>
--- a/res/xml/device_info_settings.xml
+++ b/res/xml/device_info_settings.xml
@@ -15,6 +15,7 @@
1515 -->
1616
1717 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18+ xmlns:cm="http://schemas.android.com/apk/res/cyanogenmod.platform"
1819 android:title="@string/about_settings">
1920
2021 <!-- System update settings - launches activity -->
@@ -32,6 +33,17 @@
3233 android:targetClass="@string/additional_system_update_menu" />
3334 </PreferenceScreen>
3435
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+
3547 <!-- Device status - launches activity -->
3648 <PreferenceScreen android:key="status_info"
3749 android:title="@string/device_status"