Merge "docs: Fixed constants in manifest sample related to battery level." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cc717cdb01
@@ -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