commit | 5a71ab95883214b1b6db6d5fd23e07f683536b25 | [log] [tgz] |
---|---|---|
author | Keun young Park <keunyoung@google.com> | Thu Nov 21 13:20:47 2019 -0800 |
committer | Keun young Park <keunyoung@google.com> | Fri Nov 22 10:02:56 2019 -0800 |
tree | 0e3e14371171e9a6eab7f192821880adba6288fe | |
parent | 977120aee94a1e04e5aba7cb624be8260fd7da4a [diff] |
Add null check for Context and ContextWrapper base - Besides null Context, non-null ContextWrapper can be problematic when its base is not set. - Add assertion so that such mistake from client side can be detected quickly. Bug: 144931251 Test: boot up and check crash Change-Id: Ib8d92f67e644929c77554cbb7679b2fc0f7509ab
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.