diff options
author | Hui Yu <huiyu@google.com> | 2018-12-13 15:20:43 -0800 |
---|---|---|
committer | Hui Yu <huiyu@google.com> | 2019-02-20 18:10:29 -0800 |
commit | f6118b3d170a59d86a20c1e21f5878f0200dbd83 (patch) | |
tree | 9ef71f2edd01b2541888dce11e9025d5864a39ee /rs/java/android/renderscript/ProgramStore.java | |
parent | ff5d286d092ca60945869120583c429348271e3c (diff) |
Remove extra null-check on IntervalStats.events.
Now IntervalStats.events field is initialized at construction of
IntervalStats object, we can remove the extra null-check on
IntervalStats.events, make code more clean and readable.
Test: atest UsageStatsDatabaseTest.java
Change-Id: I2580509f41593c1fdf380ba56ebc7a5b6c6f0c5f
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions