Merge "Send bubble bar location update source to shell" into main

This commit is contained in:
Ats Jenk authored and Android (Google) Code Review committed 2024-11-11 17:04:40 +00:00
commit e3e3bc1f4e
6 files changed
+29 -16

No files matched your search

@@ -407,11 +407,13 @@ public class BubbleBarView extends FrameLayout {
return true;
}
if (action == R.id.action_move_left) {
mController.updateBubbleBarLocation(BubbleBarLocation.LEFT);
mController.updateBubbleBarLocation(BubbleBarLocation.LEFT,
BubbleBarLocation.UpdateSource.A11Y_ACTION_BAR);
return true;
}
if (action == R.id.action_move_right) {
mController.updateBubbleBarLocation(BubbleBarLocation.RIGHT);
mController.updateBubbleBarLocation(BubbleBarLocation.RIGHT,
BubbleBarLocation.UpdateSource.A11Y_ACTION_BAR);
return true;
}
return false;
@@ -1567,6 +1569,7 @@ public class BubbleBarView extends FrameLayout {
void dismissBubbleBar();
/** Requests the controller to update bubble bar location to the given value */
void updateBubbleBarLocation(BubbleBarLocation location);
void updateBubbleBarLocation(BubbleBarLocation location,
@BubbleBarLocation.UpdateSource int source);
}
}