cbitstech / Purple-Robot

Sensing and automation platform for Android.
Other
38 stars 19 forks source link

Error when adding a widget and navigating home on Nexus 7 #209

Closed ericcf closed 10 years ago

ericcf commented 10 years ago

This problem only occurs when the Home icon is pressed. The widget is removed from the home screen without warning. If the Back icon is pressed, the widget remains.

Steps to reproduce:

  1. long hold a Purple Robot widget, then drop it on the home screen
  2. press the Home icon

The following stack trace was observed with adb logcat:

I/ActivityManager( 498): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/com.android.launcher2.Launcher} from pid 498 D/dalvikvm( 498): GC_FOR_ALLOC freed 311K, 24% free 18163K/23656K, paused 67ms, total 67ms D/dalvikvm( 498): GC_FOR_ALLOC freed 499K, 25% free 17910K/23656K, paused 69ms, total 69ms W/ContextImpl( 5403): Implicit intents with startService are not safe: Intent { act=edu.northwestern.cbits.purple.UPDATE_WIDGET (has extras) } android.content.ContextWrapper.startService:494 edu.northwestern.cbits.purple.notifier.BadgeSettingsActivity.onSharedPreferenceChanged:55 edu.northwestern.cbits.purple.notifier.WidgetSettingsActivity.onPause:32 E/Launcher( 749): Error: appWidgetId (EXTRA_APPWIDGET_ID) was not returned from the \widget configuration activity. W/InputMethodManagerService( 498): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@426ccc80 (uid=10051 pid=5403) W/IInputConnectionWrapper( 749): showStatusIcon on inactive InputConnection D/dalvikvm( 5403): GC_CONCURRENT freed 391K, 6% free 8288K/8780K, paused 2ms+25ms, total 93ms D/dalvikvm( 5403): WAIT_FOR_CONCURRENT_GC blocked 54ms W/SurfaceFlinger( 122): couldn't log to binary event log: overflow.

audaciouscode commented 10 years ago

Is this still an issue?

ericcf commented 10 years ago

I cannot reproduce this in version 1.5.2. Seems to no longer be an issue.