[automerger skipped] BG-FGS while-in-use restriction uses the same grace period mechanism as BG-Activity-Launch. am: 28644e3b9e am: 25104d7824 -s ours

am skip reason: skip tag Change-Id I30706dc1950bf5d49926a8e26c0493d9e168eb1b with SHA-1 7f630d22b8 is already in history

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

Change-Id: Ica1fbc7e6d5c43c35b4cb7a2d7400d11d6c675dc