Merge "Treat MODE_FOREGROUND as ALLOWED for appop checks" into rvc-dev am: c670246e am: 32ca523b am: ed5ef9c6 Change-Id: I2d8c965cc833c43b67a669455a30d921ef03d454