debug: 添加 Fragment 端的调试日志
This commit is contained in:
1 parent
bd50ea8b25
commit
829614b34a
2 files changed
+3
No files matched your search
@@ -123,6 +123,7 @@ public class CurrentWallpaperFragment extends Fragment {
|
||||
return;
|
||||
}
|
||||
|
||||
android.util.Log.i("CurrentWallpaperFragment", "changeWallpaperNow: sending broadcast");
|
||||
// 发送广播通知壁纸服务立即更换壁纸
|
||||
Intent intent = new Intent("cn.hugh.bz.gk2.ACTION_CHANGE_WALLPAPER");
|
||||
intent.putExtra("force_change", true); // 用户主动触发
|
||||
@@ -145,6 +146,7 @@ public class CurrentWallpaperFragment extends Fragment {
|
||||
return;
|
||||
}
|
||||
|
||||
android.util.Log.i("CurrentWallpaperFragment", "showNextWallpaper: sending broadcast");
|
||||
// 发送广播通知壁纸服务切换到下一张
|
||||
Intent intent = new Intent("cn.hugh.bz.gk2.ACTION_CHANGE_WALLPAPER");
|
||||
intent.putExtra("force_change", true); // 用户主动触发
|
||||
|
||||
@@ -227,6 +227,7 @@ public class HomeFragment extends Fragment {
|
||||
return;
|
||||
}
|
||||
|
||||
android.util.Log.i("HomeFragment", "changeWallpaperNow: sending broadcast");
|
||||
// 发送广播通知壁纸服务立即更换壁纸
|
||||
Intent intent = new Intent("cn.hugh.bz.gk2.ACTION_CHANGE_WALLPAPER");
|
||||
intent.putExtra("force_change", true); // 用户主动触发
|
||||
|
||||
Reference in new issue
Block a user