Mattias Petersson d9463f50c8 Fix for crash when setting live wallpaper.
This fix prevents a crash that sometimes happens when setting a
live wallpaper. It happened when pressing "Set wallpaper" button
in the live wallpaper preview activity, before the preview was
fully loaded.

The crash happened in native code while updating the wallpaper
surface when calling mInputChannel.registerInputChannel(),
because the previous call to
mSession.add(mWindow, mLayout, View.VISIBLE, mContentInsets,
             mInputChannel)
had failed. The fix aborts the surface update when it is not
possible to add the window.

Change-Id: I0e79a851e5c7f7b15eb07043c63d1f4d78f14616
2011-01-12 15:41:55 +01:00
2010-12-02 07:55:06 -08:00
2010-11-30 16:27:42 +09:00
2011-01-07 11:10:49 -08:00
2010-10-27 08:38:30 +02:00
2010-11-13 22:02:13 -08:00
2010-12-21 10:26:48 -08:00
2010-10-28 16:37:43 -07:00
2010-11-04 16:17:52 -07:00
Description
No description provided
5.1 GiB
Languages
Java 77.3%
Kotlin 9.2%
PowerBuilder 6.6%
C++ 5.5%
AIDL 1%