commit | cc0f7f99dde14703c9074f44fe01b139c888e486 | [log] [tgz] |
---|---|---|
author | Valentin Iftime <valiiftime@google.com> | Mon May 11 15:15:47 2020 +0200 |
committer | Valentin Iftime <valiiftime@google.com> | Tue May 12 13:40:27 2020 +0200 |
tree | c304889ad987f091c686a4e1af27625bf25ffa35 | |
parent | e6e7cdf1afd3cb7ef5f5ebf5730a954cb1542c9b [diff] |
Check for mSurfaceController in setWallpaperPositionAndScale WindowSurfacePlacer#performSurfacePlacement calls WallpaperController#updateWallpaperOffset before the wallpaper window creates its surface control Test: adb reboot; adb shell logcat | grep 'Attempt to invoke virtual method 'void com.android.server.wm.WindowSurfaceController.setPositionInTransaction(float, float, boolean)' on a null object reference' Bug: 155998607 Change-Id: Ib1483a5849192b1a42c14383e6dd9e96684de2cc