zenfone6: Add overlay for pinner Service
Change-Id: I2aec60f35f51699f16b3077ba51fd62c5700fd5c
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index dcb68d4..42e3a59 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -389,8 +389,37 @@
<item>40</item>
</integer-array>
- <!-- Should the pinner service pin the Camera application? -->
- <bool name="config_pinnerCameraApp">true</bool>
+ <!-- Should the pinner service pin the Camera application? -->
+ <bool name="config_pinnerCameraApp">true</bool>
+
+ <!-- Default list of files pinned by the Pinner Service -->
+ <string-array translatable="false" name="config_defaultPinnerServiceFiles">
+ <item>"/system/framework/arm64/boot-framework.oat"</item>
+ <item>"/system/framework/framework.jar"</item>
+ <item>"/system/framework/oat/arm64/services.odex"</item>
+ <item>"/system/framework/services.jar"</item>
+ <item>"/system/framework/arm64/boot.oat"</item>
+ <item>"/system/framework/arm64/boot-core-libart.oat"</item>
+ <item>"/apex/com.android.art/javalib/core-oj.jar"</item>
+ <item>"/apex/com.android.art/javalib/core-libart.jar"</item>
+ <item>"/apex/com.android.media/javalib/updatable-media.jar"</item>
+ <item>"/product/priv-app/SystemUI/SystemUI.apk"</item>
+ <item>"/product/priv-app/SystemUI/oat/arm64/SystemUI.odex"</item>
+ <item>"/system/lib64/libsurfaceflinger.so"</item>
+ </string-array>
+
+ <!-- List of files pinned by the Pinner Service with the apex boot image b/119800099 -->
+ <string-array translatable="false" name="config_apexBootImagePinnerServiceFiles">
+ <item>"/system/framework/framework.jar"</item>
+ <item>"/system/framework/services.jar"</item>
+ <item>"/system/framework/arm64/apex.oat"</item>
+ <item>"/system/framework/arm64/apex-core-libart.oat"</item>
+ <item>"/apex/com.android.art/javalib/core-oj.jar"</item>
+ <item>"/apex/com.android.art/javalib/core-libart.jar"</item>
+ <item>"/apex/com.android.media/javalib/updatable-media.jar"</item>
+ <item>"/product/priv-app/SystemUI/SystemUI.apk"</item>
+ <item>"/system/lib64/libsurfaceflinger.so"</item>
+ </string-array>
<!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
<integer name="config_shutdownBatteryTemperature">650</integer>