Avoid synthetic accessor method

This commit is contained in:
Fredrik Fornwall
2017-03-06 01:53:09 +01:00
parent f60316835f
commit 835dfc0276

View File

@@ -174,7 +174,7 @@ public final class TermuxService extends Service implements SessionChangedCallba
}
/** Update the shown foreground service notification after making any changes that affect it. */
private void updateNotification() {
void updateNotification() {
if (mWakeLock == null && mTerminalSessions.isEmpty() && mBackgroundTasks.isEmpty()) {
// Exit if we are updating after the user disabled all locks with no sessions or tasks running.
stopSelf();