Merge "Only show settings icon for set up users" into pi-dev

This commit is contained in:
Julia Reynolds
2018-04-18 15:24:03 +00:00
committed by Android (Google) Code Review

View File

@@ -411,7 +411,7 @@ public class VolumeDialogImpl implements VolumeDialog {
public void initSettingsH() {
mSettingsView.setVisibility(
mDeviceProvisionedController.isDeviceProvisioned() ? VISIBLE : GONE);
mDeviceProvisionedController.isCurrentUserSetup() ? VISIBLE : GONE);
mSettingsIcon.setOnClickListener(v -> {
Events.writeEvent(mContext, Events.EVENT_SETTINGS_CLICK);
Intent intent = new Intent(Settings.ACTION_SOUND_SETTINGS);