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