[RESTRICT AUTOMERGE] Update the visibility of activities on sleeping display am: 31fc73a707 am: 504f2d42dd

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

Change-Id: Ibb49dcc4b2fa0a9a0cb63161c69ece1b8a7aa632