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

Commit 99a84794 authored by Yi Jiang's avatar Yi Jiang
Browse files

Modified 3 methods to private methods. They should not be public.

Bug: 126366588
Test: Manually. Built and flashed on my test device.

Change-Id: I4d94b442baa6856c47c33bffb136164ee171fc60
parent a1b5381a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ public class AttentionManagerService extends SystemService {
    /**
     * Returns {@code true} if attention service is supported on this device.
     */
    public boolean isAttentionServiceSupported() {
    private boolean isAttentionServiceSupported() {
        return isServiceEnabled() && isServiceAvailable();
    }

@@ -135,7 +135,7 @@ public class AttentionManagerService extends SystemService {
     *
     * @return {@code true} if the framework was able to send the provided callback to the service
     */
    public boolean checkAttention(int requestCode, long timeout,
    private boolean checkAttention(int requestCode, long timeout,
            AttentionCallbackInternal callback) {
        Preconditions.checkNotNull(callback);

@@ -213,7 +213,7 @@ public class AttentionManagerService extends SystemService {
    }

    /** Cancels the specified attention check. */
    public void cancelAttentionCheck(int requestCode) {
    private void cancelAttentionCheck(int requestCode) {
        synchronized (mLock) {
            final UserState userState = peekCurrentUserStateLocked();
            if (userState == null) {