Files
frameworks_base/telephony/java/android
chen xu 6b46264c96 only set PhoneStateListener subId for sdk target >=Q
subId from PhoneStateListener is deprecated from Q. And we should
only set subId for informational purpose for Q+ only.
Do not change the legacy behaviour for apps target on preQ SDK level

Bug: 131863032
Test: atest CtsTelephonyTestCases:PhoneStateListenerTest#testOnUnRegisterFollowedByRegister
Change-Id: Iff1758f9645e74690094207d92b5989553b27b25
2019-05-03 14:20:51 -07:00
..