I should say my solution to this problem was to create a new project
and move the code into it. I didn't change any code at all, I just
moved it all into another project and there is no more crash at
shutdown.

The only thing that has changed slightly is the manifest and
wallpaper.xml which I changed so there would be no name collision on
the phone.

I don't really like solutions that don't make sense, but it works now
and the bug seems to be gone.

Adam

On Sep 13, 3:09 pm, HaMMeReD <[email protected]> wrote:
> I pulled the logs during a logcat during the shutdown half of a
> reboot. My wallpapers that do not uninstall on reboot do not show
> those exact log records.
>
> It's the force close though, I'm not entirely sure why this wallpaper
> isn't gracefully shutting down when earlier versions did.
>
> I'll probably have to use git-bisect to narrow it down to the commit
> that the bug got introduced.
>
> Adam
>
> On Sep 13, 12:15 pm, Dianne Hackborn <[email protected]> wrote:
>
>
>
> > That log isn't from a shutdown, it is from the app either being
> > re-installed, uninstalled, or force stopped...  and it is a pretty typical
> > log for that case.
>
> > On Mon, Sep 13, 2010 at 2:02 AM, HaMMeReD <[email protected]> wrote:
> > > I'm getting a WIN DEATH message on shutdown from one of my live
> > > wallpapers. Since this occurs at shutdown the user doesn't really
> > > notice, it does however reset the lwp to the default paper upon the
> > > next restart.
>
> > > Pertinent log message afaik follows.
>
> > > I/PackageManager(  120): Removing non-system
> > > package:Hammer.App.VirtualWorld2^M
> > > I/Process (  120): Sending signal. PID: 692 SIG: 9^M
> > > I/ActivityManager(  120): Force stopping package
> > > Hammer.App.VirtualWorld2 uid=10111^M
> > > W/ActivityManager(  120): Scheduling restart of crashed service
> > > Hammer.App.VirtualWorld2/.GlDynamicBackground2 in 5000ms^M
> > > I/ActivityManager(  120):   Force stopping service
> > > ServiceRecord{4429a6c8 Hammer.App.VirtualWorld2/.GlDynamicBackground2}
> > > ^M
> > > W/WallpaperService(  120): Wallpaper service gone:
> > > ComponentInfo{Hammer.App.VirtualWorld2/
> > > Hammer.App.VirtualWorld2.GlDynamicBackground2}^M
> > > I/WindowManager(  120): WIN DEATH: Window{44249828
> > > Hammer.App.VirtualWorld2.GlDynamicBackground2 paused=false}^M
>
> > > As far as I can tell the lwp isn't being destroyed via
> > > Engine.onDestroy() on shutdown, I'm not entirely sure what else I need
> > > to take care of so that the system can destroy it cleanly at shutdown?
>
> > > --
> > > 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]<android-developers%2Bunsubs
> > >  [email protected]>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
>
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see and
> > answer them.

-- 
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

Reply via email to