summaryrefslogtreecommitdiffstats
path: root/telephony/java/android/telephony/PhoneStateListener.java
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2014-10-23 10:44:45 -0700
committerWink Saville <wink@google.com>2014-10-23 21:54:09 -0700
commit63f03dd94c43c22f2c77306059b5748e5e1e0e3c (patch)
tree33f7e7e60dfb17a98e387a8c8bed02f76a7151b6 /telephony/java/android/telephony/PhoneStateListener.java
parentee57224c0f96b4a4e26fe89f40509b32ea4b3602 (diff)
downloadframeworks_base-63f03dd94c43c22f2c77306059b5748e5e1e0e3c.zip
frameworks_base-63f03dd94c43c22f2c77306059b5748e5e1e0e3c.tar.gz
frameworks_base-63f03dd94c43c22f2c77306059b5748e5e1e0e3c.tar.bz2
Change subId to int from long
Change-Id: Idae6335e63e7b1e4e714bc17e71b1a4705e38474
Diffstat (limited to 'telephony/java/android/telephony/PhoneStateListener.java')
-rw-r--r--telephony/java/android/telephony/PhoneStateListener.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/telephony/java/android/telephony/PhoneStateListener.java b/telephony/java/android/telephony/PhoneStateListener.java
index ec34ce8..2f1a8da 100644
--- a/telephony/java/android/telephony/PhoneStateListener.java
+++ b/telephony/java/android/telephony/PhoneStateListener.java
@@ -227,7 +227,7 @@ public class PhoneStateListener {
* @hide
*/
/** @hide */
- protected long mSubId = SubscriptionManager.INVALID_SUB_ID;
+ protected int mSubId = SubscriptionManager.INVALID_SUB_ID;
private final Handler mHandler;
@@ -252,10 +252,10 @@ public class PhoneStateListener {
/**
* Create a PhoneStateListener for the Phone using the specified subscription.
* This class requires Looper.myLooper() not return null. To supply your
- * own non-null Looper use PhoneStateListener(long subId, Looper looper) below.
+ * own non-null Looper use PhoneStateListener(int subId, Looper looper) below.
* @hide
*/
- public PhoneStateListener(long subId) {
+ public PhoneStateListener(int subId) {
this(subId, Looper.myLooper());
}
@@ -264,7 +264,7 @@ public class PhoneStateListener {
* and non-null Looper.
* @hide
*/
- public PhoneStateListener(long subId, Looper looper) {
+ public PhoneStateListener(int subId, Looper looper) {
if (DBG) log("ctor: subId=" + subId + " looper=" + looper);
mSubId = subId;
mHandler = new Handler(looper) {