Loading core/java/android/provider/Settings.java +16 −0 Original line number Diff line number Diff line Loading @@ -843,6 +843,22 @@ public final class Settings { public static final String ACTION_SYSTEM_UPDATE_SETTINGS = "android.settings.SYSTEM_UPDATE_SETTINGS"; /** * Activity Action: Show settings for managed profile settings. * <p> * In some cases, a matching Activity may not exist, so ensure you * safeguard against this. * <p> * Input: Nothing. * <p> * Output: Nothing. * * @hide */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_MANAGED_PROFILE_SETTINGS = "android.settings.MANAGED_PROFILE_SETTINGS"; /** * Activity Action: Show settings to allow configuration of sync settings. * <p> Loading packages/SystemUI/src/com/android/systemui/qs/tiles/WorkModeTile.java +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ public class WorkModeTile extends QSTile<QSTile.BooleanState> implements @Override public Intent getLongClickIntent() { return new Intent(Settings.ACTION_SYNC_SETTINGS); return new Intent(Settings.ACTION_MANAGED_PROFILE_SETTINGS); } @Override Loading Loading
core/java/android/provider/Settings.java +16 −0 Original line number Diff line number Diff line Loading @@ -843,6 +843,22 @@ public final class Settings { public static final String ACTION_SYSTEM_UPDATE_SETTINGS = "android.settings.SYSTEM_UPDATE_SETTINGS"; /** * Activity Action: Show settings for managed profile settings. * <p> * In some cases, a matching Activity may not exist, so ensure you * safeguard against this. * <p> * Input: Nothing. * <p> * Output: Nothing. * * @hide */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_MANAGED_PROFILE_SETTINGS = "android.settings.MANAGED_PROFILE_SETTINGS"; /** * Activity Action: Show settings to allow configuration of sync settings. * <p> Loading
packages/SystemUI/src/com/android/systemui/qs/tiles/WorkModeTile.java +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ public class WorkModeTile extends QSTile<QSTile.BooleanState> implements @Override public Intent getLongClickIntent() { return new Intent(Settings.ACTION_SYNC_SETTINGS); return new Intent(Settings.ACTION_MANAGED_PROFILE_SETTINGS); } @Override Loading