Eleven: prevent NPEs when requesting permissions
If Eleven is started for the first time and does not have
all permissions pregranted, it tries to update ui elements such
as playback controls, which do not exist yet and crashes.
When we request permissions, we need to skip automated binding to the
service to ensure everything is set up properly and call it manually
once we proceed the flow.
Test: Open Eleven in Android Studio and run it for the first time.
Change-Id: I8dc0c147a4ce89400098392367d06571fa3ada29
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2 files changed