I tried instead to use the following permissions but got the same
result/crashes/messages:
<uses-permission
android:name="android.permission.READ_HISTORY_BOOKMARKS" />
<uses-permission
android:name="android.permission.WRITE_HISTORY_BOOKMARKS" />
If I knew that Read/Write History Bookmarks would no longer be
supported I could remove the features and
proceed with my 1.6 release (obviously I'd prefer not to do that).
But, right now I'm limbo and its holding
up my release.
jh
On Oct 9, 9:46 am, "John B. Hansen" <[email protected]> wrote:
> Here is the message I'm seeing when the activity crashes (which is
> strange because I still have those exact permissions requested in my
> manifest):
>
> 10-09 09:42:05.616: INFO/ActivityManager(74): Starting activity:
> Intent { cmp=com.jbheng/.BookmarkInfo (has extras) }
> 2 10-09 09:42:06.126: WARN/ActivityManager(74): Activity pause
> timeout for HistoryRecord{433b9ad0 com.jbheng/.KeyDirector}
> 3 10-09 09:42:06.236: WARN/InputManagerService(74): Starting input
> on non-focused client com.android.internal.view.IInputMethodClient$Stub
> $pr...@43376078 (uid=10004 pid=16398)
> 4 10-09 09:42:06.316: INFO/ActivityManager(74): Start proc
> com.android.browser for content provider
> com.android.browser/.BrowserProvider: pid=16597 uid=10003 gids={3003}
> 5 10-09 09:42:06.406: INFO/dalvikvm(16597): Debugger thread not
> active, ignoring DDM send (t=0x41504e4d l=38)
> 6 10-09 09:42:06.426: INFO/dalvikvm(16597): Debugger thread not
> active, ignoring DDM send (t=0x41504e4d l=42)
> 7 10-09 09:42:06.696: INFO/ActivityThread(16597): Publishing
> provider browser: com.android.browser.BrowserProvider
> 8 10-09 09:42:06.896: ERROR/DatabaseUtils(16597): Writing exception
> to parcel
> 9 10-09 09:42:06.896: ERROR/DatabaseUtils(16597):
> java.lang.SecurityException: Permission Denial: reading
> com.android.browser.BrowserProvider uri content://browser/bookmarks
> from pid=16398, uid=10004 requi res
> com.android.browser.permission.READ_HISTORY_BOOKMARKS
> 10 10-09 09:42:06.896: ERROR/DatabaseUtils(16597): at
> android.content.ContentProvider$Transport.enforceReadPermission
> (ContentProvider.java:222)
> 11 10-09 09:42:06.896: ERROR/DatabaseUtils(16597): at
> android.content.ContentProvider$Transport.bulkQuery
> (ContentProvider.java:115)
> 12 10-09 09:42:06.896: ERROR/DatabaseUtils(16597): at
> android.content.ContentProviderNative.onTransact
> (ContentProviderNative.java:97)
> 13 10-09 09:42:06.896: ERROR/DatabaseUtils(16597): at
> android.os.Binder.execTransact(Binder.java:287)
> 14 10-09 09:42:06.896: ERROR/DatabaseUtils(16597): at
> dalvik.system.NativeStart.run(Native Method)
> 15 10-09 09:42:07.026: DEBUG/AndroidRuntime(16398): Shutting down VM
> 16 10-09 09:42:07.026: WARN/dalvikvm(16398): threadid=3: thread
> exiting with uncaught exception (group=0x4001da28)
> 17 10-09 09:42:07.036: ERROR/AndroidRuntime(16398): Uncaught handler:
> thread main exiting due to uncaught exception
> 18 10-09 09:42:07.106: INFO/DumpStateReceiver(74): Added state dump
> to 1 crashes
> 19 10-09 09:42:07.126: INFO/ActivityManager(74): Process
> com.android.settings (pid 16423) has died.
> 20 10-09 09:42:07.326: ERROR/AndroidRuntime(16398):
> java.lang.RuntimeException: Unable to start activity ComponentInfo
> {com.jbheng/com.jbheng.BookmarkInfo}: java.lang.SecurityException:
> Permission Denial: re ading com.android.browser.BrowserProvider uri
> content://browser/bookmarks from pid=16398, uid=10004 requires
> com.android.browser.permission.READ_HISTORY_BOOKMARKS
>
> On Oct 9, 9:37 am, "John B. Hansen" <[email protected]> wrote:
>
> > I've been using the following permissions since SDK 1.1:
>
> > <uses-permission
> > android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" /
>
> > <uses-permission
> > android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS" /
>
> > Now, while migrating to 1.6 I'm seeing two things that are surprising:
>
> > 1. The 1.6 release notes are saying those permissions are new (have
> > been added)
>
> >http://developer.android.com/sdk/android-1.6.html#api-changes
>
> > 2. I'm getting the following warnings in Logcat and my activities that
> > use them are crashing:
> > 10-09 09:11:40.476: WARN/PackageManager(74): Unknown permission
> > com.android.browser.permission.READ_HISTORY_BOOKMARKSin package
> > com.jbheng
> > 10-09 09:11:40.476: WARN/PackageManager(74): Unknown permission
> > com.android.browser.permission.WRITE_HISTORY_BOOKMARKS in package
> > com.jbheng
>
> > Is this broke or did I miss something in the 1.6 release notes????
>
> > Any help appreciated....jh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---