Loading telephony/java/android/telephony/TelephonyManager.java +6 −1 Original line number Diff line number Diff line Loading @@ -13425,7 +13425,12 @@ public class TelephonyManager { IBooleanConsumer aidlConsumer = callback == null ? null : new IBooleanConsumer.Stub() { @Override public void accept(boolean result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> callback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } }; telephony/java/android/telephony/ims/ImsMmTelManager.java +24 −4 Original line number Diff line number Diff line Loading @@ -444,7 +444,12 @@ public class ImsMmTelManager implements RegistrationManager { iTelephony.getImsMmTelRegistrationState(mSubId, new IIntegerConsumer.Stub() { @Override public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> stateCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } }); } catch (RemoteException e) { Loading Loading @@ -485,7 +490,12 @@ public class ImsMmTelManager implements RegistrationManager { new IIntegerConsumer.Stub() { @Override public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> transportTypeCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } }); } catch (RemoteException e) { Loading Loading @@ -802,7 +812,12 @@ public class ImsMmTelManager implements RegistrationManager { iTelephony.isMmTelCapabilitySupported(mSubId, new IIntegerConsumer.Stub() { @Override public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> callback.accept(result == 1)); } finally { Binder.restoreCallingIdentity(identity); } } }, capability, transportType); } catch (ServiceSpecificException sse) { Loading Loading @@ -1348,7 +1363,12 @@ public class ImsMmTelManager implements RegistrationManager { iTelephony.getImsMmTelFeatureState(mSubId, new IIntegerConsumer.Stub() { @Override public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> callback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } }); } catch (ServiceSpecificException sse) { Loading telephony/java/android/telephony/ims/ImsRcsManager.java +12 −2 Original line number Diff line number Diff line Loading @@ -299,7 +299,12 @@ public class ImsRcsManager { imsRcsController.getImsRcsRegistrationState(mSubId, new IIntegerConsumer.Stub() { @Override public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> stateCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } }); } catch (RemoteException e) { Loading Loading @@ -343,7 +348,12 @@ public class ImsRcsManager { new IIntegerConsumer.Stub() { @Override public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> transportTypeCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } }); } catch (RemoteException e) { Loading Loading
telephony/java/android/telephony/TelephonyManager.java +6 −1 Original line number Diff line number Diff line Loading @@ -13425,7 +13425,12 @@ public class TelephonyManager { IBooleanConsumer aidlConsumer = callback == null ? null : new IBooleanConsumer.Stub() { @Override public void accept(boolean result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> callback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } };
telephony/java/android/telephony/ims/ImsMmTelManager.java +24 −4 Original line number Diff line number Diff line Loading @@ -444,7 +444,12 @@ public class ImsMmTelManager implements RegistrationManager { iTelephony.getImsMmTelRegistrationState(mSubId, new IIntegerConsumer.Stub() { @Override public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> stateCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } }); } catch (RemoteException e) { Loading Loading @@ -485,7 +490,12 @@ public class ImsMmTelManager implements RegistrationManager { new IIntegerConsumer.Stub() { @Override public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> transportTypeCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } }); } catch (RemoteException e) { Loading Loading @@ -802,7 +812,12 @@ public class ImsMmTelManager implements RegistrationManager { iTelephony.isMmTelCapabilitySupported(mSubId, new IIntegerConsumer.Stub() { @Override public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> callback.accept(result == 1)); } finally { Binder.restoreCallingIdentity(identity); } } }, capability, transportType); } catch (ServiceSpecificException sse) { Loading Loading @@ -1348,7 +1363,12 @@ public class ImsMmTelManager implements RegistrationManager { iTelephony.getImsMmTelFeatureState(mSubId, new IIntegerConsumer.Stub() { @Override public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> callback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } }); } catch (ServiceSpecificException sse) { Loading
telephony/java/android/telephony/ims/ImsRcsManager.java +12 −2 Original line number Diff line number Diff line Loading @@ -299,7 +299,12 @@ public class ImsRcsManager { imsRcsController.getImsRcsRegistrationState(mSubId, new IIntegerConsumer.Stub() { @Override public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> stateCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } }); } catch (RemoteException e) { Loading Loading @@ -343,7 +348,12 @@ public class ImsRcsManager { new IIntegerConsumer.Stub() { @Override public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> transportTypeCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } }); } catch (RemoteException e) { Loading