1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-01 06:22:55 +01:00

Caught an another exception that occurs when there's no access to the notifications

This commit is contained in:
TaaviE 2020-08-30 17:53:50 +03:00
parent c67ec5f71c
commit cbc99b49ab

View File

@ -691,7 +691,7 @@ public class NotificationListener extends NotificationListenerService {
mHandler.postDelayed(mSetMusicStateRunnable, 100);
return true;
} catch (NullPointerException | RemoteException e) {
} catch (NullPointerException | RemoteException | SecurityException e) {
return false;
}
}