Add flag check to AppOp callbacks

The new callback API is behind deviceAwarePermissionApisEnabled flag, so the caller needs to check flag value before
invokes the API.

Bug: 325708081
Bug: 323934900
Bug: 325707419
Test: presubmit
Change-Id: I70855076805057fdbd6eb6c508abce68e7c8f2af
1 file changed