commit | c886544a55a79b1aaed8037becf470709d856bfa | [log] [tgz] |
---|---|---|
author | Raff Tsai <rafftsai@google.com> | Thu Dec 06 15:53:35 2018 +0800 |
committer | Raff Tsai <rafftsai@google.com> | Thu Dec 13 00:39:34 2018 +0800 |
tree | 4f2fbf0c4f94f35686db7b358bcb08a479866656 | |
parent | 2602e42b65c7ef0ec9c5e38e2cbc6340be077954 [diff] |
Do not return null in getSlice() - It will result in a empty SliceView. Because we can use slice.hasHint(HINT_ERROR) to check if we should show the slice, always return a valid slice object. - Set tintcolor -1 therefore battery icon will not have tint Bug: 120221527 Test: manual Change-Id: Idfc97f90c75515b079e1faed802c9b9047bfdeb4