Merge "Adding content push button behind flag to OAV." into ub-launcher3-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
b7cc9fcc9e
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user