Removing tracing and @Stability for a fixed bug

Bug: 142514365
Change-Id: I147850db274c465fb964eca30b97b3ebaaa2ccf6
This commit is contained in:
vadimt committed 2019-10-25 11:21:33 -07:00
1 parent efefa59f8c
commit 23c8341096
8 files changed
+1 -66

No files matched your search

@@ -45,13 +45,7 @@ public final class ActivityTracker<T extends BaseActivity> implements Runnable {
}
public void onActivityDestroyed(T activity) {
if (TestProtocol.sDebugTracing) {
Log.d(TestProtocol.LAUNCHER_DIDNT_INITIALIZE, "onActivityDestroyed");
}
if (mCurrentActivity.get() == activity) {
if (TestProtocol.sDebugTracing) {
Log.d(TestProtocol.LAUNCHER_DIDNT_INITIALIZE, "onActivityDestroyed: clear");
}
mCurrentActivity.clear();
}
}
@@ -97,10 +91,6 @@ public final class ActivityTracker<T extends BaseActivity> implements Runnable {
}
public boolean handleCreate(T activity) {
if (TestProtocol.sDebugTracing) {
Log.d(TestProtocol.LAUNCHER_DIDNT_INITIALIZE,
"ActivityTracker.handleCreate " + mCurrentActivity.get() + " => " + activity);
}
mCurrentActivity = new WeakReference<>(activity);
return handleIntent(activity, activity.getIntent(), false, false);
}