mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Caught an another exception that occurs when there's no access to the notifications
This commit is contained in:
@@ -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