Mihai Popa
0374b62bbe
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
2019-01-14 11:45:36 +00:00
..
2018-12-28 14:26:35 +00:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-11-14 17:27:26 +00:00
2018-08-21 16:08:34 +01:00
2018-11-15 09:50:16 -08:00
2018-08-21 16:08:34 +01:00
2018-10-22 17:28:24 -07:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-11-14 17:27:26 +00:00
2018-09-18 12:00:24 -07:00
2018-08-21 16:08:34 +01:00
2018-09-17 16:47:08 -07:00
2018-08-21 16:08:34 +01:00
2018-03-21 10:40:43 -04:00
2018-09-17 09:38:14 -04:00
2018-08-21 16:08:34 +01:00
2018-12-06 10:39:34 +00:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-12-28 14:26:35 +00:00
2018-08-21 16:08:34 +01:00
2018-12-03 14:17:45 +00:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-11-27 19:09:24 +00:00
2018-11-22 15:17:54 +00:00
2018-08-21 16:08:34 +01:00
2018-12-28 14:26:35 +00:00
2019-01-10 16:12:35 +00:00
2018-12-28 14:26:35 +00:00
2018-11-30 11:07:08 +00:00
2018-08-21 16:08:34 +01:00
2018-08-23 14:53:16 -07:00
2018-08-21 16:08:34 +01:00
2018-12-28 14:26:35 +00:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-11-14 17:27:26 +00:00
2018-08-21 16:08:34 +01:00
2018-11-22 15:17:54 +00:00
2018-12-06 03:36:05 +00:00
2018-12-06 08:59:43 -08:00
2018-12-04 02:33:53 -08:00
2018-12-04 02:33:53 -08:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-10-22 17:28:24 -07:00
2018-08-21 16:08:34 +01:00
2019-01-03 14:20:30 +00:00
2018-09-17 15:17:50 -07:00
2018-12-28 14:26:35 +00:00
2018-12-28 14:26:35 +00:00
2018-08-21 16:08:34 +01:00
2018-06-11 17:41:45 -07:00
2018-08-21 16:08:34 +01:00
2018-04-18 16:19:59 -04:00
2018-11-16 09:19:37 -08:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-03-21 11:26:09 -04:00
2019-01-14 11:45:36 +00:00
2018-08-21 16:08:34 +01:00
2019-01-09 06:39:18 -08:00
2018-09-17 16:47:08 -07:00
2018-10-22 17:28:24 -07:00
2018-10-22 17:28:24 -07:00
2018-12-28 14:26:35 +00:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00
2018-08-21 16:08:34 +01:00