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

Skip to content
Commit de59749e authored by Joanne Chung's avatar Joanne Chung
Browse files

Check pm install/uninstall --user command

Currently, if the specified user of install command doesn't exist,
the system will crash. We should check the command valid and call
system method.

Bug: 297376291
Test: manual. Can install without correct parameter and show error
message if user doesn't exist
Test: atest PackageManagerShellCommandInstallTest
Test: atest PackageManagerShellCommandMultiUserTest

Change-Id: I7595257a5e69dd9fff4d46dfb76f0d3ca14a78b7
parent 4db2da9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment