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

Commit 693c69ca authored by Qasid Sadiq's avatar Qasid Sadiq Committed by Android (Google) Code Review
Browse files

Merge "Use current user isntead of system user if no --user parameter is passed" into rvc-dev

parents 9b82cceb d0129ce5
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