mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Merge "Adding more specific title for pick-application dialog." into gingerbread
This commit is contained in:
@@ -88,6 +88,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>
|
||||
|
||||
|
||||
@@ -1234,6 +1234,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);
|
||||
|
||||
Reference in New Issue
Block a user