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); mHandler.postDelayed(mSetMusicStateRunnable, 100);
return true; return true;
} catch (NullPointerException | RemoteException e) { } catch (NullPointerException | RemoteException | SecurityException e) {
return false; return false;
} }
} }