INNER CODE UNIT · Java

onDestroy

rom1v/sndcpy · app/src/main/java/com/rom1v/sndcpy/RecordService.java:190

    public void onDestroy() {
        super.onDestroy();
        stopForeground(true);
        if (recorderThread != null) {
            recorderThread.interrupt();
            recorderThread = null;
        }
    }

    private NotificationManager getNotificationManager() {
        return (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
    }

    private static final class ConnectionHandler extends Handler {

        private RecordService service;

        ConnectionHandler(RecordService service) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…