summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Joanne Chung <joannechung@google.com> 2023-09-25 09:18:23 +0000
committer Joanne Chung <joannechung@google.com> 2023-09-26 06:27:36 +0000
commit119e0c57b9211c7d53c7b6c1ff77f341ae834899 (patch)
tree0d95c6016122c6beef537b5d16d45dfea7011faf /libs/input/PointerController.cpp
parentae878a61de9818a267ccf616f2b8f788a9fc7a92 (diff)
Avoid crashing system if the installed user doesn't existing
It is possible the user may be removed during the package install, and it may happen frequently in the auto testing. This may cause the system crash. Instead of making system crash, we add an user checking in the code that may crash the system to report error to the caller. It's good to get notified when the user is removed and the util can do a better handle here. We will try to go through in the follow up bug later. Bug: 301203319 Test: manual. Comment the install shell command user checking code and install package on invalid user. Change-Id: I168fe55d4a0604ec86f502ac8e434407739478ea
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions