android - getContentResolver().query(Browser.BOOKMARKS_URI returns null -


getcontentresolver().query(browser.bookmarks_uri returns null while trying query browser history.

explicitly, returns null:

cursor cursor = getcontentresolver().query(browser.bookmarks_uri, browser.history_projection, null, null, browser.bookmarkcolumns.date + " desc"); 

when permission noted:

<uses-permission android:name="com.android.browser.permission.read_history_bookmarks" /> 

and called main activity.

this started happening after latest chrome update.

i have same issue if query done before chrome browser started. once launch chrome, , return app, query works.

the bug being discussed here may related: https://code.google.com/p/chromium/issues/detail?id=497538

if bug cause, looks fix in progress.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -