恢复出厂设置壁纸偏移patch
来源:互联网 发布:mysql update join on 编辑:程序博客网 时间:2024/04/27 19:30
---
.../src/com/android/systemui/ImageWallpaper.java | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/frameworks/base/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java b/frameworks/base/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
index 724679f..912d36f 100644
--- a/frameworks/base/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
+++ b/frameworks/base/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
@@ -276,11 +276,8 @@ public class ImageWallpaper extends WallpaperService {
return;
}
- if (mBackgroundWidth < 0 || mBackgroundHeight < 0) {
- // If we don't yet know the size of the wallpaper bitmap,
- // we need to get it now.
- updateWallpaperLocked();
- }
+ //fix the wallpaper bug after factoryreset, by bruce
+ updateWallpaperLocked();
SurfaceHolder sh = getSurfaceHolder();
final Rect frame = sh.getSurfaceFrame();
--
1.7.9.5
- 恢复出厂设置壁纸偏移patch
- S1恢复出厂设置
- 恢复出厂设置流程
- android-恢复出厂设置
- android-恢复出厂设置
- BIOS恢复出厂设置
- 恢复出厂设置流程
- 小米恢复出厂设置
- Android恢复出厂设置
- Android恢复出厂设置
- IPAD2 恢复出厂设置
- openwrt 恢复出厂设置
- mac 恢复出厂设置
- 恢复出厂设置
- android恢复出厂设置
- 恢复出厂设置
- Android恢复出厂设置
- 恢复出厂设置
- 虚方法【只有虚方法或者抽象方法才能被子类方法重写】
- 常用代码段Android Shortcut操作(快捷方式)
- 【北京站】IT运维免费培训火爆进行时,还有惊喜礼品哦~
- poj 2082——Terrible Sets
- 创建指定时间段内的日历信息
- 恢复出厂设置壁纸偏移patch
- 储存器-大端模式与小端模式
- IOS判断是否有效银行卡号
- 教育行业OA办公系统
- spring jdbc 事务配置----TransactionTemplate使用
- 面向对象中的顶级装备《多态》
- Non-terminating decimal expansion; no exact representable decimal result
- [每日练习]如何使用一个指针来实现双向链表操作
- hdu-2256 How Many Equations Can You Find