diff options
-rw-r--r-- | AndroidManifest.xml | 3 | ||||
-rwxr-xr-x | res/drawable/ic_launcher_browser.png | bin | 3426 -> 3610 bytes | |||
-rw-r--r-- | res/drawable/ic_launcher_shortcut_browser_bookmark.png | bin | 0 -> 2899 bytes | |||
-rw-r--r-- | src/com/android/browser/BrowserBookmarksPage.java | 2 |
4 files changed, 3 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index e58231a..c67cc97 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -140,7 +140,8 @@ <activity-alias android:name="ShortcutBookmarksPage" android:targetActivity="BrowserBookmarksPage" - android:label="@string/shortcut_bookmark"> + android:label="@string/shortcut_bookmark" + android:icon="@drawable/ic_launcher_shortcut_browser_bookmark"> <intent-filter> <action android:name="android.intent.action.CREATE_SHORTCUT" /> diff --git a/res/drawable/ic_launcher_browser.png b/res/drawable/ic_launcher_browser.png Binary files differindex f58b84a..47c79d1 100755 --- a/res/drawable/ic_launcher_browser.png +++ b/res/drawable/ic_launcher_browser.png diff --git a/res/drawable/ic_launcher_shortcut_browser_bookmark.png b/res/drawable/ic_launcher_shortcut_browser_bookmark.png Binary files differnew file mode 100644 index 0000000..e144727 --- /dev/null +++ b/res/drawable/ic_launcher_shortcut_browser_bookmark.png diff --git a/src/com/android/browser/BrowserBookmarksPage.java b/src/com/android/browser/BrowserBookmarksPage.java index 5865596..050b24b 100644 --- a/src/com/android/browser/BrowserBookmarksPage.java +++ b/src/com/android/browser/BrowserBookmarksPage.java @@ -222,7 +222,7 @@ public class BrowserBookmarksPage extends Activity implements i.putExtra(Intent.EXTRA_SHORTCUT_NAME, title); i.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, Intent.ShortcutIconResource.fromContext(BrowserBookmarksPage.this, - R.drawable.ic_launcher_browser_favorite)); + R.drawable.ic_launcher_shortcut_browser_bookmark)); // Do not allow duplicate items i.putExtra("duplicate", false); return i; |