- op
- The operation to start. One of the OPSTR_* constants.
- uid
- The user id of the application attempting to perform the operation.
- packageName
- The name of the application attempting to perform the operation.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.SecurityException If the app has been configured to crash on this op.
Report that an application has started executing a long-running operation. Note that you must pass in both the uid and name of the application to be checked; this function will verify that these two match, and if not, return AppOpsManager.ModeIgnored. If this call succeeds, the last execution time of the operation for this app will be updated to the current time and the operation will be marked as "running". In this case you must later call AppOpsManager.FinishOp(string, System.Int32, System.Int32) to report when the application is no longer performing the operation.