Extension installed before main app has no permissions

Bug #818670 reported by pjv
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Collectionista
Fix Released
High
Unassigned

Bug Description

Probably because the permissions aren't declared yet and this is all checked at install time. Double declaring might help.

pjv (pjv)
Changed in collectionista:
importance: Undecided → High
pjv (pjv)
Changed in collectionista:
status: New → Fix Committed
Revision history for this message
pjv (pjv) wrote :
Download full text (3.5 KiB)

05-05 15:06:05.496: E/AndroidRuntime(25717): FATAL EXCEPTION: main
05-05 15:06:05.496: E/AndroidRuntime(25717): java.lang.RuntimeException: Unable to start activity ComponentInfo{net.lp.collectionista.ext.sheet_music/net.lp.collectionista.ui.activities.collections.sheet_music.SheetMusicCollectionViewWindow}: java.lang.SecurityException: Not allowed to bind to service Intent { act=net.lp.collectionista.BIND_INTER_PROCESS_MESSENGER_SERVICE }
05-05 15:06:05.496: E/AndroidRuntime(25717): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956)
05-05 15:06:05.496: E/AndroidRuntime(25717): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
05-05 15:06:05.496: E/AndroidRuntime(25717): at android.app.ActivityThread.access$600(ActivityThread.java:123)
05-05 15:06:05.496: E/AndroidRuntime(25717): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
05-05 15:06:05.496: E/AndroidRuntime(25717): at android.os.Handler.dispatchMessage(Handler.java:99)
05-05 15:06:05.496: E/AndroidRuntime(25717): at android.os.Looper.loop(Looper.java:137)
05-05 15:06:05.496: E/AndroidRuntime(25717): at android.app.ActivityThread.main(ActivityThread.java:4424)
05-05 15:06:05.496: E/AndroidRuntime(25717): at java.lang.reflect.Method.invokeNative(Native Method)
05-05 15:06:05.496: E/AndroidRuntime(25717): at java.lang.reflect.Method.invoke(Method.java:511)
05-05 15:06:05.496: E/AndroidRuntime(25717): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
05-05 15:06:05.496: E/AndroidRuntime(25717): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
05-05 15:06:05.496: E/AndroidRuntime(25717): at dalvik.system.NativeStart.main(Native Method)
05-05 15:06:05.496: E/AndroidRuntime(25717): Caused by: java.lang.SecurityException: Not allowed to bind to service Intent { act=net.lp.collectionista.BIND_INTER_PROCESS_MESSENGER_SERVICE }
05-05 15:06:05.496: E/AndroidRuntime(25717): at android.app.ContextImpl.bindService(ContextImpl.java:1135)
05-05 15:06:05.496: E/AndroidRuntime(25717): at android.content.ContextWrapper.bindService(ContextWrapper.java:370)
05-05 15:06:05.496: E/AndroidRuntime(25717): at net.lp.collectionista.ui.activities.collections.sheet_music.SheetMusicCollectionViewWindow.doBindService(SheetMusicCollectionViewWindow.java:235)
05-05 15:06:05.496: E/AndroidRuntime(25717): at net.lp.collectionista.ui.activities.collections.sheet_music.SheetMusicCollectionViewWindow.onCreate(SheetMusicCollectionViewWindow.java:409)
05-05 15:06:05.496: E/AndroidRuntime(25717): at android.app.Activity.performCreate(Activity.java:4465)
05-05 15:06:05.496: E/AndroidRuntime(25717): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
05-05 15:06:05.496: E/AndroidRuntime(25717): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
05-05 15:06:05.496: E/AndroidRuntime(25717): ... 11 more
05-05 15:06:05.527: W/ActivityManager(193): Force finishing activity net.lp.collectionista.ext.sheet_music/net.lp.collectionista.ui.activities.collections.sheet_music.SheetMusicCollectionViewWindow
05-05 15:06:05.527: W/ActivityManager...

Read more...

Revision history for this message
pjv (pjv) wrote :
Download full text (3.6 KiB)

05-05 15:19:31.902: E/JavaBinder(19889): at android.database.IContentObserver$Stub.onTransact(IContentObserver.java:53)
05-05 15:19:31.902: E/JavaBinder(19889): at android.os.Binder.execTransact(Binder.java:338)
05-05 15:19:31.902: E/JavaBinder(19889): at dalvik.system.NativeStart.run(Native Method)
05-05 15:19:47.652: W/ThrottleService(193): unable to find stats for iface rmnet0
05-05 15:20:01.300: I/CalendarProvider2(26627): Sending notification intent: Intent { act=android.intent.action.PROVIDER_CHANGED dat=content://com.android.calendar }
05-05 15:20:01.300: W/ContentResolver(26627): Failed to get type for: content://com.android.calendar (Unknown URL content://com.android.calendar)
05-05 15:20:01.324: I/ActivityManager(193): No longer want com.google.android.apps.authenticator (pid 26314): hidden #16
05-05 15:20:07.574: I/ActivityManager(193): Start proc com.joelapenna.foursquared for broadcast com.joelapenna.foursquared/.appwidget.VenuesAppWidgetProvider: pid=26661 uid=10093 gids={3003, 1015, 1007}
05-05 15:20:07.581: I/dalvikvm(26661): Turning on JNI app bug workarounds for target SDK version 10...
05-05 15:20:07.675: D/dalvikvm(26661): GC_CONCURRENT freed 173K, 2% free 12947K/13191K, paused 2ms+2ms
05-05 15:20:07.777: I/ActivityThread(26661): Pub com.joelapenna.foursquared: com.joelapenna.foursquared.providers.GlobalSearchProvider
05-05 15:20:07.785: I/ActivityThread(26661): Pub com.joelapenna.foursquared.providers.ExploreSearchSuggestionProvider: com.joelapenna.foursquared.providers.ExploreSearchSuggestionProvider
05-05 15:20:07.785: I/ActivityThread(26661): Pub com.joelapenna.foursquared.providers.VenueQuerySuggestionsProvider: com.joelapenna.foursquared.providers.VenueQuerySuggestionsProvider
05-05 15:20:07.785: I/ActivityThread(26661): Pub com.joelapenna.foursquared.providers.foursquarebridgeprovider: com.joelapenna.foursquared.providers.FoursquareBridgeProvider
05-05 15:20:07.792: I/ActivityThread(26661): Pub com.joelapenna.foursquared.providers.FriendsSearchSuggestionProvider: com.joelapenna.foursquared.providers.FriendsSearchSuggestionProvider
05-05 15:20:07.792: I/ActivityThread(26661): Pub com.joelapenna.foursquared.providers.UnifiedSearchSuggestionProvider: com.joelapenna.foursquared.providers.UnifiedSearchSuggestionProvider
05-05 15:20:07.941: D/androidNetworkLocationListeners(17545): Still have listener com.google.android.location.internal.client.NetworkLocationClient$1@416ea2c0
05-05 15:20:07.964: D/androidNetworkLocationListeners(17545): Still have listener com.google.android.location.internal.client.NetworkLocationClient$1@416ea2c0
05-05 15:20:07.972: D/androidNetworkLocationListeners(17545): Still have listener com.google.android.location.internal.client.NetworkLocationClient$1@416ea2c0
05-05 15:20:08.011: D/dalvikvm(26661): GC_CONCURRENT freed 152K, 3% free 13228K/13575K, paused 1ms+1ms
05-05 15:20:08.042: D/androidNetworkLocationListeners(17545): Still have listener com.google.android.location.internal.client.NetworkLocationClient$1@416ea2c0
05-05 15:20:08.066: D/androidNetworkLocationListeners(17545): Still have listener com.google.android.location.internal.client.NetworkLocationClient$1@416ea2c0
05-05 15:20:08.77...

Read more...

pjv (pjv)
Changed in collectionista:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.