Hide ZenMode.getRule() - Settings
Bug: 393321037 Test: atest com.android.settings.notification.modes Flag: EXEMPT Unflaggable refactoring Change-Id: Ia9b43146f687ebee29eee0328a92e59c0c6d574a
This commit is contained in:
@@ -54,8 +54,8 @@ public class ZenModeEditNameIconFragment extends ZenModeEditNameIconFragmentBase
|
||||
return;
|
||||
}
|
||||
|
||||
modeToUpdate.getRule().setName(mode.getRule().getName());
|
||||
modeToUpdate.getRule().setIconResId(mode.getRule().getIconResId());
|
||||
modeToUpdate.setName(mode.getName());
|
||||
modeToUpdate.setIconResId(mode.getIconResId());
|
||||
requireBackend().updateMode(modeToUpdate);
|
||||
finish();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user