Add "rename" option to 3-dot menu
(And remove the segmented buttons). Fixes: 346278854 Test: manual Flag: android.app.modes_ui Change-Id: I6d45ba91cc400e5f3f01245c315cc5f0322c3bb1
This commit is contained in:
@@ -23,6 +23,7 @@ import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
|
||||
import com.android.settings.core.SubSettingLauncher;
|
||||
import com.android.settings.dashboard.DashboardFragment;
|
||||
|
||||
class ZenSubSettingLauncher {
|
||||
|
||||
@@ -32,7 +33,7 @@ class ZenSubSettingLauncher {
|
||||
}
|
||||
|
||||
static SubSettingLauncher forModeFragment(Context context,
|
||||
Class<? extends ZenModeFragmentBase> fragmentClass, String modeId,
|
||||
Class<? extends DashboardFragment> fragmentClass, String modeId,
|
||||
int sourceMetricsCategory) {
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putString(EXTRA_AUTOMATIC_ZEN_RULE_ID, modeId);
|
||||
|
||||
Reference in New Issue
Block a user