commit | 3a91fefcc807c7bfb616d743776276601e847cac | [log] [tgz] |
---|---|---|
author | Gaurav Bhola <gauravbhola@google.com> | Sat Oct 02 00:32:33 2021 +0000 |
committer | Gaurav Bhola <gauravbhola@google.com> | Tue Oct 05 19:15:57 2021 +0000 |
tree | 1f79c291ce3c2e64630737b43d5ace44c560f0cf | |
parent | f208f3065f0d29a8a49f2b6ca395e4b174350d06 [diff] |
Fix a flaky CarPackageManagerService test. - The test was failing because the isActivityDistractionOptimised was returning true for a DO activity with dialog. It was returning true because when ActivityBlockingActivity is launched, it was clearning the cached topActivityWithDialog. - Also modified the test to verify the API explicitly. Fix: 195574985 Fix: 199934734 Test: atest CarPackageManagerServiceTest Change-Id: I7b39050716eb46042003fb9147298453d5d804fa Merged-In: I7b39050716eb46042003fb9147298453d5d804fa
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.