commit | ed6ef415dc9f674569ae61a9199de50044e0e8c5 | [log] [tgz] |
---|---|---|
author | Keun young Park <keunyoung@google.com> | Thu Nov 14 18:27:45 2019 -0800 |
committer | Keun young Park <keunyoung@google.com> | Mon Nov 18 14:39:05 2019 -0800 |
tree | 691f0ec3b24aa9178f71f49a617077c3f0fe7edf | |
parent | 4f985bf272fa6fbfc349d6c2c07ff8c38861ec09 [diff] |
Fix potential leak of BroadcastReceiver - Make sure that what is registered is unregistered in matching release time. Bug: 144080991 Test: Check BroadcastReceivers with adb shell dumpsys activity b Change-Id: I5af8f1535b0817663232e42c082d2b049259f309 (cherry picked from commit a2941d7183147852c656a29c228c775794bfa570)
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.