Merge "Only show settings icon for set up users" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c183cea754
@@ -411,7 +411,7 @@ public class VolumeDialogImpl implements VolumeDialog {
|
|||||||
|
|
||||||
public void initSettingsH() {
|
public void initSettingsH() {
|
||||||
mSettingsView.setVisibility(
|
mSettingsView.setVisibility(
|
||||||
mDeviceProvisionedController.isDeviceProvisioned() ? VISIBLE : GONE);
|
mDeviceProvisionedController.isCurrentUserSetup() ? VISIBLE : GONE);
|
||||||
mSettingsIcon.setOnClickListener(v -> {
|
mSettingsIcon.setOnClickListener(v -> {
|
||||||
Events.writeEvent(mContext, Events.EVENT_SETTINGS_CLICK);
|
Events.writeEvent(mContext, Events.EVENT_SETTINGS_CLICK);
|
||||||
Intent intent = new Intent(Settings.ACTION_SOUND_SETTINGS);
|
Intent intent = new Intent(Settings.ACTION_SOUND_SETTINGS);
|
||||||
|
|||||||
Reference in New Issue
Block a user