[Telephony] PhoneStateListener redesign for new event
1. Add int EVENT_* and expose these as @SystemApi 2. Add listener interface 3. Deprecated LISTEN_* Bug: 167684594 Test: atest TelephonyManagerTest#testRegisterPhoneStateListener Change-Id: Icfb2f892a18c4fd101473aed5c87c9d7a4bd3f18 [Telephony] PhoneStateListener redesign - use Set<Integer> instead of long - Remove old listen api - Use listenWithEventList for new design Bug: 167684594 Test: atest TelephonyManagerTest#testRegisterPhoneStateListener Change-Id: I2184454c3fd127989edee6c09b175185de960f06 [Telephony] PhoneStateListener redesign - registerPhoneStateListener - should register PhoneStateListener for event - get event from event listener - Add event to list Bug: 167684594 Test: manual and atest TelephonyManagerTest#testRegisterPhoneStateListener Change-Id: I7ef23287879111277610b27aeeab5c8218ab3361 [Telephony] PhoneStateListener redesign - check permission Bug: 167684594 Test: atest TelephonyManagerTest#testRegisterPhoneStateListener Change-Id: I40cc4c234ae6c70405193806ff3159fde0b4486d
Loading
Please register or sign in to comment