summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorTodd Kennedy <toddke@google.com>2018-01-23 14:35:10 +0000
committerTodd Kennedy <toddke@google.com>2018-02-05 12:50:30 -0800
commit96d601bd105213c486ef0964b668f0ff48e60442 (patch)
tree1b3e89d4d2ef9b90d538bd8b3422b0cef919925e /core/java
parent5931b2d1c4f7b14ae88ea74ae266f55524a0edce (diff)
Revert "Add debug logs"
This reverts commit f996b76623f2b6e958e76d40d17b17f673ed30b5. Change-Id: I855a61070411b2a1fa8f1add10998aaabcef43f6 Fixes: 72369036 Test: Manual; builds and runs
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/content/pm/PackageParser.java25
1 files changed, 0 insertions, 25 deletions
diff --git a/core/java/android/content/pm/PackageParser.java b/core/java/android/content/pm/PackageParser.java
index 2da893771d94..3afc346af36e 100644
--- a/core/java/android/content/pm/PackageParser.java
+++ b/core/java/android/content/pm/PackageParser.java
@@ -6738,31 +6738,6 @@ public class PackageParser {
+ " " + packageName + "}";
}
- public String dumpState_temp() {
- String flags = "";
- flags += ((applicationInfo.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0 ? "U" : "");
- flags += ((applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0 ? "S" : "");
- if ("".equals(flags)) {
- flags = "-";
- }
- String privFlags = "";
- privFlags += ((applicationInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0 ? "P" : "");
- privFlags += ((applicationInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_OEM) != 0 ? "O" : "");
- privFlags += ((applicationInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_VENDOR) != 0 ? "V" : "");
- if ("".equals(privFlags)) {
- privFlags = "-";
- }
- return "Package{"
- + Integer.toHexString(System.identityHashCode(this))
- + " " + packageName
- + ", ver:" + getLongVersionCode()
- + ", path: " + codePath
- + ", flags: " + flags
- + ", privFlags: " + privFlags
- + ", extra: " + (mExtras == null ? "<<NULL>>" : Integer.toHexString(System.identityHashCode(mExtras)) + "}")
- + "}";
- }
-
@Override
public int describeContents() {
return 0;