Use BinderDeathDispatcher for alarm listeners
This ensures only one JNI strong reference for the death recipient when the same binder is used for multiple linkToDeath calls. Test: atest CtsAlarmManagerTestCases atest FrameworksCoreTests:BinderDeathDispatcherTest atest FrameworksMockingServicesTests:AlarmManagerServiceTest Bug: 186792832 Change-Id: Ieea2d8f4e495a4c4687378db9d0b8c6949a0406a Merged-In: Ieea2d8f4e495a4c4687378db9d0b8c6949a0406a
Loading
Please register or sign in to comment