From 94cc9e9c99802c08415fda64653230e295aa8d3c Mon Sep 17 00:00:00 2001 From: shengchiliu Date: Tue, 7 Feb 2023 18:36:09 -0800 Subject: [PATCH] Create a folder to store the calibration file This folder was created previously by a factory calibration script. On some 2023 devices, auto calibration will replace factory calibration, so the folder won't be automatically created in the factory anymore. We create the folder as part of the device initialization, so it is available by the time we try to write a new calibration file into the folder. Bug: 246991030 Test: test on device Change-Id: I8548bc7f7058f435cf3df6734de33bed62b86469 --- conf/init.zuma.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/init.zuma.rc b/conf/init.zuma.rc index 6af437f9..05908533 100644 --- a/conf/init.zuma.rc +++ b/conf/init.zuma.rc @@ -391,6 +391,7 @@ on post-fs-data chmod 0771 /mnt/vendor/persist/camera chmod 0771 /mnt/vendor/persist/camera/OTP_calibration chmod 0771 /mnt/vendor/persist/camera/pdaf_calibration_data + mkdir /mnt/vendor/persist/camera/rear 0771 system camera chmod 0771 /mnt/vendor/persist/camera/rear # Audio dump and debug