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

Commit 600b386a authored by Garfield Tan's avatar Garfield Tan
Browse files

Remove Documents from shortcut menu.

Bug: 35361677
Test: Confirmed that it's removed from shortcut menu.
Change-Id: Ic70403785a39204e56e23404c8d271286592e7cb
parent fac78244
Loading
Loading
Loading
Loading
+0 −33
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2016 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.
  -->

<layer-list xmlns:android="http://schemas.android.com/apk/res/android">

    <item>
        <shape android:shape="oval">
            <solid android:color="@color/shortcut_background" />
        </shape>
    </item>

    <item
        android:drawable="@drawable/ic_documents_white"
        android:top="16dp"
        android:right="16dp"
        android:bottom="16dp"
        android:left="16dp" />

</layer-list>
 No newline at end of file
+0 −24
Original line number Diff line number Diff line
<!--
  ~ Copyright (C) 2016 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">
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M10 4H4c-1.1 0,-1.99.9,-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2,-.9 2,-2V8c0,-1.1,-.9,-2,-2,-2h-8l-2,-2z"/>
</vector>
+0 −2
Original line number Diff line number Diff line
@@ -311,8 +311,6 @@
        <item quantity="other">Delete <xliff:g id="count" example="3">%1$d</xliff:g> items?</item>
    </plurals>

    <!-- Shortcut label of Documents root folder -->
    <string name="documents_shortcut_label">Documents</string>
    <!-- Shortcut label of Downloads root folder -->
    <string name="downloads_shortcut_label">Downloads</string>

+0 −9
Original line number Diff line number Diff line
@@ -16,15 +16,6 @@
  -->

<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
    <shortcut
        android:shortcutId="content://com.android.externalstorage.documents/root/home"
        android:icon="@drawable/ic_documents_shortcut"
        android:shortcutShortLabel="@string/documents_shortcut_label" >
        <intent
            android:action="android.provider.action.BROWSE"
            android:data="content://com.android.externalstorage.documents/root/home" />
    </shortcut>

    <shortcut
        android:shortcutId="content://com.android.providers.downloads.documents/root/downloads"
        android:icon="@drawable/ic_downloads_shortcut"