Merge "Fix flicker when unlocking the screen." into sc-dev am: 6431f95dc7

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15660797

Change-Id: I76e3c8ef97702241dccc5577a9decfcd604d9105