Use Wallpapers title for TopLevelPickerActivity
Use the correct title for the standalone WallpaperPicker
Activity.
Bug: 118758604
Change-Id: Iebc1595d0d93f244cc9feaa034ffd9038c13040d
diff --git a/src/com/android/wallpaper/picker/TopLevelPickerActivity.java b/src/com/android/wallpaper/picker/TopLevelPickerActivity.java
index 922d75e..3887309 100755
--- a/src/com/android/wallpaper/picker/TopLevelPickerActivity.java
+++ b/src/com/android/wallpaper/picker/TopLevelPickerActivity.java
@@ -250,7 +250,8 @@
mUserEventLogger.logAppLaunched();
DailyLoggingAlarmScheduler.setAlarm(getApplicationContext());
- CategoryFragment newFragment = new CategoryFragment();
+ CategoryFragment newFragment = CategoryFragment.newInstance(
+ getString(R.string.wallpaper_app_name));
fm.beginTransaction()
.add(R.id.fragment_container, newFragment)
.commit();