Fix parsing sCachedPackageReadCount
This was moved to PackageCacher, but the old and unused counter was not removed. Bug: 154310064 Test: manual device reboots and logs cached count >0 Change-Id: I32fdb4b8fccd281fe61c64f231cb0ba154934679
This commit is contained in:
@@ -127,7 +127,6 @@ import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
/**
|
||||
* Parser for package files (APKs) on disk. This supports apps packaged either
|
||||
@@ -239,11 +238,6 @@ public class PackageParser {
|
||||
|
||||
public static final boolean LOG_UNSAFE_BROADCASTS = false;
|
||||
|
||||
/**
|
||||
* Total number of packages that were read from the cache. We use it only for logging.
|
||||
*/
|
||||
public static final AtomicInteger sCachedPackageReadCount = new AtomicInteger();
|
||||
|
||||
// Set of broadcast actions that are safe for manifest receivers
|
||||
public static final Set<String> SAFE_BROADCASTS = new ArraySet<>();
|
||||
static {
|
||||
|
||||
Reference in New Issue
Block a user