commit | 079cea9a7e1e7a7c6f819adf51428e6b172d480f | [log] [tgz] |
---|---|---|
author | yro <yro@google.com> | Fri Jan 12 00:00:15 2018 -0800 |
committer | yro <yro@google.com> | Fri Jan 12 13:51:48 2018 -0800 |
tree | feff761344b62733715f18984c3cf78413b06b2d | |
parent | 69799885f382a9813256526d54f03af5bf672edb [diff] |
Create /data/misc/stats-data/ and /data/misc/stats-service/ in statsd.rc rather than during the runtime of statsd The purpose of this change is to prevent causing selinux violation by trying to mkdir to /data/misc/ directory when statsd doesn't have permission to do so. Bug: 71537285 Test: manually tested to make sure that there's no sepolicy violation Change-Id: I9c4ccecc416f41923c9b24dd44a388d135fecc07