system-alert-window-example icon indicating copy to clipboard operation
system-alert-window-example copied to clipboard

Needs some changes about service...

Open AndroidDeveloperLB opened this issue 5 years ago • 0 comments

First of all, you aren't supposed to call "onDestroy", but "stopSelf" instead.

Second, it's better to have a foreground service instead, to keep it staying, and to avoid the notification of the OS telling that the app has something that's drawn on top.

AndroidDeveloperLB avatar Jan 28 '21 09:01 AndroidDeveloperLB