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

Commit f5f4ec97 authored by Mike Lockwood's avatar Mike Lockwood Committed by Mike Lockwood
Browse files

PhoneWindowManager: stifle warning that ITelephony service does not exist

parent 4767690f
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -1516,12 +1516,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
    }
    
    static ITelephony getTelephonyService() {
        ITelephony telephonyService = ITelephony.Stub.asInterface(
        return ITelephony.Stub.asInterface(
                ServiceManager.checkService(Context.TELEPHONY_SERVICE));
        if (telephonyService == null) {
            Log.w(TAG, "Unable to find ITelephony interface.");
        }
        return telephonyService;
    }

    static IAudioService getAudioService() {