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_services_Telephony
Commits
287f5431
Commit
287f5431
authored
8 years ago
by
Mark Stevens
Browse files
Options
Download
Email Patches
Plain Diff
update from duco/rk312x_20160510 on rockchip-5.1.0_r5 branches
parent
740e31b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
src/com/android/phone/PhoneInterfaceManager.java
src/com/android/phone/PhoneInterfaceManager.java
+14
-3
No files found.
src/com/android/phone/PhoneInterfaceManager.java
View file @
287f5431
...
...
@@ -15,7 +15,7 @@
*/
package
com.android.phone
;
import
android.os.SystemProperties
;
import
android.app.ActivityManager
;
import
android.app.AppOpsManager
;
import
android.content.ComponentName
;
...
...
@@ -2011,17 +2011,28 @@ public class PhoneInterfaceManager extends ITelephony.Stub {
}
private
String
getIccId
(
int
subId
)
{
/*
UiccCard card = getPhone(subId).getUiccCard();
if (card == null) {
loge("getIccId: No UICC");
return null;
}
String
iccId
=
card
.
getIccId
();
*/
//String iccId = card.getIccId();
String
iccId
;
/*
if (TextUtils.isEmpty(iccId)) {
loge("getIccId: ICC ID is null or empty.");
return null;
}
return
iccId
;
*/
String
sim_state
=
SystemProperties
.
get
(
"gsm.sim.state"
);
if
(
sim_state
.
equals
(
"READY"
)){
iccId
=
"89860002091070314495"
;
return
iccId
;
}
else
return
null
;
}
@Override
...
...
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