OSDN Git Service

Revert "Remove dynamic summary from Security Patch info"
authorFan Zhang <zhfan@google.com>
Tue, 6 Jun 2017 04:07:52 +0000 (04:07 +0000)
committerFan Zhang <zhfan@google.com>
Tue, 6 Jun 2017 04:13:04 +0000 (04:13 +0000)
The change breaks build

Fix: 62359766
Bug: 36101902

This reverts commit 2b562f84b6c317711fdb70db5b4d3cb9953ed536.

Change-Id: Ie712d471f1fa9858b65fd1c0b111405dfb49eb38

res/values/strings.xml
res/xml/device_info_settings.xml

index b7b87bb..dc7e567 100644 (file)
@@ -31,6 +31,8 @@
     <string name="dlg_switch">Switch</string>
 
     <!-- Device Info --> <skip />
+    <!-- Device Info screen. Used for a status item's value when the proper value is not known -->
+    <string name="device_info_default">Unknown</string>
     <!-- [CHAR LIMIT=NONE] Device Info screen. Countdown for user taps to enable development settings -->
     <plurals name="show_dev_countdown">
         <item quantity="one">You are now <xliff:g id="step_count">%1$d</xliff:g> step away from being a developer.</item>
index 230f612..7482031 100644 (file)
@@ -74,7 +74,7 @@
         <!-- Security patch level -->
         <Preference android:key="security_patch"
                 android:title="@string/security_patch"
-                android:summary="@string/summary_placeholder">
+                android:summary="@string/device_info_default">
                 <intent android:action="android.intent.action.VIEW"
                         android:data="https://source.android.com/security/bulletin/" />
         </Preference>