Files
frameworks_base/core/java/android/view
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
..
2015-06-18 03:16:21 +01:00
2016-07-11 13:52:22 -07:00
2015-03-27 11:50:56 -07:00
2015-02-18 07:49:03 -08:00
2016-06-21 17:13:15 -07:00
2016-08-16 09:44:23 -07:00
2016-03-09 16:34:49 -05:00
2016-03-28 21:58:30 +00:00