You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't the intent filter be for "android.intent.action.BATTERY_LOW" instead
of "android.intent.action.ACTION_BATTERY_LOW"?
Intent.ACTION_BATTERY_LOW is the constant, but its value is
android.intent.action.BATTERY_LOW.
"android.intent.action.ACTION_BATTERY_LOW" does not react to any intents on my
phone, while "android.intent.action.BATTERY_LOW" does.
Original issue reported on code.google.com by icyerasor on 29 Jun 2011 at 10:22
The text was updated successfully, but these errors were encountered:
I verified this too.
When running with the original filter:
<action android:name="android.intent.action.ACTION_BATTERY_LOW"/>
<action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
I did not receive any notification in the stock receiver, after switching to:
<action android:name="android.intent.action.BATTERY_LOW" />
<action android:name="android.intent.action.BATTERY_OKAY" />
Everything worked as expected.
Please correct this (also in your blog post :
http://android-developers.blogspot.com.br/2011/06/deep-dive-into-location.html)
has led to great confusion !
Original issue reported on code.google.com by
icyerasor
on 29 Jun 2011 at 10:22The text was updated successfully, but these errors were encountered: