Opened 2 years ago

Closed 2 years ago

#1972 closed defect (fixed)

Android: Remove static Daemon reference

Reported by: zzz Owned by: str4d
Priority: minor Milestone: 0.9.30
Component: apps/android Version: 0.9.29
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

I'm making a change to addressbook to get rid of the static reference to Daemon (static refs are bad, especially in Android where they could stick around), which requires a simple change in Android.

In AddressbookFragment? line 226, please change:

Daemon.wakeup()

to

Util.getRouterContext().namingService().requestUpdate(null)

You may make this change at any time, the requestUpdate() API has been there since 0.8.7, but it will be necessary for 0.9.30.

Thank you

Subtickets

Change History (1)

comment:1 Changed 2 years ago by str4d

Resolution: fixed
Status: newclosed

Fixed in 6fc532a00c183619706736ec862579c59661d0a5.

Note: See TracTickets for help on using tickets.