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

Commit 16715e7f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove QS details prototype code" into rvc-dev

parents 944f7898 36ddca1c
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -61,22 +61,6 @@ public final class SystemUiDeviceConfigFlags {
    public static final String SCREENSHOT_NOTIFICATION_SMART_ACTIONS_TIMEOUT_MS =
            "screenshot_notification_smart_actions_timeout_ms";

    // Flags related to controls

    /**
     * (boolean) Whether to have split behavior when opening QS
     */
    public static final String QS_SPLIT_ENABLED = "qs_split_enabled";

    /**
     * (int) Open settings panels for WiFi and BT tiles
     * 0 - default behavior, link to settings
     * 1 - open panel on long press, click remains the same
     * 2 - open panel on click, long press remains the same
     * 3 - use details on long press
     */
    public static final String QS_USE_SETTINGS_PANELS = "qs_use_settings_panels";

    // Flags related to Smart Suggestions - these are read in SmartReplyConstants.

    /** (boolean) Whether to enable smart suggestions in notifications. */
+0 −8
Original line number Diff line number Diff line
@@ -66,14 +66,6 @@ public interface QSTile {

    void destroy();

    /**
      * return true if the tile supports detail views, and not
      * only boolean states
      */
    default boolean supportsDetailView() {
        return false;
    }

    CharSequence getTileLabel();

    State getState();
+0 −33
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2019 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.
-->

<!-- use 'dp' instead of 'sp' as we do not want the text to increase
     if the user scales the font size -->
<TextView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="bottom|center_horizontal"
    android:text="..."
    android:textSize="16dp"
    android:fontFamily="@*android:string/config_headlineFontFamily"
    android:singleLine="true"
    android:visibility="gone"
    android:paddingBottom="@dimen/qs_tile_detail_padding"
    android:clickable="false"
    android:focusable="false" />
+0 −1
Original line number Diff line number Diff line
@@ -502,7 +502,6 @@
    <dimen name="qs_page_indicator_width">16dp</dimen>
    <dimen name="qs_page_indicator_height">8dp</dimen>
    <dimen name="qs_tile_icon_size">24dp</dimen>
    <dimen name="qs_tile_detail_padding">3dp</dimen>
    <dimen name="qs_tile_text_size">12sp</dimen>
    <dimen name="qs_tile_divider_height">1dp</dimen>
    <dimen name="qs_panel_padding">16dp</dimen>
+0 −5
Original line number Diff line number Diff line
@@ -33,11 +33,6 @@
    <!-- Maximum number of bubbles we allow in overflow before we dismiss the oldest one. -->
    <integer name="bubbles_max_overflow">16</integer>

    <!-- Ratio of "left" end of status bar that will swipe to QQS. -->
    <integer name="qqs_split_fraction">3</integer>
    <!-- Ratio of "right" end of status bar that will swipe to QS. -->
    <integer name="qs_split_fraction">2</integer>

    <integer name="magnification_default_scale">2</integer>

    <!-- The position of the volume dialog on the screen.
Loading