Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b86092a authored by Nathan Harold's avatar Nathan Harold
Browse files

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
parent 7d4e9b81
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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();
+1 −0
Original line number Diff line number Diff line
@@ -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();
+1 −0
Original line number Diff line number Diff line
@@ -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();
+0 −1
Original line number Diff line number Diff line
@@ -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() {