Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
packages_providers_TelephonyProvider
Commits
bf7c617b
Commit
bf7c617b
authored
13 years ago
by
Wink Saville
Browse files
Options
Download
Email Patches
Plain Diff
Use telephony-common and mms-common
Change-Id: I5378acae02693356ca4a0546cd9346910c29d9dc
parent
44a2f1a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Android.mk
Android.mk
+1
-0
src/com/android/providers/telephony/TelephonyProvider.java
src/com/android/providers/telephony/TelephonyProvider.java
+3
-1
No files found.
Android.mk
View file @
bf7c617b
...
...
@@ -8,6 +8,7 @@ LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME
:=
TelephonyProvider
LOCAL_CERTIFICATE
:=
platform
LOCAL_JAVA_LIBRARIES
+=
telephony-common mms-common
LOCAL_STATIC_JAVA_LIBRARIES
+=
android-common
include
$(BUILD_PACKAGE)
This diff is collapsed.
Click to expand it.
src/com/android/providers/telephony/TelephonyProvider.java
View file @
bf7c617b
...
...
@@ -33,11 +33,13 @@ import android.net.Uri;
import
android.os.Environment
;
import
android.os.FileUtils
;
import
android.provider.Telephony
;
import
android.telephony.TelephonyManager
;
import
android.util.Log
;
import
android.util.Xml
;
import
com.android.internal.telephony.BaseCommands
;
import
com.android.internal.telephony.Phone
;
import
com.android.internal.telephony.PhoneConstants
;
import
com.android.internal.util.XmlUtils
;
import
org.xmlpull.v1.XmlPullParser
;
...
...
@@ -393,7 +395,7 @@ public class TelephonyProvider extends ContentProvider
}
private
boolean
isLteOnCdma
()
{
return
BaseCommands
.
getLteOnCdmaModeStatic
()
==
Phone
.
LTE_ON_CDMA_TRUE
;
return
TelephonyManager
.
getLteOnCdmaModeStatic
()
==
Phone
Constants
.
LTE_ON_CDMA_TRUE
;
}
private
void
setPreferredApnId
(
Long
id
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment