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

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

Change-Id: Idc8c4cdd4356ef542ebffa01fcd8e0d185f517fb