summaryrefslogtreecommitdiffstats
path: root/include/binder
diff options
context:
space:
mode:
Diffstat (limited to 'include/binder')
-rw-r--r--include/binder/AppOpsManager.h6
-rw-r--r--include/binder/IAppOpsService.h7
2 files changed, 9 insertions, 4 deletions
diff --git a/include/binder/AppOpsManager.h b/include/binder/AppOpsManager.h
index f64d5da..256cb94 100644
--- a/include/binder/AppOpsManager.h
+++ b/include/binder/AppOpsManager.h
@@ -28,9 +28,9 @@ class AppOpsManager
{
public:
enum {
- MODE_ALLOWED = 0,
- MODE_IGNORED = 1,
- MODE_ERRORED = 2
+ MODE_ALLOWED = IAppOpsService::MODE_ALLOWED,
+ MODE_IGNORED = IAppOpsService::MODE_IGNORED,
+ MODE_ERRORED = IAppOpsService::MODE_ERRORED
};
enum {
diff --git a/include/binder/IAppOpsService.h b/include/binder/IAppOpsService.h
index 2883e38..7cb55e5 100644
--- a/include/binder/IAppOpsService.h
+++ b/include/binder/IAppOpsService.h
@@ -46,6 +46,12 @@ public:
START_WATCHING_MODE_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION+4,
STOP_WATCHING_MODE_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION+5
};
+
+ enum {
+ MODE_ALLOWED = 0,
+ MODE_IGNORED = 1,
+ MODE_ERRORED = 2
+ };
};
// ----------------------------------------------------------------------
@@ -64,4 +70,3 @@ public:
}; // namespace android
#endif // ANDROID_IAPP_OPS_SERVICE_H
-