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

Skip to content
Commit 5a07caa8 authored by Shai Barack's avatar Shai Barack
Browse files

Use UserHandle.isCore() instead of Process.myUid() <...

Use UserHandle.isCore() instead of Process.myUid() < Process.FIRST_APPLICATION_UID to determine if the process is a system process.

This is more robust and will work even if the process is running in a multi-user context.

Change-Id: Idf1d0db3236085702bafb6d48758dd209d06e4f5
Flag: build.RELEASE_PACKAGE_MESSAGEQUEUE_IMPLEMENTATION
parent b142103e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment