OSDN Git Service

Fixed a crash with the top headsup entry
authorSelim Cinek <cinek@google.com>
Fri, 8 Dec 2017 20:42:36 +0000 (12:42 -0800)
committerSelim Cinek <cinek@google.com>
Fri, 8 Dec 2017 20:56:20 +0000 (12:56 -0800)
commit61cfd4bcd88d6ae185356cef0b3dc827c93c02dd
tree0f280a03a35e76acf0d45bc1acec8eb20123de5f
parentcdf3bd037d3ff7e4bfef6e494e9fdb9ab26be0b7
Fixed a crash with the top headsup entry

Because of an optimization introduced, the topheads
up entry could be null, leading to a Nullpointer.

Change-Id: Ibba73d652b0b4aac15cc62e57d1dfcf88dc0a647
Fixes: 70386428
Test: manual expand while hun is visible
packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java