summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Achim Thesmann <achim@google.com> 2023-11-02 03:22:50 +0000
committer Achim Thesmann <achim@google.com> 2023-11-04 02:12:39 +0000
commitdad90cb3110c84dcec59a3ed435ca649330d3b10 (patch)
tree680c4457b5e790c1591b8a6c34a566dcece39797 /libs/androidfw/FileStream.cpp
parent094616cb6e74758ee915acd37acc98b3f3394e62 (diff)
Use constant for no process
The value -1 is passed in as UID by non-PendingIntent call flows to indicate that there is no actual process in the role of the real caller. This just improves readability to replace those -1 values that are compared to the passed in UID (and where we pass in a -1 UID to other methods). Test: atest com.android.server.wm.ActivityStarterTests android.server.wm.BackgroundActivityLaunchTest Bug: 306059525 Change-Id: Iafa0b45bb9b382115a581f5a90419177e352767a
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions