New bookmark list widget
Bug: 3144077 and 2988059
This replaces the old stack based widget with a list based one. It
also updates whenever the bookmarks changes rather than periodically
Change-Id: Ie37978918bab441bf31a6131360e308cd2bc0f4b
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 89e93dc..8e6934c 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -200,19 +200,22 @@
android:configChanges="orientation|keyboardHidden" android:windowSoftInputMode="stateHidden">
</activity>
+ <!-- Bookmark list homescreen widget -->
<receiver
- android:name=".widget.BookmarkStackWidgetProvider"
+ android:name=".widget.BookmarkListWidgetProvider"
android:label="@string/bookmarks">
<intent-filter>
<action
android:name="android.appwidget.action.APPWIDGET_UPDATE" />
+ <action
+ android:name="com.android.browser.BOOKMARK_APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
- android:resource="@xml/bookmarkstackwidget" />
+ android:resource="@xml/bookmarklistwidget_info" />
</receiver>
<service
- android:name=".widget.BookmarkStackWidgetService"
+ android:name=".widget.BookmarkListWidgetService"
android:exported="true" />
<!-- Makes .BrowserActivity the search target for any activity in Browser -->