summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorNader Jawad <njawad@google.com>2018-04-12 17:55:31 -0700
committerNader Jawad <njawad@google.com>2018-04-22 22:12:48 -0700
commite7b5129c1e7ab73b854a2f260a2e77e7d965b4cb (patch)
treeab799b753d58e698f9276e6bba2aee4a9e780fe9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd75cf83aa68fef1b107fd6c0b52d8367f441916c (diff)
Updated Bitmap mutablity documentation and removed Bitmap#mIsMutable
flag Updated Bitmap java and native implementation to redirect queries of mutability to the native implementation provided by Skia. Updated documentation of Bitmap.createBitmap method to accurately describe mutability of the Bitmap result based on various inputs. Removed flag from Bitmap class in favor of querying jni API directly. Updated Bitmap constructor to no longer utilize mutable parameter provided by jni call. Created hidden setImmutable method that invokes corresponding native method to flip the Bitmap's mutability flag. Fixes: 65560449 Test: Re-ran CTS tests and updated Bitmap tests to verify mutability of all creation methods Change-Id: I1b0b9de2fc15369b4e3f83512b866915387ac926
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions