Loading services/core/java/com/android/server/appop/AppOpsService.java +2 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,7 @@ import static android.app.AppOpsManager.OP_PLAY_AUDIO; import static android.app.AppOpsManager.OP_RECEIVE_AMBIENT_TRIGGER_AUDIO; import static android.app.AppOpsManager.OP_RECORD_AUDIO; import static android.app.AppOpsManager.OP_RECORD_AUDIO_HOTWORD; import static android.app.AppOpsManager.OP_VIBRATE; import static android.app.AppOpsManager.OnOpStartedListener.START_TYPE_FAILED; import static android.app.AppOpsManager.OnOpStartedListener.START_TYPE_RESUMED; import static android.app.AppOpsManager.OnOpStartedListener.START_TYPE_STARTED; Loading Loading @@ -228,6 +229,7 @@ public class AppOpsService extends IAppOpsService.Stub implements PersistenceSch OP_PLAY_AUDIO, OP_RECORD_AUDIO, OP_CAMERA, OP_VIBRATE, }; private static final int MAX_UNFORWARDED_OPS = 10; Loading Loading
services/core/java/com/android/server/appop/AppOpsService.java +2 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,7 @@ import static android.app.AppOpsManager.OP_PLAY_AUDIO; import static android.app.AppOpsManager.OP_RECEIVE_AMBIENT_TRIGGER_AUDIO; import static android.app.AppOpsManager.OP_RECORD_AUDIO; import static android.app.AppOpsManager.OP_RECORD_AUDIO_HOTWORD; import static android.app.AppOpsManager.OP_VIBRATE; import static android.app.AppOpsManager.OnOpStartedListener.START_TYPE_FAILED; import static android.app.AppOpsManager.OnOpStartedListener.START_TYPE_RESUMED; import static android.app.AppOpsManager.OnOpStartedListener.START_TYPE_STARTED; Loading Loading @@ -228,6 +229,7 @@ public class AppOpsService extends IAppOpsService.Stub implements PersistenceSch OP_PLAY_AUDIO, OP_RECORD_AUDIO, OP_CAMERA, OP_VIBRATE, }; private static final int MAX_UNFORWARDED_OPS = 10; Loading