Treat MODE_FOREGROUND as ALLOWED for appop checks
noteOp always resolved MODE_FOREGROUND into IGNORED/ALLOWED checkOp resolves it too, but checkOpRaw does not resolved it and might return it. Preflight checks should be independant of the uid state, hence treat MODE_FOREGROUND similar to ALLOWED as MODE_FOREGROUND might allow it. Bug: 150508177 Fixes: 148197098 Test: TH Change-Id: I7b4f53c7ce638f92747d452f2d2f72d098e94b78
Loading
Please register or sign in to comment