Adam Powell
64e1ba4398
Only dispatch window visibility aggregation for targetSdk >= N
...
Some existing apps treat drawable visibility notifications as a signal
to crossfade from a placeholder to the new image for the purposes of
scrolling onscreen via a recycling collection view or similar. Since
dispatchVisibilityAggregated is now called for window visibility
changes and ImageView informs its drawable of the visiblity change,
the extra call triggers a repeat fade-in in some existing apps when
you return them to visibility.
These apps should pay attention to the second parameter of
Drawable#setVisible, which signals that animations should not restart
in response to a visibility change. Updating to targetSdkVersion=24+
will enable the new behavior.
Bug 30216207
Change-Id: I27ce9f09bc7544863f7f7980c273650949db21cc
2016-08-22 17:47:09 +00:00
..
2016-07-19 16:44:28 -07:00
2016-08-05 09:16:06 -07:00
2016-06-30 16:27:46 -07:00
2016-03-16 17:22:27 -07:00
2016-04-22 13:52:08 +01:00
2016-02-19 16:29:33 -08:00
2015-06-18 03:16:21 +01:00
2015-06-30 11:17:57 +01:00
2015-08-19 12:20:46 -07:00
2015-08-19 12:20:46 -07:00
2015-09-24 14:31:11 -07:00
2016-08-05 09:16:06 -07:00
2015-02-18 07:49:03 -08:00
2016-04-04 15:24:48 -07:00
2015-05-11 15:02:07 -07:00
2016-07-26 18:18:53 +01:00
2016-06-24 22:11:27 +00:00
2015-04-17 15:24:31 -07:00
2016-07-26 18:18:53 +01:00
2016-04-21 14:48:04 -07:00
2016-06-21 12:57:52 -07:00
2016-07-11 13:52:22 -07:00
2015-11-05 16:28:45 -08:00
2015-05-13 21:42:28 +00:00
2016-08-02 09:38:26 -07:00
2016-04-21 14:20:42 -07:00
2015-02-28 14:47:49 -05:00
2015-06-05 14:41:22 -07:00
2015-06-05 17:21:40 -07:00
2015-09-01 16:00:20 -04:00
2015-06-05 09:02:55 -07:00
2016-03-24 16:06:46 -07:00
2015-11-06 16:12:59 +01:00
2016-04-14 20:45:56 -07:00
2015-03-27 11:50:56 -07:00
2016-05-17 18:02:32 +01:00
2015-05-14 14:48:08 +01:00
2016-03-24 11:47:32 +00:00
2016-07-21 10:17:39 -07:00
2016-05-04 12:40:39 -07:00
2016-01-29 02:07:22 +00:00
2016-04-21 10:33:11 +01:00
2016-06-22 15:18:13 -07:00
2015-12-31 12:32:40 +00:00
2016-04-15 14:30:47 -07:00
2015-02-18 07:49:03 -08:00
2015-06-10 11:39:01 +01:00
2015-06-10 11:39:01 +01:00
2016-04-20 18:35:57 +00:00
2016-06-15 16:30:09 -07:00
2016-05-17 18:02:32 +01:00
2016-01-11 15:15:42 -08:00
2016-06-09 10:27:59 -07:00
2015-10-12 18:24:40 -07:00
2016-02-04 16:29:51 -08:00
2016-07-26 17:07:28 +01:00
2016-04-04 14:42:24 -07:00
2015-06-08 16:52:36 +00:00
2015-02-18 07:49:03 -08:00
2016-06-21 17:13:15 -07:00
2016-07-18 19:49:18 +01:00
2016-08-02 01:55:01 +00:00
2016-08-16 09:44:23 -07:00
2016-08-09 12:11:13 -07:00
2016-08-17 19:41:40 +00:00
2016-04-07 16:13:27 -07:00
2015-06-05 03:35:15 +01:00
2015-09-11 17:15:19 -07:00
2016-05-19 15:03:36 +00:00
2016-03-09 16:34:49 -05:00
2015-05-07 18:44:15 -07:00
2016-03-14 08:34:36 -04:00
2016-04-20 14:28:39 -07:00
2016-03-31 11:15:27 -07:00
2016-08-22 17:47:09 +00:00
2015-07-07 16:47:37 -07:00
2015-02-18 07:49:03 -08:00
2016-05-03 07:13:28 +09:00
2016-03-25 14:04:25 -07:00
2016-03-24 11:47:32 +00:00
2016-03-29 08:41:09 -07:00
2016-03-28 21:58:30 +00:00
2016-08-16 19:49:29 +00:00
2016-05-12 13:37:05 -07:00
2016-06-21 17:55:58 -07:00
2016-05-15 20:05:56 -07:00
2016-08-12 13:41:00 -04:00