docs: Fixed constants in manifest sample related to battery level. am: d00481bef2
am: 8d12a2a1c9
Change-Id: Ic14678197693a1b8997a999b626784845c25127c
This commit is contained in:
@@ -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
|
condition by listening for {@link android.content.Intent#ACTION_BATTERY_LOW} and {@link
|
||||||
android.content.Intent#ACTION_BATTERY_OKAY}.</p>
|
android.content.Intent#ACTION_BATTERY_OKAY}.</p>
|
||||||
|
|
||||||
<pre><receiver android:name=".BatteryLevelReceiver">
|
<pre>
|
||||||
<intent-filter>
|
<receiver android:name=".BatteryLevelReceiver">
|
||||||
<action android:name="android.intent.action.ACTION_BATTERY_LOW"/>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
|
<action android:name="android.intent.action.BATTERY_LOW"/>
|
||||||
|
<action android:name="android.intent.action.BATTERY_OKAY"/>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver></pre>
|
</receiver></pre>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user