Merge "Add AppOps overload to be able to watch foreground changes." into tm-dev am: 748247412c am: b9046129d7

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

Change-Id: I2e20233e8d3c44ce357e6a9ce358e11f339eb05b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>