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

Commit f069991c authored by Kweku Adams's avatar Kweku Adams
Browse files

Removing @Deprecated && @removed method from KeyguardManager.

The method was marked @removed in Oreo.

Bug: 135214188
Test: atest android.app.cts.KeyguardManagerTest
Change-Id: I4fad1b7262ff8f2c40d7e3c178699e64241a9bd6
parent a94ba372
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -10,10 +10,6 @@ package android.app {
    method @Deprecated public static int getMaxNumPictureInPictureActions();
  }

  public class KeyguardManager {
    method @Deprecated public void dismissKeyguard(@NonNull android.app.Activity, @Nullable android.app.KeyguardManager.KeyguardDismissCallback, @Nullable android.os.Handler);
  }

  public class Notification implements android.os.Parcelable {
    method @Deprecated public String getChannel();
    method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String);
+0 −8
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@ import android.content.pm.ResolveInfo;
import android.hardware.biometrics.BiometricPrompt;
import android.os.Binder;
import android.os.Build;
import android.os.Handler;
import android.os.IBinder;
import android.os.RemoteException;
import android.os.ServiceManager;
@@ -508,13 +507,6 @@ public class KeyguardManager {
        }
    }

    /** @removed */
    @Deprecated
    public void dismissKeyguard(@NonNull Activity activity,
            @Nullable KeyguardDismissCallback callback, @Nullable Handler handler) {
        requestDismissKeyguard(activity, callback);
    }

    /**
     * If the device is currently locked (see {@link #isKeyguardLocked()}, requests the Keyguard to
     * be dismissed.