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

Commit c960751e authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Removing one all-purpose developer tile and replacing it with 4 separate tiles,

for individual actions. Also adding a section in Developer Options for enabling
these individual tiles.

Bug: 34813634
Bug: 34909670
Test: Manually tested on device
Change-Id: I3adf5498f8b72959cb68cd508c44d87f953e450a
parent 17f16f6b
Loading
Loading
Loading
Loading
+35 −9
Original line number Diff line number Diff line
@@ -3420,11 +3420,41 @@

        <!-- Quick Settings tiles for Developer Options -->
        <service
            android:name=".qstile.DevelopmentModeTile"
            android:label="@string/developer_tile"
            android:icon="@drawable/ic_settings_development"
            android:name=".qstile.DevelopmentTiles$ShowLayout"
            android:label="@string/debug_layout"
            android:icon="@drawable/tile_icon_show_layout"
            android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
            android:enabled="true">
            android:enabled="false">
            <intent-filter>
                <action android:name="android.service.quicksettings.action.QS_TILE" />
            </intent-filter>
        </service>
        <service
            android:name=".qstile.DevelopmentTiles$GPUProfiling"
            android:label="@string/track_frame_time"
            android:icon="@drawable/tile_icon_graphics"
            android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
            android:enabled="false">
            <intent-filter>
                <action android:name="android.service.quicksettings.action.QS_TILE" />
            </intent-filter>
        </service>
        <service
            android:name=".qstile.DevelopmentTiles$ForceRTL"
            android:label="@string/force_rtl_layout_all_locales"
            android:icon="@drawable/tile_icon_force_rtl"
            android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
            android:enabled="false">
            <intent-filter>
                <action android:name="android.service.quicksettings.action.QS_TILE" />
            </intent-filter>
        </service>
        <service
            android:name=".qstile.DevelopmentTiles$AnimationSpeed"
            android:label="@string/window_animation_scale_title"
            android:icon="@drawable/tile_icon_animation_speed"
            android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
            android:enabled="false">
            <intent-filter>
                <action android:name="android.service.quicksettings.action.QS_TILE" />
            </intent-filter>
@@ -3433,11 +3463,7 @@
            android:name=".qstile.DevelopmentTileConfigActivity"
            android:excludeFromRecents="true"
            android:launchMode="singleInstance"
            android:label="@string/developer_tile">
            <intent-filter>
                <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
            </intent-filter>
        </activity>
            android:label="@string/quick_settings_developer_tiles" />

        <activity android:name=".HelpTrampoline"
            android:exported="true"
+25 −0
Original line number Diff line number Diff line
<!--
Copyright (C) 2017 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="24dp"
        android:height="24dp"
        android:viewportWidth="24.0"
        android:viewportHeight="24.0"
        android:tint="?android:attr/colorControlNormal">
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M4,2C2.89,2 2,2.89 2,4V14H4V4H14V2H4M8,6C6.89,6 6,6.89 6,8V18H8V8H18V6H8M12,10C10.89,10 10,10.89 10,12V20C10,21.11 10.89,22 12,22H20C21.11,22 22,21.11 22,20V12C22,10.89 21.11,10 20,10H12Z" />
</vector>
+61 −0
Original line number Diff line number Diff line
<!--
Copyright (C) 2017 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="24dp"
        android:height="24dp"
        android:viewportWidth="24.0"
        android:viewportHeight="24.0"
        android:tint="?android:attr/colorControlNormal">
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M7,12L12,7V10H16V14H12V17L7,12" />
    <path
        android:fillColor="#80FFFFFF"
        android:pathData="M0.0,6.0h1.0v12.0h-1.0z"/>
    <path
        android:fillColor="#80FFFFFF"
        android:pathData="M6.0,0.0h12.0v1.0h-12.0z"/>
    <path
        android:fillColor="#80FFFFFF"
        android:pathData="M23.0,6.0h1.0v12.0h-1.0z"/>
    <path
        android:fillColor="#80FFFFFF"
        android:pathData="M6.0,23.0h12.0v1.0h-12.0z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M1.0,23.0l0.0,-5.0l-1.0,0.0l0.0,6.0l6.0,0.0l0.0,-1.0z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M1.0,1.0l5.0,0.0l0.0,-1.0l-6.0,0.0l0.0,6.0l1.0,0.0z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M18.0,0.0l0.0,1.0l5.0,0.0l0.0,5.0l1.0,0.0l0.0,-6.0z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M23.0,23.0l-5.0,0.0l0.0,1.0l6.0,0.0l0.0,-6.0l-1.0,0.0z"/>
    <path
        android:fillColor="#80FFFFFF"
        android:pathData="M9.5,4h5.0v1.0h-5.0z"/>
    <path
        android:fillColor="#80FFFFFF"
        android:pathData="M9.5,19h5.0v1.0h-5.0z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M4.5,5.0l5.0,0.0l0.0,-1.0l-6.0,0.0l0.0,10.0l0.0,6.0l6.0,0.0l0.0,-1.0l-5.0,0.0z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M14.5,4.0l0.0,1.0l5.0,0.0l0.0,14l-5.0,0.0l0.0,1.0l6.0,0.0l0.0,-16z"/>
</vector>
+53 −0
Original line number Diff line number Diff line
<!--
Copyright (C) 2015 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="24dp"
        android:height="24dp"
        android:viewportWidth="24.0"
        android:viewportHeight="24.0"
        android:tint="?android:attr/colorControlNormal">
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M23,1v22H1V1H23 M24,0H0v24h24V0L24,0z"/>
    <path
        android:strokeColor="#FFFFFFFF"
        android:strokeWidth="0.667"
        android:pathData="M5,19L1,23"/>
    <path
        android:strokeColor="#FFFFFFFF"
        android:strokeWidth="0.667"
        android:pathData="M1,1L5,5"/>
    <path
        android:strokeColor="#FFFFFFFF"
        android:strokeWidth="0.667"
        android:pathData="M19,5L23,1"/>
    <path
        android:strokeColor="#FFFFFFFF"
        android:strokeWidth="0.667"
        android:pathData="M19,19L23,23"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M14,3.8l-4,0l-0.2,-0.8l4.4,0z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M18.8,5.2v13.5H5.2V5.2H18.8 M19.5,4.5h-15v15h15V4.5L19.5,4.5z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M6.5,9.5h5v11h-5z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M12.5,16.5h5v5h-5z"/>
</vector>
 No newline at end of file
+61 −0
Original line number Diff line number Diff line
<!--
Copyright (C) 2015 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="24dp"
        android:height="24dp"
        android:viewportWidth="24.0"
        android:viewportHeight="24.0"
        android:tint="?android:attr/colorControlNormal">
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M12,7.2c-3.2,0 -5.9,2 -7,4.8c1.1,2.8 3.8,4.8 7,4.8s5.9,-2 7,-4.8C17.9,9.2 15.2,7.2 12,7.2zM12,15.2c-1.8,0 -3.2,-1.4 -3.2,-3.2s1.4,-3.2 3.2,-3.2s3.2,1.4 3.2,3.2S13.8,15.2 12,15.2zM12,10.1c-1.1,0 -1.9,0.9 -1.9,1.9s0.9,1.9 1.9,1.9s1.9,-0.9 1.9,-1.9S13.1,10.1 12,10.1z"/>
    <path
        android:fillColor="#80FFFFFF"
        android:pathData="M0.0,6.0h1.0v12.0h-1.0z"/>
    <path
        android:fillColor="#80FFFFFF"
        android:pathData="M6.0,0.0h12.0v1.0h-12.0z"/>
    <path
        android:fillColor="#80FFFFFF"
        android:pathData="M23.0,6.0h1.0v12.0h-1.0z"/>
    <path
        android:fillColor="#80FFFFFF"
        android:pathData="M6.0,23.0h12.0v1.0h-12.0z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M1.0,23.0l0.0,-5.0l-1.0,0.0l0.0,6.0l6.0,0.0l0.0,-1.0z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M1.0,1.0l5.0,0.0l0.0,-1.0l-6.0,0.0l0.0,6.0l1.0,0.0z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M18.0,0.0l0.0,1.0l5.0,0.0l0.0,5.0l1.0,0.0l0.0,-6.0z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M23.0,23.0l-5.0,0.0l0.0,1.0l6.0,0.0l0.0,-6.0l-1.0,0.0z"/>
    <path
        android:fillColor="#80FFFFFF"
        android:pathData="M9.5,6.0h5.0v1.0h-5.0z"/>
    <path
        android:fillColor="#80FFFFFF"
        android:pathData="M9.5,17.0h5.0v1.0h-5.0z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M4.5,7.0l5.0,0.0l0.0,-1.0l-6.0,0.0l0.0,6.0l0.0,6.0l6.0,0.0l0.0,-1.0l-5.0,0.0l0.0,-5.0z"/>
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M14.5,6.0l0.0,1.0l5.0,0.0l0.0,5.0l0.0,5.0l-5.0,0.0l0.0,1.0l6.0,0.0l0.0,-6.0l0.0,-6.0z"/>
</vector>
 No newline at end of file
Loading