commit | 5d77c3d6515d949ea5d325c80030e9382db3c815 | [log] [tgz] |
---|---|---|
author | Sudheer Shanka <sudheersai@google.com> | Thu Mar 18 16:52:13 2021 +0000 |
committer | Sudheer Shanka <sudheersai@google.com> | Thu Mar 18 17:04:00 2021 +0000 |
tree | c0c4531f0ad819b116f2235cf00a6468af9051e2 | |
parent | 99d0537fa4bdb2192ee12e25ac95454aa4748e4f [diff] |
Update DataSaverBackend to use NetworkPolicyManager.Listener. This will avoid having to update this every time we add a new callback. Test: treehugger Change-Id: I3d847ba17c0ff1601d318357b398850b3e016124 Merged-In: I4c4fbca57e3e52b5d20aee6144d3a1be3c5352c2
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.