Merge "Fix ResolverActivity don't show items"

am: e251bb72ed

Change-Id: Id4877102db82616c5ad1c6e929721fbddb92b129
This commit is contained in:
gaochong
2018-01-09 20:39:35 +00:00
committed by android-build-merger

View File

@@ -411,6 +411,9 @@ class ResolverComparator implements Comparator<ResolvedComponentInfo> {
mContext.unbindService(mConnection);
mConnection.destroy();
}
if (mAfterCompute != null) {
mAfterCompute.afterCompute();
}
if (DEBUG) {
Log.d(TAG, "Unbinded Resolver Ranker.");
}
@@ -573,7 +576,6 @@ class ResolverComparator implements Comparator<ResolvedComponentInfo> {
if (DEBUG) {
Log.d(TAG, "Has not found valid ResolverRankerService; Skip Prediction");
}
return;
} else {
try {
mConnectSignal.await(CONNECTION_COST_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS);