mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-08 19:46:10 +01:00
linter: fix wakelock log tag
See https://github.com/termux/termux-app/issues/1670.
This commit is contained in:
parent
b486d29d23
commit
784affe39c
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ public final class TermuxService extends Service implements SessionChangedCallba
|
|||
} else if (ACTION_LOCK_WAKE.equals(action)) {
|
||||
if (mWakeLock == null) {
|
||||
PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
|
||||
mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, EmulatorDebug.LOG_TAG);
|
||||
mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, EmulatorDebug.LOG_TAG + ":service-wakelock");
|
||||
mWakeLock.acquire();
|
||||
|
||||
// http://tools.android.com/tech-docs/lint-in-studio-2-3#TOC-WifiManager-Leak
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue