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

Commit 0ac25af1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Removing @Deprecated && @removed method from KeyguardManager."

parents 10b34a5a f069991c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -5,10 +5,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.