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

Commit e2b6b670 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: 9c20cc0e am: 0e49358f

Change-Id: I4759f090f2917f9e84ec590695cf1734b0b27edf
parents 4845386d 0e49358f
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.server.accessibility;
package com.android.server.accessibility;


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


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


    @Override
    @Override