summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorDaniel Santiago Rivera <danysantiago@google.com>2019-02-07 10:01:24 -0800
committerDaniel Santiago Rivera <danysantiago@google.com>2019-02-08 10:23:02 -0800
commit11a57f22b4b81c341ba7f5f375f9dfba1bbabacf (patch)
treeca0e0201236f52bada18d099fd7616351d6ca923 /tools/aapt2/java/JavaClassGenerator.cpp
parent51a197d06f2c9fb5414a04361611099791fb0971 (diff)
Restrict reflection access to NumberPickers's mSelectionWheelPaint
Applications reflecting into mSelectionWheelPaint do it because there is no API for correctly updating the text size and color at runtime. Since the NumberPicker is composed of an EditText and an additional paint to draw the scroll wheel numbers, developers found themselves reflecting on the paint since updating the EditText child is not enough. This CL restrict access to mSelectionWheelPaint but add an alternative API for updating the NumberPicker's text size and color at runtime. Bug: 123769712 Test: NumberPickerTest Change-Id: I9f5a0275916a6852a6378e5ffae5a9a171b9cd51
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions