Merge "Revert add isProfileForeground SystemApi in ActivityManager." into rvc-dev am: 886efd65 am: bb539d44 Change-Id: I250c49ecd3d2e046c4f81d8845b9d9b17da13d4a