Merge "don't block adb while running uninstall"
This commit is contained in:
committed by
Gerrit Code Review
commit
17280c61d3
@@ -77,7 +77,7 @@ import java.util.Collections;
|
|||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.WeakHashMap;
|
import java.util.WeakHashMap;
|
||||||
import java.util.concurrent.SynchronousQueue;
|
import java.util.concurrent.LinkedBlockingQueue;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
class PackageManagerShellCommand extends ShellCommand {
|
class PackageManagerShellCommand extends ShellCommand {
|
||||||
@@ -1750,7 +1750,7 @@ class PackageManagerShellCommand extends ShellCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static class LocalIntentReceiver {
|
private static class LocalIntentReceiver {
|
||||||
private final SynchronousQueue<Intent> mResult = new SynchronousQueue<>();
|
private final LinkedBlockingQueue<Intent> mResult = new LinkedBlockingQueue<>();
|
||||||
|
|
||||||
private IIntentSender.Stub mLocalSender = new IIntentSender.Stub() {
|
private IIntentSender.Stub mLocalSender = new IIntentSender.Stub() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user