Removed widget receiver, TouchWiz unread count, ConnectivityManager
call, start foreground service, Process.setPriority
Removed ConnectivityManager call in main activity; Reset TouchWiz once
on log reset (still disabled in background service)
Replaced delayed with immediate socket closing. Issue still here.
Removed ConnectionManager
Close sockets immediately at end of Task#execute
Do not use cached SSL factory
!!! STILL HAPPENS
Make sure to close the socket's InputStream and OutputStream.
Seems to help a bit, but the issue still happens.
Replaced setWindow with setExact. Alarms still fire too early.