Skip to content
Snippets Groups Projects
Commit b74afc4f authored by Dhina17's avatar Dhina17
Browse files

onclite: overlay: Drop useless config_pinnerCameraApp

- From this change [0], To pin the camera app, We need to set boolean phenotype property (DeviceConfig) "pin_camera" or fallback system
  boolean property "pinner.pin_camera" to true [1] even if the config_pinnerCameraApp config value set to true [2].

- Anyways, I don't pin the camera app since our device has low RAM.

Reference:
[0] - https://github.com/LineageOS/android_frameworks_base/commit/599a834102153e1f241836ef999fbbbc30d40f4e
[1] - https://github.com/LineageOS/android_frameworks_base/blob/b8404be70d59c2ba60436cbc36d76780eb38deaa/services/core/java/com/android/server/PinnerService.java#L103-L106
[2] - https://github.com/LineageOS/android_frameworks_base/blob/b8404be70d59c2ba60436cbc36d76780eb38deaa/services/core/java/com/android/server/PinnerService.java#L180-L182

Change-Id: Ia88de4775b3b60245e8eabce08b71c186e00d1c4
parent 1409fa20
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2017 The LineageOS Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
......@@ -324,9 +324,6 @@
<item>"/apex/com.android.media/javalib/updatable-media.jar"</item>
</string-array>
<!-- Should the pinner service pin the Camera application? -->
<bool name="config_pinnerCameraApp">true</bool>
<!-- Should the pinner service pin the Home application? -->
<bool name="config_pinnerHomeApp">true</bool>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment