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

Commit 2b860b2e authored by Peter Kalauskas's avatar Peter Kalauskas Committed by Android (Google) Code Review
Browse files

Merge "New trace slice for start of user switch"

parents cb72257f d6b10eaf
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ import android.content.Context;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.LayerDrawable;
import android.os.Trace;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
@@ -150,6 +151,7 @@ public class UserDetailView extends PseudoGridView {
                return;
            }

            Trace.beginSection("UserDetailView.Adapter#onClick");
            UserSwitcherController.UserRecord tag =
                    (UserSwitcherController.UserRecord) view.getTag();
            if (tag.isDisabledByAdmin) {
@@ -167,6 +169,7 @@ public class UserDetailView extends PseudoGridView {
                }
                onUserListItemClicked(tag);
            }
            Trace.endSection();
        }
    }
}