INNER CODE UNIT · Java

handleMessage

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

        public void handleMessage(Message message) {
            if (!service.isRunning()) {
                // if the VPN is not running anymore, ignore obsolete events
                return;
            }

            if (message.what == MSG_CONNECTION_ESTABLISHED) {
                Notification notification = service.createNotification(true);
                service.getNotificationManager().notify(NOTIFICATION_ID, notification);
            }
        }
    }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…