mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-03 15:41:07 +01:00
Avoid synthetic accessor method
This commit is contained in:
parent
f60316835f
commit
835dfc0276
1 changed files with 1 additions and 1 deletions
|
|
@ -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. */
|
/** 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()) {
|
if (mWakeLock == null && mTerminalSessions.isEmpty() && mBackgroundTasks.isEmpty()) {
|
||||||
// Exit if we are updating after the user disabled all locks with no sessions or tasks running.
|
// Exit if we are updating after the user disabled all locks with no sessions or tasks running.
|
||||||
stopSelf();
|
stopSelf();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue