Merge "The telephonyDisplayInfo is wrong after doing compatibility." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f30a4cd112
@@ -1889,11 +1889,12 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
|
|||||||
try {
|
try {
|
||||||
if (!mConfigurationProvider.isDisplayInfoNrAdvancedSupported(
|
if (!mConfigurationProvider.isDisplayInfoNrAdvancedSupported(
|
||||||
r.callingPackage, Binder.getCallingUserHandle())) {
|
r.callingPackage, Binder.getCallingUserHandle())) {
|
||||||
telephonyDisplayInfo =
|
r.callback.onDisplayInfoChanged(
|
||||||
getBackwardCompatibleTelephonyDisplayInfo(
|
getBackwardCompatibleTelephonyDisplayInfo(
|
||||||
telephonyDisplayInfo);
|
telephonyDisplayInfo));
|
||||||
}
|
} else {
|
||||||
r.callback.onDisplayInfoChanged(telephonyDisplayInfo);
|
r.callback.onDisplayInfoChanged(telephonyDisplayInfo);
|
||||||
|
}
|
||||||
} catch (RemoteException ex) {
|
} catch (RemoteException ex) {
|
||||||
mRemoveList.add(r.binder);
|
mRemoveList.add(r.binder);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user