Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d00481be authored by Kevin Hufnagle's avatar Kevin Hufnagle
Browse files

docs: Fixed constants in manifest sample related to battery level.

Bug: 31064851
Change-Id: Ia4b07172984773dc8a0cac8fbe85e412f3381886
parent e70ebd69
Loading
Loading
Loading
Loading
+5 −4
Original line number Original line Diff line number Diff line
@@ -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>&lt;receiver android:name=".BatteryLevelReceiver">
<pre>
&lt;receiver android:name=".BatteryLevelReceiver">
  &lt;intent-filter>
  &lt;intent-filter>
  &lt;action android:name="android.intent.action.ACTION_BATTERY_LOW"/>
    &lt;action android:name="android.intent.action.BATTERY_LOW"/>
  &lt;action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
    &lt;action android:name="android.intent.action.BATTERY_OKAY"/>
  &lt;/intent-filter>
  &lt;/intent-filter>
&lt;/receiver></pre>
&lt;/receiver></pre>