Merge "[DO NOT MERGE] Check CellInfoCallback Detail for Null"
am: 994f656312
Change-Id: I04af3edc7430db678bb1fb3f53d3f245d16f5f7d
This commit is contained in:
@@ -5482,7 +5482,8 @@ public class TelephonyManager {
|
||||
public void onError(int errorCode, android.os.ParcelableException detail) {
|
||||
Binder.withCleanCallingIdentity(() ->
|
||||
executor.execute(() -> callback.onError(
|
||||
errorCode, detail.getCause())));
|
||||
errorCode,
|
||||
detail == null ? null : detail.getCause())));
|
||||
}
|
||||
}, getOpPackageName());
|
||||
|
||||
@@ -5522,7 +5523,8 @@ public class TelephonyManager {
|
||||
public void onError(int errorCode, android.os.ParcelableException detail) {
|
||||
Binder.withCleanCallingIdentity(() ->
|
||||
executor.execute(() -> callback.onError(
|
||||
errorCode, detail.getCause())));
|
||||
errorCode,
|
||||
detail == null ? null : detail.getCause())));
|
||||
}
|
||||
}, getOpPackageName(), workSource);
|
||||
} catch (RemoteException ex) {
|
||||
|
||||
Reference in New Issue
Block a user