Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e1c1ff6 authored by vadimt's avatar vadimt Committed by android-build-merger
Browse files

Remove tracing for a fixed bug

am: 1fd52d90

Change-Id: I4e31657a96599b3a476f0b7a1dfa36fb0147c950
parents 4bde4f9a 1fd52d90
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -135,10 +135,6 @@ public abstract class BaseDraggingActivity extends BaseActivity

    public boolean startActivitySafely(View v, Intent intent, @Nullable ItemInfo item,
            @Nullable String sourceContainer) {
        if (TestProtocol.sDebugTracing) {
            android.util.Log.d(TestProtocol.NO_START_TAG,
                    "startActivitySafely 1");
        }
        if (mIsSafeModeEnabled && !Utilities.isSystemApp(this, intent)) {
            Toast.makeText(this, R.string.safemode_shortcut_error, Toast.LENGTH_SHORT).show();
            return false;
@@ -162,10 +158,6 @@ public abstract class BaseDraggingActivity extends BaseActivity
                startShortcutIntentSafely(intent, optsBundle, item, sourceContainer);
            } else if (user == null || user.equals(Process.myUserHandle())) {
                // Could be launching some bookkeeping activity
                if (TestProtocol.sDebugTracing) {
                    android.util.Log.d(TestProtocol.NO_START_TAG,
                            "startActivitySafely 2");
                }
                startActivity(intent, optsBundle);
                AppLaunchTracker.INSTANCE.get(this).onStartApp(intent.getComponent(),
                        Process.myUserHandle(), sourceContainer);
+0 −3
Original line number Diff line number Diff line
@@ -319,9 +319,6 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,

    @Override
    public boolean onTouchEvent(MotionEvent event) {
        if (TestProtocol.sDebugTracing) {
            Log.d(TestProtocol.NO_START_TAG, "BubbleTextView.onTouchEvent " + event);
        }
        // Call the superclass onTouchEvent first, because sometimes it changes the state to
        // isPressed() on an ACTION_UP
        boolean result = super.onTouchEvent(event);
+0 −5
Original line number Diff line number Diff line
@@ -1809,11 +1809,6 @@ public class Launcher extends BaseDraggingActivity implements LauncherExterns,

    public boolean startActivitySafely(View v, Intent intent, ItemInfo item,
            @Nullable String sourceContainer) {
        if (TestProtocol.sDebugTracing) {
            android.util.Log.d(TestProtocol.NO_START_TAG,
                    "startActivitySafely outer");
        }

        if (!hasBeenResumed()) {
            // Workaround an issue where the WM launch animation is clobbered when finishing the
            // recents animation into launcher. Defer launching the activity until Launcher is
+0 −3
Original line number Diff line number Diff line
@@ -626,9 +626,6 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo

    @Override
    public boolean dispatchTouchEvent(MotionEvent ev) {
        if (TestProtocol.sDebugTracing) {
            Log.d(TestProtocol.NO_START_TAG, "AllAppsContainerView.dispatchTouchEvent " + ev);
        }
        final boolean result = super.dispatchTouchEvent(ev);
        switch (ev.getActionMasked()) {
            case MotionEvent.ACTION_DOWN:
+0 −5
Original line number Diff line number Diff line
@@ -301,11 +301,6 @@ public class AlphabeticalAppsList implements AllAppsStore.OnUpdateListener {
    }

    private void refreshRecyclerView() {
        if (TestProtocol.sDebugTracing) {
            android.util.Log.d(TestProtocol.NO_START_TAG,
                    "refreshRecyclerView @ " + android.util.Log.getStackTraceString(
                            new Throwable()));
        }
        if (mAdapter != null) {
            mAdapter.notifyDataSetChanged();
        }
Loading