Merge "Adding content push button behind flag to OAV." into ub-launcher3-master

This commit is contained in:
TreeHugger Robot
2020-09-10 21:07:44 +00:00
committed by Android (Google) Code Review
7 changed files with 39 additions and 2 deletions
@@ -58,6 +58,12 @@ public class QuickstepTestInformationHandler extends TestInformationHandler {
FeatureFlags.ENABLE_OVERVIEW_SHARE.get());
return response;
}
case TestProtocol.REQUEST_OVERVIEW_CONTENT_PUSH_ENABLED: {
response.putBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD,
FeatureFlags.ENABLE_OVERVIEW_CONTENT_PUSH.get());
return response;
}
}
return super.call(method);
@@ -113,7 +113,7 @@ public class OverviewActionsView<T extends OverlayUICallbacks> extends FrameLayo
findViewById(R.id.action_screenshot).setOnClickListener(this);
if (ENABLE_OVERVIEW_SHARE.get()) {
share.setVisibility(VISIBLE);
findViewById(R.id.share_space).setVisibility(VISIBLE);
findViewById(R.id.oav_three_button_space).setVisibility(VISIBLE);
}
}