Merge "Fix ResolverActivity don't show items"
This commit is contained in:
@@ -411,6 +411,9 @@ class ResolverComparator implements Comparator<ResolvedComponentInfo> {
|
|||||||
mContext.unbindService(mConnection);
|
mContext.unbindService(mConnection);
|
||||||
mConnection.destroy();
|
mConnection.destroy();
|
||||||
}
|
}
|
||||||
|
if (mAfterCompute != null) {
|
||||||
|
mAfterCompute.afterCompute();
|
||||||
|
}
|
||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
Log.d(TAG, "Unbinded Resolver Ranker.");
|
Log.d(TAG, "Unbinded Resolver Ranker.");
|
||||||
}
|
}
|
||||||
@@ -573,7 +576,6 @@ class ResolverComparator implements Comparator<ResolvedComponentInfo> {
|
|||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
Log.d(TAG, "Has not found valid ResolverRankerService; Skip Prediction");
|
Log.d(TAG, "Has not found valid ResolverRankerService; Skip Prediction");
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
mConnectSignal.await(CONNECTION_COST_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS);
|
mConnectSignal.await(CONNECTION_COST_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS);
|
||||||
|
|||||||
Reference in New Issue
Block a user