[RESTRICT AUTOMERGE] Update the visibility of activities on sleeping display am: 1e8e7a9487

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

Change-Id: I9c9640edfd517c353508243233f29d5e10b7af10