Commit 9de97ba7 authored by Ian Vollick's avatar Ian Vollick Committed by Commit Bot

Disable picture-in-picture for touchless

This is unsupported so it should be flagged as such in the
manifest.

Bug: 978851
Change-Id: I85055fb675195f3eafd6515aef831d052c5b11aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678280
Auto-Submit: Ian Vollick <vollick@chromium.org>
Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Reviewed-by: default avatarMounir Lamouri <mlamouri@chromium.org>
Commit-Queue: Ian Vollick <vollick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672594}
parent a1f63b8a
...@@ -501,8 +501,13 @@ by a child template that "extends" this file. ...@@ -501,8 +501,13 @@ by a child template that "extends" this file.
{# We can only use blocks once in Jinja, for future substitutions we use {# We can only use blocks once in Jinja, for future substitutions we use
self.supports_video_persistence(). #} self.supports_video_persistence(). #}
{% block supports_video_persistence %} {% block supports_video_persistence %}
{% if notouch_build == "true" %}
android:supportsPictureInPicture="false"
android:resizeableActivity="false"
{% else %}
android:supportsPictureInPicture="true" android:supportsPictureInPicture="true"
android:resizeableActivity="true" android:resizeableActivity="true"
{% endif %}
{% endblock %} {% endblock %}
{% block chrome_activity_common %} {% block chrome_activity_common %}
android:windowSoftInputMode="adjustResize" android:windowSoftInputMode="adjustResize"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment