diff options
-rw-r--r-- | res/values/strings.xml | 2 | ||||
-rw-r--r-- | src/com/android/launcher2/Launcher.java | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 59fdfd3..bcb7e9a 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -115,6 +115,8 @@ <!-- Title of dialog when user is selecting shortcut to add to homescreen --> <string name="title_select_shortcut">Select shortcut</string> + <!-- Title of dialog when user is selecting an application to add to homescreen --> + <string name="title_select_application">Select application</string> <!-- Title of dialog when user is selecting live folder to add to homescreen --> <string name="title_select_live_folder">Select folder</string> diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index bdaa43d..c065170 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -1484,6 +1484,7 @@ public final class Launcher extends Activity Intent pickIntent = new Intent(Intent.ACTION_PICK_ACTIVITY); pickIntent.putExtra(Intent.EXTRA_INTENT, mainIntent); + pickIntent.putExtra(Intent.EXTRA_TITLE, getText(R.string.title_select_application)); startActivityForResultSafely(pickIntent, REQUEST_PICK_APPLICATION); } else { startActivityForResultSafely(intent, REQUEST_CREATE_SHORTCUT); |