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

Commit 96b3e61f authored by Wink Saville's avatar Wink Saville
Browse files

Change getCurrentPhoneType to SystemApi

Bug: 17394367
Change-Id: I293faa26884e8d63a833e624e6c9a201c7652683
parent 73f41d91
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -772,6 +772,7 @@ public class TelephonyManager {
     *
     * {@hide}
     */
    @SystemApi
    public int getCurrentPhoneType() {
        return getCurrentPhoneType(getDefaultSubscription());
    }
@@ -786,6 +787,7 @@ public class TelephonyManager {
     * @param subId for which phone type is returned
     */
    /** {@hide} */
    @SystemApi
    public int getCurrentPhoneType(long subId) {

        try{