Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 336ac019 authored by Eric Rahm's avatar Eric Rahm
Browse files

Gracefully handle unbind errors when detaching

When detaching from a previous wallpaper we unbind our connection from
the underlying service. This can generate an exception if the service is
no longer available and lead to the wallpaper state being left in a
half-cleared state as well as causing the detach operation to fail. This
CL adds a catch to handle the exception, in this case it doesn't matter
if the the service has gone away since we're detaching from it anyway.

Bug: 296508731
Test: atest WallpaperManagerTest
Change-Id: I19a3fedecafca10744cf21f2e6bd40c9f8f6350a
parent 09af2b3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment