commit | 279e7fcc8661603633a8840ffe07650fe312e9c7 | [log] [tgz] |
---|---|---|
author | Jordan Jozwiak <jjoz@google.com> | Mon Feb 03 15:50:15 2020 -0800 |
committer | Jordan Jozwiak <jjoz@google.com> | Tue Feb 04 15:05:21 2020 -0800 |
tree | 026e405e0d67127b0634339b872a7b3232d9268e | |
parent | 2f1a2f437b7373b277d4e21988296478a2aae4b5 [diff] |
Fix CarService leak in ActivityBlockingActivity Properly disconnect from CarService to prevent ServiceConnectionLeaked Bug: 147242397 Test: Dismiss ActivityBlockingActivity and verify no error log 1) Open a non-DO app, like the DataCenter app 2) Put device into drive state $ adb shell dumpsys activity service com.android.car inject-vhal-event 0x11400400 8 && adb shell dumpsys activity service com.android.car inject-vhal-event 0x11600207 30 3) Press the app launcher so that the ABA is dismissed Change-Id: If782ef096018c0cd6e545d1c32cb8fb1be30d015
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.