Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 11a57f22 authored by Daniel Santiago Rivera's avatar Daniel Santiago Rivera
Browse files

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
parent 51a197d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment