Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fac22bf2 authored by Yumi Yukimura's avatar Yumi Yukimura
Browse files

tablet: Enable desktop windowing mode

* This replaces the old freeform window management

Change-Id: I8711af4d90662252a37bc717590d35651460ad25
parent b9ada125
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -6,7 +6,3 @@ PRODUCT_PRODUCT_PROPERTIES += \

# Tablet-specific overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/lineage/overlay/tablet

# Freeform window management
PRODUCT_COPY_FILES += \
    frameworks/native/data/etc/android.software.freeform_window_management.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.software.freeform_window_management.xml
+23 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2009, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
**     http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
    <!-- Whether desktop mode is supported on the current device  -->
    <bool name="config_isDesktopModeSupported">true</bool>
</resources>
+1 −0
Original line number Diff line number Diff line
@@ -17,5 +17,6 @@ aconfig_value_set {
    name: "aconfig_value_set-lineage-ap4a",
    values: [
        "aconfig-values-ap4a-com.android.server.notification-all",
        "aconfig-values-ap4a-com.android.window.flags-all",
    ],
}
+21 −0
Original line number Diff line number Diff line
// Copyright 2024 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

aconfig_values {
  name: "aconfig-values-ap4a-com.android.window.flags-all",
  package: "com.android.window.flags",
  srcs: [
    "*_flag_values.textproto",
  ]
}
+6 −0
Original line number Diff line number Diff line
flag_value {
  package: "com.android.window.flags"
  name: "enable_desktop_windowing_mode"
  state: ENABLED
  permission: READ_WRITE
}