Merge "[DO NOT MERGE] Check CellInfoCallback Detail for Null" into qt-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
766c011ff0
@@ -5353,7 +5353,8 @@ public class TelephonyManager {
|
|||||||
public void onError(int errorCode, android.os.ParcelableException detail) {
|
public void onError(int errorCode, android.os.ParcelableException detail) {
|
||||||
Binder.withCleanCallingIdentity(() ->
|
Binder.withCleanCallingIdentity(() ->
|
||||||
executor.execute(() -> callback.onError(
|
executor.execute(() -> callback.onError(
|
||||||
errorCode, detail.getCause())));
|
errorCode,
|
||||||
|
detail == null ? null : detail.getCause())));
|
||||||
}
|
}
|
||||||
}, getOpPackageName());
|
}, getOpPackageName());
|
||||||
|
|
||||||
@@ -5393,7 +5394,8 @@ public class TelephonyManager {
|
|||||||
public void onError(int errorCode, android.os.ParcelableException detail) {
|
public void onError(int errorCode, android.os.ParcelableException detail) {
|
||||||
Binder.withCleanCallingIdentity(() ->
|
Binder.withCleanCallingIdentity(() ->
|
||||||
executor.execute(() -> callback.onError(
|
executor.execute(() -> callback.onError(
|
||||||
errorCode, detail.getCause())));
|
errorCode,
|
||||||
|
detail == null ? null : detail.getCause())));
|
||||||
}
|
}
|
||||||
}, getOpPackageName(), workSource);
|
}, getOpPackageName(), workSource);
|
||||||
} catch (RemoteException ex) {
|
} catch (RemoteException ex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user