• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/base


Commit MetaInfo

Révisiond52eff672729e7bf6735b969e96d3d2f5c307afb (tree)
l'heure2019-12-18 09:34:12
AuteurTreeHugger Robot <treehugger-gerrit@goog...>
CommiterAndroid (Google) Code Review

Message de Log

Merge "Fix lock screen wallpaper" into qt-qpr1-dev

Change Summary

Modification

--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
@@ -694,6 +694,8 @@ public class StatusBar extends SystemUI implements DemoMode,
694694
695695 mKeyguardManager = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE);
696696 mFalsingManager = Dependency.get(FalsingManager.class);
697+ mWallpaperSupported =
698+ mContext.getSystemService(WallpaperManager.class).isWallpaperSupported();
697699
698700 // Connect in to the status bar manager service
699701 mCommandQueue = getComponent(CommandQueue.class);
@@ -708,9 +710,6 @@ public class StatusBar extends SystemUI implements DemoMode,
708710
709711 createAndAddWindows(result);
710712
711- mWallpaperSupported =
712- mContext.getSystemService(WallpaperManager.class).isWallpaperSupported();
713-
714713 if (mWallpaperSupported) {
715714 // Make sure we always have the most current wallpaper info.
716715 IntentFilter wallpaperChangedFilter = new IntentFilter(Intent.ACTION_WALLPAPER_CHANGED);