A fix yesterday for #7428221 caused a regression where new orientations would
sometimes cause a flash through black on the way to seeing the real static wallpaper.
There is a fundamental problem in WindowManagerService where we show a window before
it has all of the layout/sizing information it needs, which is the cause of the black
flash. The regression yesterday was that we are now less aggressive about layout out
hidden windows, so we won't layout the window until after the window is shown with the
incorrect sizing info.
The fix/workaround is to back off the layout logic specifically for the wallpaper,
ensuring that we will lay it out on orientation changes, even when hidden. This means that
when we finally do show it, it will already have been drawn in the correct orientation/size.
Issue #7444971 Home jank regression
Change-Id: Ib20fdabc43ece9720b261bf04b272c5511e2d902
The opacity calculation for a gradient drawable of shape must take
rounded corners into account - if the corner radius is nonzero, then the
shape is translucent rather than opaque. Previously the code always
assumed that such rectangles were fully opaque, which led to the
background (visible behind the rectangle) not getting drawn.
This patch simply checks for corner radius in addition to shape and
computes opacity as translucent in the nonzero case.
Change-Id: Iaf4d24abc6ecf49f85c82972b8f998700c83295e
Broken Build:
frameworks/base/core/res/res/values/symbols.xml:558: error: Symbol 'keyguard_accessibility_widget_changed' declared with <java-symbol> not defined
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
This reverts commit 9ab7f479f9ca5f1e27aa09b5f6073d88b8e98f60
Change-Id: I448e20bb060ebfe5f351b5a3d906d9e7768252b1
Broken Build:
frameworks/base/core/res/res/values/symbols.xml:558: error: Symbol 'keyguard_accessibility_widget_changed' declared with <java-symbol> not defined
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
This reverts commit 30a3eeaa4bc8d654b6ff3beb109b6af3f347b135
Change-Id: I505c6c1f3444c80519fbee50d7dda656f5c9b76e
Broken Build:
frameworks/base/core/res/res/values/symbols.xml:558: error: Symbol 'keyguard_accessibility_widget_changed' declared with <java-symbol> not defined
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
This reverts commit c9346832109236cf880343651e4bd3227a2c7f71
Change-Id: Iecba0e628a2a754b652c3b8af3ccc19c3f0d4ccb
* commit '69376b74b5b45b5d45193242e1609ae5eecd0a77': (23 commits)
Fix ordering bug
Track size changes correctly for static wallpapers
Stop reloading wallpaper bitmap
Avoid redundant wallpaper loading/drawing
Show clear all when returning from flip quick settings.
Fade out the notification/settings panels just before close.
Fix Bluetooth QS tile.
Fixes for QS:
Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."
Hide settings button from tablet notification panel.
Quickening.
Fix ApplicationInfo copy ctor
Fix NPE in quick settings tiles.
Fix for bug 7358703 Gmail ANR when trying to compose a message
Fix inoperative "Forgot pattern" button when face unlock enabled
Add new tablet sound set Bug: 7351672
Update alarm sounds and tune some ringtones Bug: 7351672 Bug: 5502770 Bug: 7312457
Flipping quick settings!
Flag window animation transactions as animations.
Fix inoperative "Forgot pattern" button when face unlock enabled
...