mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Caught an another exception that occurs when there's no access to the notifications
This commit is contained in:
parent
c67ec5f71c
commit
cbc99b49ab
@ -691,7 +691,7 @@ public class NotificationListener extends NotificationListenerService {
|
|||||||
mHandler.postDelayed(mSetMusicStateRunnable, 100);
|
mHandler.postDelayed(mSetMusicStateRunnable, 100);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
} catch (NullPointerException | RemoteException e) {
|
} catch (NullPointerException | RemoteException | SecurityException e) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user