msm8226: appops: Add strict operation property and whitelist pkgs file.

AppOpsService uses this property to enable strict operations.

Change-Id: Ie233c44b3607fa8ac80f8531f1cb6d30283c029a
diff --git a/msm8226.mk b/msm8226.mk
index 42f4a11..023c0e0 100644
--- a/msm8226.mk
+++ b/msm8226.mk
@@ -70,3 +70,12 @@
         frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \
         device/qcom/msm8226/nfc/libnfc-nci.conf:system/etc/libnfc-nci.conf
 
+# Enable strict operation
+PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
+    persist.sys.strict_op_enable=false
+
+PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
+    persist.sys.whitelist=/system/etc/whitelist_appops.xml
+
+PRODUCT_COPY_FILES += \
+    device/qcom/msm8226/whitelist_appops.xml:system/etc/whitelist_appops.xml