summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2020-07-16 09:47:20 -0700
committerFelka Chang <felkachang@google.com>2020-07-27 10:10:49 +0800
commitb594b6f09b582722221a2b269dfb62ed5bb723a7 (patch)
tree4ef1e04c942a776a8ae321afa18c48c5c721e6ba /tools/aapt2/java/JavaClassGenerator_test.cpp
parent47cdc972114283f57160a8379a0a20eec89a5bbf (diff)
Fix UnsupportedOperationException in CutoutSpecificationBenchmark
Exception was due to an exception from trying to get the display from the app context, instead of an Activity context. java.lang.UnsupportedOperationException: Tried to obtain display from a Context not associated with one. In order to fix that and fix the display metrics factor, the CutoutSpecificationBenchmark only run for the resolution 1080x1920 and density is 3.5f. Test: atest CutoutSpecificationBenchmark Change-Id: I0be9d09a859c5b3a8c5abff11a3d06d809edf9ab
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions