OSDN Git Service

Data profile refactoring
authorJack Yu <jackyu@google.com>
Tue, 18 Dec 2018 00:09:03 +0000 (16:09 -0800)
committerJack Yu <jackyu@google.com>
Mon, 28 Jan 2019 18:32:23 +0000 (10:32 -0800)
commit7d675e5a44103ba3b5afdf2bf485e4b27d0edba1
tree859964bac9a2530f1c9e802dbe0041b57cf3ded7
parent706b2d0e16e0601ccdcfe6b9fc7a0cd89dd8485b
Data profile refactoring

Data profile should use the public defined types
instead of the internal defined data types.

1. Using integer instead of string for protocol type.
2. Using TelephonyManager.NetworkTypeBitMask instead of
   the internal ServiceState.RIL_RADIO_TECHNOLOGY_XXX
   in data profile.

Test: Telephony sanity tests
Bug: 73659459
Merged-In: I04b910f8e349e8b7819ff058bf37ad06c3fd9adc
Change-Id: I04b910f8e349e8b7819ff058bf37ad06c3fd9adc
(cherry picked from commit af6b47af54e35a665fb18bd6d63fa945c333b6a9)
api/system-current.txt
telephony/java/android/telephony/ServiceState.java
telephony/java/android/telephony/data/DataCallResponse.java
telephony/java/android/telephony/data/DataProfile.java
telephony/java/com/android/internal/telephony/RILConstants.java