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 */ /** @hide */
@Override @Override
public void onDestroy() { public void onDestroy() {
mHandlerThread.quit(); mHandlerThread.quitSafely();
super.onDestroy(); super.onDestroy();
} }

View File

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