From 11197dd8a81f0640ad09184138acde22d84f602a Mon Sep 17 00:00:00 2001 From: Calin Juravle Date: Fri, 14 May 2021 11:28:04 -0700 Subject: [PATCH] Allow others to read the profile ref dir ART wants to optimize the time when the profile information is saved for an app. To do so, it needs access to both, the current profile, and the reference profile. This will allow ART to access the ref profiles, which previously was not needed. Test: m & flash Bug: 185979271 Change-Id: Ie07bce81d2fba9c0b0ae4f322418e960c024e15d --- rootdir/init.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index 1013d4118..6e85da58b 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -762,7 +762,7 @@ on post-fs-data # profile file layout mkdir /data/misc/profiles 0771 system system mkdir /data/misc/profiles/cur 0771 system system - mkdir /data/misc/profiles/ref 0770 system system + mkdir /data/misc/profiles/ref 0771 system system mkdir /data/misc/profman 0770 system shell mkdir /data/misc/gcov 0770 root root mkdir /data/misc/installd 0700 root root