Add more error codes.
1.Add error codes for setPreferredOpportunisticDataSubscription and updateAvailableNetworks 2.It's for changing behavior depending on target SDK, so use the compat framework. Test: run atest. 1.atest TelephonyManagerTest#testPreferredOpportunisticDataSubscription [1/1] android.telephony.cts.TelephonyManagerTest#testPreferredOpportunisticDataSubscription: PASSED (1.662s) 2.atest TelephonyManagerTest#testUpdateAvailableNetworks [1/1] android.telephony.cts.TelephonyManagerTest#testUpdateAvailableNetworks: PASSED (534ms) Bug: 130595455 Merged-In: I6f386bfcf75236e30141fab89e2b62ee3a8cb59e Change-Id: I6f386bfcf75236e30141fab89e2b62ee3a8cb59e
Loading
Please register or sign in to comment