DeviceParts: Update Offscreen and FP gestures

* Cleanup the code too
diff --git a/sepolicy/private/file.te b/sepolicy/private/file.te
index b99e56a..d5662e6 100644
--- a/sepolicy/private/file.te
+++ b/sepolicy/private/file.te
@@ -2,4 +2,17 @@
 type asdf_file, file_type;
 type demoapp_file, file_type;
 type voucher_file, file_type;
-type xrom_file, file_type;
\ No newline at end of file
+type xrom_file, file_type;
+
+# Offscreen Gestures
+type fts_gesture_mode, fs_type;
+type fts_gesture_c_mode, fs_type;
+type fts_gesture_e_mode, fs_type;
+type fts_gesture_v_mode, fs_type;
+type fts_gesture_s_mode, fs_type;
+type fts_gesture_w_mode, fs_type;
+type fts_gesture_z_mode, fs_type;
+type fts_gesture_left_mode, fs_type;
+type fts_gesture_right_mode, fs_type;
+type fts_gesture_up_mode, fs_type;
+type fts_gesture_down_mode, fs_type;
\ No newline at end of file
diff --git a/sepolicy/private/system_app.te b/sepolicy/private/system_app.te
new file mode 100644
index 0000000..ca8d554
--- /dev/null
+++ b/sepolicy/private/system_app.te
@@ -0,0 +1,27 @@
+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