Caller of ShellSurface::GetApplicationId expects that it returns an application id which is formatted as "org.chromium.arc.%d" for Android window. But it seems returning app_id of ash::ShelfID which is a different id from that one. example use case: https://cs.chromium.org/chromium/src/chrome/browser/chromeos/arc/accessibility/arc_accessibility_helper_bridge.cc?l=35
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a57b15774cb1599333fa6e3c9cb57095d847b02a commit a57b15774cb1599333fa6e3c9cb57095d847b02a Author: yawano <yawano@chromium.org> Date: Mon May 29 01:49:03 2017 Add kApplicationIdKey for ShellSurface::GetApplicationId and SetApplicationId BUG=722765 TEST=none Review-Url: https://codereview.chromium.org/2889523003 Cr-Commit-Position: refs/heads/master@{#475273} [modify] https://crrev.com/a57b15774cb1599333fa6e3c9cb57095d847b02a/chrome/browser/chromeos/arc/accessibility/arc_accessibility_helper_bridge.cc [modify] https://crrev.com/a57b15774cb1599333fa6e3c9cb57095d847b02a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc [modify] https://crrev.com/a57b15774cb1599333fa6e3c9cb57095d847b02a/components/exo/shell_surface.cc [modify] https://crrev.com/a57b15774cb1599333fa6e3c9cb57095d847b02a/components/exo/shell_surface.h [modify] https://crrev.com/a57b15774cb1599333fa6e3c9cb57095d847b02a/components/exo/shell_surface_unittest.cc
Comment 1 by yawano@chromium.org
, May 16 2017