From d00481bef24176e193b3bf414199e9b703d97d82 Mon Sep 17 00:00:00 2001 From: Kevin Hufnagle Date: Mon, 19 Sep 2016 15:25:55 -0700 Subject: [PATCH] docs: Fixed constants in manifest sample related to battery level. Bug: 31064851 Change-Id: Ia4b07172984773dc8a0cac8fbe85e412f3381886 --- .../monitoring-device-state/battery-monitoring.jd | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/html/training/monitoring-device-state/battery-monitoring.jd b/docs/html/training/monitoring-device-state/battery-monitoring.jd index db75aaf1f8998..bab9c9cf6baf8 100644 --- a/docs/html/training/monitoring-device-state/battery-monitoring.jd +++ b/docs/html/training/monitoring-device-state/battery-monitoring.jd @@ -141,10 +141,11 @@ receiver. The receiver is triggered whenever the device battery becomes low or e condition by listening for {@link android.content.Intent#ACTION_BATTERY_LOW} and {@link android.content.Intent#ACTION_BATTERY_OKAY}.

-
<receiver android:name=".BatteryLevelReceiver">
-<intent-filter>
-  <action android:name="android.intent.action.ACTION_BATTERY_LOW"/>
-  <action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
+
+<receiver android:name=".BatteryLevelReceiver">
+  <intent-filter>
+    <action android:name="android.intent.action.BATTERY_LOW"/>
+    <action android:name="android.intent.action.BATTERY_OKAY"/>
   </intent-filter>
 </receiver>