commit | c18d6d8bf62d221214dbb646c3cf179e19630e10 | [log] [tgz] |
---|---|---|
author | Kevin Han <kevhan@google.com> | Thu May 28 12:44:38 2020 -0700 |
committer | Kevin Han <kevhan@google.com> | Thu May 28 12:44:38 2020 -0700 |
tree | f3d23d150da5fbb6e87c83ea6ee267ad98913014 | |
parent | 10bee631fde96b97a9e23cf50d19369c115ef3d3 [diff] |
Fix NPE by returning empty params. Re-entrant calls make it possible for inflation to occur after removal. While http://ag/11334076 prevented the actual inflation from occuring in this case, it was still possible to hit an NPE by attempting to modify a notification's inflation parameters that didn't exist. This provides a temporary workaround by just returning an empty params object. Bug: 156989744 Test: atest SystemUITests Change-Id: Ia86a92e0e447e521a6011e7edd32ebdd974a2c6b