[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [snowflake-mobile/master] Changed tag of WakeLock for easier debugging



commit 1d96efd5a791cbf4e5a3ca7d5f0c418143d89bf3
Author: Hashik Donthineni <HashikDonthineni@xxxxxxxxx>
Date:   Sat Jun 13 14:53:36 2020 +0530

    Changed tag of WakeLock for easier debugging
---
 app/src/main/java/org/torproject/snowflake/MyPersistentService.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/src/main/java/org/torproject/snowflake/MyPersistentService.java b/app/src/main/java/org/torproject/snowflake/MyPersistentService.java
index 8b20772..b888700 100644
--- a/app/src/main/java/org/torproject/snowflake/MyPersistentService.java
+++ b/app/src/main/java/org/torproject/snowflake/MyPersistentService.java
@@ -194,7 +194,7 @@ public class MyPersistentService extends Service {
         sharedPreferencesHelper(ForegroundServiceConstants.SERVICE_RUNNING); //Editing the shared preferences
         PowerManager powerManager = (PowerManager) getSystemService(POWER_SERVICE);
         wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
-                "MyApp::MyWakelockTag");
+                "Snowflake::MyPersistentService");
         wakeLock.acquire(); //WakeLock acquired for unlimited amount of time.
 
         ///



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits