summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author John Wu <topjohnwu@google.com> 2024-08-24 08:40:02 +0000
committer John Wu <topjohnwu@google.com> 2024-08-24 08:40:02 +0000
commite1c97fa712906b6eb4da0e37a55469fe38fc4f14 (patch)
tree97b048290e47c51c31b2d1e61c738427e7348669 /libs/androidfw/FileStream.cpp
parent3bc44be9ed2bbbb6e51c93bd7fd9be898be0a911 (diff)
[Ravenwood] Support context.getResources() without res APK
When a test uses framework resources without including resources of its own, the existing implementation will crash the test. Make sure resources are always available regardless whether the test includes its own resources or not. Bug: 339614874 Flag: EXEMPT host side change only Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh Test: atest RavenwoodServicesTest Change-Id: Ic9000d892d6b899ffbbbecb7d713fee19a601b07
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions