Merge "NetworkService: quitSafely() on onDestroy()" into tm-qpr-dev

This commit is contained in:
Aswin Sankar
2022-09-22 17:23:27 +00:00
committed by Android (Google) 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();
}