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

Commit 0d785d46 authored by Qasid Sadiq's avatar Qasid Sadiq Committed by Automerger Merge Worker
Browse files

Merge "Use current user isntead of system user if no --user parameter is...

Merge "Use current user isntead of system user if no --user parameter is passed" into rvc-dev am: 693c69ca am: ebeb55eb

Change-Id: I549c0de53ef9f1d3eb820ef6e01c1885d0a50dce
parents cd68a003 ebeb55eb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.server.accessibility;

import android.annotation.NonNull;
import android.app.ActivityManager;
import android.os.ShellCommand;
import android.os.UserHandle;

@@ -83,7 +84,7 @@ final class AccessibilityShellCommand extends ShellCommand {
                return null;
            }
        }
        return UserHandle.USER_SYSTEM;
        return ActivityManager.getCurrentUser();
    }

    @Override