From 87f55fe2af50f7df0ee2670ee2d92f2c291bc97e Mon Sep 17 00:00:00 2001 From: Hongming Jin Date: Tue, 9 Feb 2021 11:54:46 -0800 Subject: [PATCH] Create /data/misc/a11ytrace folder to store accessibility trace data. Bug: 157601519 Test: manual check Change-Id: I0a12246c8b30e8c68e1dd1fa80135f8945f343dc --- rootdir/init.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index 03af4f330..3cabecc95 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -722,6 +722,8 @@ on post-fs-data mkdir /data/misc/trace 0700 root root # create location to store surface and window trace files mkdir /data/misc/wmtrace 0700 system system + # create location to store accessibility trace files + mkdir /data/misc/a11ytrace 0700 system system # profile file layout mkdir /data/misc/profiles 0771 system system mkdir /data/misc/profiles/cur 0771 system system @@ -1169,6 +1171,8 @@ on property:ro.debuggable=1 chmod 0773 /data/misc/trace # Give reads to anyone for the window trace folder on debug builds. chmod 0775 /data/misc/wmtrace + # Give reads to anyone for the accessibility trace folder on debug builds. + chmod 0775 /data/misc/a11ytrace on init && property:ro.debuggable=1 start console