commit | 892160e62fbdf9e3e7619ae6357e4175d145ed14 | [log] [tgz] |
---|---|---|
author | Mayank Garg <gargmayank@google.com> | Mon Mar 22 22:43:23 2021 -0700 |
committer | Mayank Garg <gargmayank@google.com> | Wed Mar 24 16:00:34 2021 -0700 |
tree | e7cc2efeaa1e0002d8090f972038040e21fad3b5 | |
parent | 99d982e98e6598c69b5b54f6d66b42406973031d [diff] |
Modified check for query permission in car package manager Previously it was throwing security exception, now returning False if does not have correct permission. Bug: 183207409 Bug: 180418334 Test: atest CarSecurityPermissionTest:com.android.car.CarPackageManagerPermissionTest atest CarServiceTest:com.android.car.pm.CarPackageManagerServiceTest Change-Id: Ie71d6b190b54c9de3f76afd8aa5d84368cce37c0
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.