mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 08:56:55 +00:00
Add tracing to track every allApps rebind
Bug: 159671700 Test: presubmit Change-Id: I1c7507ac2175d6e2f4514e4ad51c356aa75dd6e9
This commit is contained in:
@@ -154,9 +154,12 @@ public class WorkTabTest extends AbstractLauncherUiTest {
|
||||
Log.d(TestProtocol.WORK_PROFILE_REMOVED, "Work tab not setup. Skipping test");
|
||||
return false;
|
||||
}
|
||||
return ((AllAppsPagedView) l.getAppsView().getContentView()).getCurrentPage()
|
||||
== WORK_PAGE && ((TextView) workEduView.findViewById(
|
||||
R.id.content_text)).getText().equals(
|
||||
if (((AllAppsPagedView) l.getAppsView().getContentView()).getCurrentPage()
|
||||
!= WORK_PAGE) {
|
||||
Log.d(TestProtocol.WORK_PROFILE_REMOVED, "Work page not highlighted");
|
||||
return false;
|
||||
}
|
||||
return ((TextView) workEduView.findViewById(R.id.content_text)).getText().equals(
|
||||
l.getResources().getString(R.string.work_profile_edu_work_apps));
|
||||
}, 60000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user