rild / weather-notification-android

Automatically exported from code.google.com/p/weather-notification-android
0 stars 0 forks source link

SecurityException in ContextImpl.startService() #62

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
v0.2-beta1
Nov 26, 2011 5:29:42 AM

java.lang.SecurityException: Not allowed to start service Intent { 
act=ru.gelin.android.weather.notification.ACTION_START_UPDATE_SERVICE (has 
extras) } without permission 
ru.gelin.android.weather.notification.START_UPDATE_SERVICE
at android.app.ContextImpl.startService(ContextImpl.java:840)
at android.content.ContextWrapper.startService(ContextWrapper.java:336)
at 
ru.gelin.android.weather.notification.UpdateService.start(UpdateService.java:134
)
at 
ru.gelin.android.weather.notification.skin.impl.BaseWeatherInfoActivity$1.onClic
k(BaseWeatherInfoActivity.java:60)
at android.view.View.performClick(View.java:2408)
at android.view.View$PerformClick.run(View.java:8817)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:144)
at android.app.ActivityThread.main(ActivityThread.java:4937)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by DNelubin on 2 Dec 2011 at 4:50