commit | 80cb66972b7b50037b61ec40c2d504cfd3f1ce31 | [log] [tgz] |
---|---|---|
author | Lakshman Annadorai <lakshmana@google.com> | Thu Oct 29 16:43:51 2020 -0700 |
committer | Lakshman Annadorai <lakshmana@google.com> | Tue Nov 17 11:27:46 2020 -0800 |
tree | 9e0a2e991489787438219c48048fd06390c08b89 | |
parent | 8628ef2637e0dd078c87b775e0327e2b8024ee55 [diff] |
Split CarWatchdog AIDLs into stable and unstable versions. CarWatchdog AIDL exposes APIs for system and vendor services. Split this AIDL into stable and unstable versions such that vendor services will call the stable APIs and system services will call the unstable APIs. APIs frozen in R cannot be removed from the stable AIDL. Thus deprecate these APIs and relevant AIDLs by updating the implemenation to throw errors on calling these APIs. Also this approach leads to some duplicates between the stable and unstable AIDLs. To overcome this, add a new `watchdog.internal` package and protect the new unstable AIDLs under this namespace. Test: Tested with changes in the following CLs. Bug: 171422266 Change-Id: I2870388f3c2676ac2032cdad44cd96b9e8b10b68
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.