Merge "NetworkService: quitSafely() on onDestroy()"

This commit is contained in:
Aswin Sankar
2022-09-22 05:35:11 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -265,7 +265,7 @@ public abstract class NetworkService extends Service {
/** @hide */
@Override
public void onDestroy() {
mHandlerThread.quit();
mHandlerThread.quitSafely();
super.onDestroy();
}

View File

@@ -725,7 +725,7 @@ public abstract class DataService extends Service {
@Override
public void onDestroy() {
mHandlerThread.quit();
mHandlerThread.quitSafely();
super.onDestroy();
}