| Index: chrome/browser/ui/webui/options/browser_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| index 08fdcf647721fab6bfd366aa2e3e89c7cd11188d..6fab852cf89969687c447167e52a1f5ecc37dd0b 100644
|
| --- a/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| @@ -2008,7 +2008,15 @@ void BrowserOptionsHandler::ShowAndroidAppsSettings(
|
| return;
|
| }
|
|
|
| - arc::LaunchAndroidSettingsApp(profile);
|
| + // We only care whether the event came from a keyboard or non-keyboard
|
| + // (mouse/touch). Set the default flags in such a way that it would appear
|
| + // that it came from a mouse by default.
|
| + int flags = ui::EF_LEFT_MOUSE_BUTTON;
|
| + bool is_mouse_or_touch = true;
|
| + if (args->GetBoolean(0, &is_mouse_or_touch) && !is_mouse_or_touch)
|
| + flags = ui::EF_NONE;
|
| +
|
| + arc::LaunchAndroidSettingsApp(profile, flags);
|
| }
|
|
|
| void BrowserOptionsHandler::ShowAccessibilityTalkBackSettings(
|
|
|