diff options
author | Mihai Popa <popam@google.com> | 2019-01-14 11:45:36 +0000 |
---|---|---|
committer | Mihai Popa <popam@google.com> | 2019-01-14 11:45:36 +0000 |
commit | 0374b62bbeffa880714a5815576ddd2fc416e58d (patch) | |
tree | 2f36fa8856673ce10d3a394bc51d77b38232ff04 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | c43bf0957bdcd241f027fbdb285f5a867cd3c232 (diff) |
Fix TextView#setTextCursorDrawable for resid=0
The CL fixes TextView#setTextCursorDrawable, for the case when a zero
drawable resource id is passed. We want to set a null Drawable, but the
Context#getDrawable(0) call was throwing rather than returning null.
Bug: 122742983
Test: atest CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I45bf57002043d7dbe541d76e61fce3f729959fc8
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions