commit | d1f88ee15d54f46ceda6e6285ae697dc0be5659c | [log] [tgz] |
---|---|---|
author | Arnaud Berry <arnaudberry@google.com> | Wed Feb 19 13:49:31 2020 -0800 |
committer | Arnaud Berry <arnaudberry@google.com> | Thu Feb 20 15:20:02 2020 -0800 |
tree | b7922ec2cbf76120e42a51a6c423372139ee1153 | |
parent | 78c8c6b1c03d9d181a1f7efac0690ce0f546ce0e [diff] |
Add CarPackageManager#isPendingIntentDistractionOptimized(PendingIntent) Allows unbundled apps like Media to determine whether a pending intent is safe to open while driving. Fixes: 149854733 Test: manual with Media Center Change-Id: I28f0e81182db50251e9c8c49b950aaf2ac14bcbf
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.