From b591f9d2dd6db79e3d2f025888e8fd4eb699ca84 Mon Sep 17 00:00:00 2001 From: chen xu Date: Thu, 18 Oct 2018 14:24:58 -0700 Subject: [PATCH] correct the definition of LISTEN_RADIO_POWER_STATE_CHANGED keep the value same as master Bug: 117930373 Test: telephony unit test Change-Id: I0bad21eeed2b4667fbb781253828b99332103b31 Merged-in: Id170063bfdb1e3325f67e8680231ab4deda7d65d --- api/system-current.txt | 2 +- telephony/java/android/telephony/PhoneStateListener.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/system-current.txt b/api/system-current.txt index f6d1fe2cf498e..5d3a535a7abe9 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -5142,7 +5142,7 @@ package android.telephony { public class PhoneStateListener { method public void onRadioPowerStateChanged(int); - field public static final int LISTEN_RADIO_POWER_STATE_CHANGED = 4194304; // 0x400000 + field public static final int LISTEN_RADIO_POWER_STATE_CHANGED = 8388608; // 0x800000 } public class ServiceState implements android.os.Parcelable { diff --git a/telephony/java/android/telephony/PhoneStateListener.java b/telephony/java/android/telephony/PhoneStateListener.java index 284e998ef5f3b..3476db456bb16 100644 --- a/telephony/java/android/telephony/PhoneStateListener.java +++ b/telephony/java/android/telephony/PhoneStateListener.java @@ -289,7 +289,7 @@ public class PhoneStateListener { * @hide */ @SystemApi - public static final int LISTEN_RADIO_POWER_STATE_CHANGED = 0x00400000; + public static final int LISTEN_RADIO_POWER_STATE_CHANGED = 0x00800000; /* * Subscription used to listen to the phone state changes