aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zheng <timzheng@google.com>2018-09-18 15:04:36 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-09-18 15:04:36 -0700
commit6055ebc1b4ea3d7a45837cfc7b1162da1ef938d6 (patch)
tree4c7d5969cffb01f947f68a6a0bdb65c51361079a
parent559d8df6fe5c65c4be10fda287ff6c4d2eb34d73 (diff)
parentc7e70c320b6afe5aa66d6e157ebe5c9334290593 (diff)
downloadsystem_api-6055ebc1b4ea3d7a45837cfc7b1162da1ef938d6.tar.gz
Add a display density parameter. am: 48093e2673 am: aaf6849906 am: 94c60b5103
am: c7e70c320b Change-Id: Ibc3f6091cd88c9cbe9898d0e479f2c8dae93fb5f
-rw-r--r--dbus/vm_cicerone/cicerone_service.proto12
1 files changed, 12 insertions, 0 deletions
diff --git a/dbus/vm_cicerone/cicerone_service.proto b/dbus/vm_cicerone/cicerone_service.proto
index 4f1edcc..bb0f622 100644
--- a/dbus/vm_cicerone/cicerone_service.proto
+++ b/dbus/vm_cicerone/cicerone_service.proto
@@ -118,6 +118,15 @@ message ContainerShutdownSignal {
// Request to launch on application in the specified VM/container. Used with the
// LaunchContainerApplication D-Bus message into vm_concierge.
message LaunchContainerApplicationRequest {
+ // Display scaling of the app windows.
+ enum DisplayScaling {
+ // Default scaling.
+ UNSCALED = 0;
+ // Windows scaled. Used to scale up older app windows that don't show well
+ // with HiDPI display otherwise.
+ SCALED = 1;
+ }
+
// Name of the VM to target.
string vm_name = 1;
@@ -135,6 +144,9 @@ message LaunchContainerApplicationRequest {
// Files to pass as arguments when launching the application, if any, given
// as absolute paths within the container's filesystem.
repeated string files = 5;
+
+ // Display scaling requested.
+ DisplayScaling display_scaling = 6;
}
// Response sent back by vm_concierge when it receives a