summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Shai Barack <shayba@google.com> 2024-11-01 22:36:29 +0000
committer Shai Barack <shayba@google.com> 2024-11-01 23:20:53 +0000
commit5a07caa8cd5b4c2f24cd9099c4bf27e33d5592df (patch)
tree7570a70b5000d040dc766b52d33645b5fbf07ae7 /cmds/bootanimation/BootAnimation.cpp
parentb142103e050e3cb70d7a328fdc82154af6263253 (diff)
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
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions