zenfone6: Add sepolicy for Glove and Gestures
diff --git a/sepolicy/private/system_app.te b/sepolicy/private/system_app.te
index ca8d554..b73fb60 100644
--- a/sepolicy/private/system_app.te
+++ b/sepolicy/private/system_app.te
@@ -1,27 +1 @@
-allow system_app {
-  fts_gesture_mode
-  -fts_gesture_c_mode
-  -fts_gesture_e_mode
-  -fts_gesture_v_mode
-  -fts_gesture_s_mode
-  -fts_gesture_w_mode
-  -fts_gesture_z_mode
-  -fts_gesture_up_mode
-  -fts_gesture_down_mode
-  -fts_gesture_left_mode
-  -fts_gesture_right_mode
-}:file { open write };
-
-allow system_app {
-  fts_gesture_mode
-  -fts_gesture_c_mode
-  -fts_gesture_e_mode
-  -fts_gesture_v_mode
-  -fts_gesture_s_mode
-  -fts_gesture_w_mode
-  -fts_gesture_z_mode
-  -fts_gesture_up_mode
-  -fts_gesture_down_mode
-  -fts_gesture_left_mode
-  -fts_gesture_right_mode
-}:file getattr;
\ No newline at end of file
+allow system_app sysfs_gesture:file { rw_file_perms setattr };
\ No newline at end of file