summaryrefslogtreecommitdiffstats
path: root/core/java/android/app/ActivityThread.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-05-21 12:13:31 -0700
committerRomain Guy <romainguy@google.com>2012-05-21 13:29:06 -0700
commit13b907353f18215b52b5ceda24bbf520d91d72a1 (patch)
tree5b32cdf7b5729f68c0b61dadbeab7ffd263b25b0 /core/java/android/app/ActivityThread.java
parentd7e4ae48c576d5aaef75754b29a8b87c1f0d6427 (diff)
downloadframeworks_base-13b907353f18215b52b5ceda24bbf520d91d72a1.zip
frameworks_base-13b907353f18215b52b5ceda24bbf520d91d72a1.tar.gz
frameworks_base-13b907353f18215b52b5ceda24bbf520d91d72a1.tar.bz2
Remove unused, obsolete debug code
All these features have either been abandonned and left un-maintained for years or can be replaced by systrace. Change-Id: I42e4579a8078744047e5fe08a7a15254970b09bc
Diffstat (limited to 'core/java/android/app/ActivityThread.java')
-rw-r--r--core/java/android/app/ActivityThread.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/java/android/app/ActivityThread.java b/core/java/android/app/ActivityThread.java
index b29035d..33e639e 100644
--- a/core/java/android/app/ActivityThread.java
+++ b/core/java/android/app/ActivityThread.java
@@ -3751,9 +3751,6 @@ public final class ActivityThread {
if (start) {
try {
switch (profileType) {
- case 1:
- ViewDebug.startLooperProfiling(pcd.path, pcd.fd.getFileDescriptor());
- break;
default:
mProfiler.setProfiler(pcd.path, pcd.fd);
mProfiler.autoStopProfiler = false;
@@ -3772,9 +3769,6 @@ public final class ActivityThread {
}
} else {
switch (profileType) {
- case 1:
- ViewDebug.stopLooperProfiling();
- break;
default:
mProfiler.stopProfiling();
break;