Android 4.4 Permission Regressions
Edison Wang tweeted a change
in the behavior of
From the SDK standpoint, this was a
broadcast that developers were meant to consume, by having a
listening for it. However, many blog posts, StackOverflow answers, and the like
advocated having apps send that broadcast, as it triggered a complete re-scan
of external storage, for the purposes of
Sending such a broadcast would trigger warnings in LogCat in Android 4.3, but now, as
of Android 4.4, I can confirm that your app will crash with a
for trying to send it. Instead, use
to request indexing of new files.
Also, Sven Knispel reported
BATTERY_STATS permission is now
This should impact relatively few applications, as I am not aware that
was used for anything that is part of the Android SDK. However, if you were breaking
past the boundaries of the SDK and poking at some battery details by one means
or another, note that this may no longer work.
Stuck on an Android problem? Subscribers have access to live office hours chats with Mark Murphy, to help you work through your challenges!