commit | dad90cb3110c84dcec59a3ed435ca649330d3b10 | [log] [tgz] |
---|---|---|
author | Achim Thesmann <achim@google.com> | Thu Nov 02 03:22:50 2023 +0000 |
committer | Achim Thesmann <achim@google.com> | Sat Nov 04 02:12:39 2023 +0000 |
tree | 680c4457b5e790c1591b8a6c34a566dcece39797 | |
parent | 094616cb6e74758ee915acd37acc98b3f3394e62 [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