commit | 4fef9c1d916d4ff42f5f83f98b98fd246405bd10 | [log] [tgz] |
---|---|---|
author | Mill Chen <millchen@google.com> | Mon Jun 08 14:11:19 2020 +0800 |
committer | Mill Chen <millchen@google.com> | Mon Jun 08 17:13:11 2020 +0800 |
tree | 69eaf7c56b483d7bc64f4d18cd193a0bcef5dc6d | |
parent | 88207179e9b2448279d2e4a13abb54d49c3d231b [diff] |
Fix pendingIntent in EmergencyInfoSlice could be hijacked The pendingIntent in EmergencyInfoSlice could be hijacked and be altered by a malicious app which can send it on behalf CarDeveloperOptions. To avoid that, this change is to enforce assign the package name to pendingIntent so that only CarDeveloperOption can launch it. Bug: 151645626 Test: manual Change-Id: Id6283ff31cc0a74e3b625e164e6af30ebba78434
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.