mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Caught an another exception that occurs when there's no access to the notifications
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user