diff options
author | Nader Jawad <njawad@google.com> | 2018-11-28 16:48:07 -0800 |
---|---|---|
committer | Nader Jawad <njawad@google.com> | 2018-11-28 17:10:08 -0800 |
commit | 29cad18bd36e35e509ff25daf8b3ccd4eed1685a (patch) | |
tree | 57a0e632b773028848695543ab952eac07f7b222 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | f66699ae165ce30f1cda1cfd704027a75bf457d2 (diff) |
Hidden API usage Landroid/graphics/Canvas;->mBitmap:Landroid/graphics/Bitmap;
Added maxTargetSdk version for Android P for access of mBitmap field
through reflection. The bitmap field is configured by application usages
only already so there is no need for apps to query the Bitmap from the
Canvas and should do so directly. Getters on Canvas is generally seen
as an anti-pattern.
Bug: 117521088
Test: none
Change-Id: Ie2318248f7682fd4e0a46121bc6e9f5c1546dcfb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions