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

Commit a31d8b71 authored by Christopher Tate's avatar Christopher Tate Committed by Android Git Automerger
Browse files

am 235e5d68: User ID, not uid, in an EXTRA_USER_HANDLE

* commit '235e5d68':
  User ID, not uid, in an EXTRA_USER_HANDLE
parents 9880646e 235e5d68
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ import android.content.res.Resources;
import android.net.Uri;
import android.os.Bundle;
import android.os.Process;
import android.os.UserHandle;
import android.preference.PreferenceActivity;
import android.text.format.Formatter;
import android.view.LayoutInflater;
@@ -309,7 +310,7 @@ public class ProcessStatsDetail extends Fragment implements Button.OnClickListen
                Uri.fromParts("package", mEntry.mUiPackage, null));
        intent.putExtra(Intent.EXTRA_PACKAGES, new String[] { mEntry.mUiPackage });
        intent.putExtra(Intent.EXTRA_UID, mEntry.mUid);
        intent.putExtra(Intent.EXTRA_USER_HANDLE, mEntry.mUid);
        intent.putExtra(Intent.EXTRA_USER_HANDLE, UserHandle.getUserId(mEntry.mUid));
        getActivity().sendOrderedBroadcast(intent, null, mCheckKillProcessesReceiver, null,
                Activity.RESULT_CANCELED, null, null);
    }