Merge "Using startActivityForResult to open DWB properties" into ub-launcher3-master

This commit is contained in:
TreeHugger Robot 2019-03-18 19:07:02 +00:00 committed by Android (Google) Code Review
commit 0cc2cbffc0
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ public final class DigitalWellBeingToast extends LinearLayout {
final ActivityOptions options = ActivityOptions.makeScaleUpAnimation(
this, 0, 0,
getWidth(), getHeight());
launcher.startActivity(intent, options.toBundle());
launcher.startActivityForResult(intent, 0, options.toBundle());
launcher.getUserEventDispatcher().logActionOnControl(LauncherLogProto.Action.Touch.TAP,
LauncherLogProto.ControlType.APP_USAGE_SETTINGS, this);
} catch (ActivityNotFoundException e) {