commit | 711f2f47a011736c2e3a6fc37fc411b4655006d1 | [log] [tgz] |
---|---|---|
author | Yan Zhu <yanzhuyan@google.com> | Fri Oct 25 17:27:57 2019 -0700 |
committer | Yan Zhu <yanzhuyan@google.com> | Tue Oct 29 14:11:28 2019 -0700 |
tree | eddc8da6a4a6339b6a1adfc61620b118febae396 | |
parent | 6405686549a570b00d2a51f377fbc79da329cb49 [diff] |
Add additional system abstratcion into SystemInterface - Create an ActivityManagerInterface with a sendBroadcast(Intent intent). - Change SystemInterface to implement it. - Changed GarageMode's Controller to use it. - Change ControllerTest to verify. Bug: 143314628 Bug: 142812757 Test: atest CarServiceTest:com.android.car.garagemode All tests should pass. Change-Id: I347ce8f6251c67f9c0763101508be8d7bed9220f
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.