ExtViews: Catch SecurityException due to bad interface
When interfaces get obfucsated, bad things happen. Change-Id: I9b0829853da536f4047dab8223c97f993a399645 TICKET: CYNGNOS-2916
This commit is contained in:
parent
0b76a46515
commit
9c42d415b9
@ -127,8 +127,8 @@ public class KeyguardExternalView extends View implements ViewTreeObserver.OnPre
|
||||
} else {
|
||||
Log.e(TAG, "Unable to get external view provider factory");
|
||||
}
|
||||
} catch (RemoteException e) {
|
||||
e.printStackTrace();
|
||||
} catch (RemoteException | SecurityException e) {
|
||||
Log.e(TAG, "Unable to connect to service", e);
|
||||
}
|
||||
// We should unbind the service if we failed to connect to the provider
|
||||
if (mService != service && service != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user