Un-hide TelephonyManager.getSignalStrength()
Expose the API to directly retrieve the latest cached signal strength from ServiceStateTracker. Bug: 36133439 Test: manual/sl4a Change-Id: I36e4a24f19d49da5797d875ccfd10576ca0a68b8
This commit is contained in:
@@ -40110,6 +40110,7 @@ package android.telephony {
|
||||
method public int getPhoneCount();
|
||||
method public int getPhoneType();
|
||||
method public android.telephony.ServiceState getServiceState();
|
||||
method public android.telephony.SignalStrength getSignalStrength();
|
||||
method public java.lang.String getSimCountryIso();
|
||||
method public java.lang.String getSimOperator();
|
||||
method public java.lang.String getSimOperatorName();
|
||||
|
||||
@@ -43583,6 +43583,7 @@ package android.telephony {
|
||||
method public int getPhoneCount();
|
||||
method public int getPhoneType();
|
||||
method public android.telephony.ServiceState getServiceState();
|
||||
method public android.telephony.SignalStrength getSignalStrength();
|
||||
method public java.lang.String getSimCountryIso();
|
||||
method public java.lang.String getSimOperator();
|
||||
method public java.lang.String getSimOperatorName();
|
||||
|
||||
@@ -40332,6 +40332,7 @@ package android.telephony {
|
||||
method public int getPhoneCount();
|
||||
method public int getPhoneType();
|
||||
method public android.telephony.ServiceState getServiceState();
|
||||
method public android.telephony.SignalStrength getSignalStrength();
|
||||
method public java.lang.String getSimCountryIso();
|
||||
method public java.lang.String getSimOperator();
|
||||
method public java.lang.String getSimOperatorName();
|
||||
|
||||
@@ -6740,7 +6740,6 @@ public class TelephonyManager {
|
||||
* Get the most recent SignalStrength information reported by the modem. Due
|
||||
* to power saving this information may not always be current.
|
||||
* @return the most recent cached signal strength info from the modem
|
||||
* @hide
|
||||
*/
|
||||
@Nullable
|
||||
public SignalStrength getSignalStrength() {
|
||||
|
||||
Reference in New Issue
Block a user