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

Skip to content
Commit a896ae2f authored by Alexander Martinz's avatar Alexander Martinz Committed by Bruno Martins
Browse files

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's avatarAlexander Martinz <amartinz@shiftphones.com>
parent 56ae82a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment