commit | 3b8e8d76315f6718a982d5e6a019b3aa4f634bcd | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Wed Jul 08 14:09:10 2020 +0800 |
committer | Charles Chen <charlesccchen@google.com> | Wed Jul 08 23:58:58 2020 +0800 |
tree | 3af4d83c3fd9991ac626c8fea3f8544ef95c1b98 | |
parent | fb87c72c660c9cade7b8a730a9122f11ca3b8a46 [diff] |
Fix NPE when invoking Context#isUiContext Add null checks in both ContextWrapper and before obtaining ContextImpl#getOuterContext. Test: atest ContextTest#testIsUiContext_ContextWrapper fixes: 160037462 Change-Id: Ic6a71dd9ac4b195d219d6e5431f2f2b199a400fa