summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryRemoteTest.cpp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-06-07 19:18:46 +0900
committerJiyong Park <jiyong@google.com>2019-06-10 13:06:39 +0900
commitd2217b51679ac96c5f05e3c91b4b3fe840cf274f (patch)
tree736e6b42c00c3a2c056d628127f68053261c6d0c /libunwindstack/tests/MemoryRemoteTest.cpp
parenta850fb2d1e2aaa24d508b41f8257b721a8a9c391 (diff)
Read *.rc files from flattened APEX
This change fixes a bug that *.rc files in APEXes are not read when the APEXes are flattened. This was because init used "/apex/*@*/etc/*.rc" glob pattern to find the files, which gives 0 result with flattened APEXes; with flattend APEXes /system/apex is just bind-mounted to /apex, and therefore, the name@version directories don't exist. Fixing the issue by globing /apex/*/etc/*.rc and filter-out the paths with @ to avoid double parsing the *.rc files in case of non-flattend APEXes. Bug: 134067086 Test: revert I75ec6b69cca1cef071b50fac9a4cf8b8ceddb142 build sdk_gphone_x86_64 and record a video in the camera app. The recording works. `ps -A | grep media.swcodec` shows media.swcodec process. `atest CtsStatsdHostTestCases:android.cts.statsd.atom.UidAtomTests#testAudioState` passes Test: build sdk_phone_x86_64 and do the same. Change-Id: I00af1910a8e8a330addc4c6903e5f3695aeb6865
Diffstat (limited to 'libunwindstack/tests/MemoryRemoteTest.cpp')
0 files changed, 0 insertions, 0 deletions