Loading packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java +1 −1 Original line number Diff line number Diff line Loading @@ -235,7 +235,7 @@ public class DndTile extends QSTileImpl<BooleanState> { state.label = getTileLabel(); state.secondaryLabel = TextUtils.emptyIfNull(ZenModeConfig.getDescription(mContext, zen != Global.ZEN_MODE_OFF, mController.getConfig(), false)); state.icon = ResourceIcon.get(R.drawable.ic_qs_dnd_on); state.icon = ResourceIcon.get(R.drawable.ic_dnd); checkIfRestrictionEnforcedByAdminOnly(state, UserManager.DISALLOW_ADJUST_VOLUME); switch (zen) { case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: Loading packages/overlays/IconPackCircularAndroidOverlay/Android.mk 0 → 100644 +30 −0 Original line number Diff line number Diff line # # Copyright 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. # LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_RRO_THEME := IconPackCircularAndroid LOCAL_CERTIFICATE := platform LOCAL_PRODUCT_MODULE := true LOCAL_SRC_FILES := $(call all-subdir-java-files) LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res LOCAL_PACKAGE_NAME := IconPackCircularAndroidOverlay LOCAL_SDK_VERSION := current include $(BUILD_RRO_PACKAGE) packages/overlays/IconPackCircularOverlay/AndroidManifest.xml→packages/overlays/IconPackCircularAndroidOverlay/AndroidManifest.xml +2 −2 Original line number Diff line number Diff line Loading @@ -16,9 +16,9 @@ */ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.theme.icon_pack.circular" package="com.android.theme.icon_pack.circular.android" android:versionCode="1" android:versionName="1.0"> <overlay android:targetPackage="android" android:category="android.theme.customization.icon_pack" android:priority="1"/> <overlay android:targetPackage="android" android:category="android.theme.customization.icon_pack.android" android:priority="1"/> <application android:label="Circular" android:hasCode="false"/> </manifest> packages/overlays/IconPackCircularAndroidOverlay/res/drawable/ic_bt_headphones_a2dp.xml 0 → 100644 +30 −0 Original line number Diff line number Diff line <!-- /** * 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. */ --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24"> <path android:pathData="M 0 0 H 24 V 24 H 0 V 0 Z" /> <path android:pathData="M 0 0 H 24 V 24 H 0 V 0 Z" /> <path android:fillColor="#000000" android:pathData="M21,18V11A9,9,0,0,0,3,11v7a2.93,2.93,0,0,0,2.88,3H8V13H4V11a8,8,0,0,1,16,0v2H16v8h2.12A2.93,2.93,0,0,0,21,18ZM7,14v6H5.88A1.92,1.92,0,0,1,4,18V14Zm13,4a1.92,1.92,0,0,1-1.88,2H17V14h3Z" /> </vector> No newline at end of file packages/overlays/IconPackCircularAndroidOverlay/res/drawable/ic_expand_more.xml 0 → 100644 +30 −0 Original line number Diff line number Diff line <!-- /** * 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. */ --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24"> <path android:pathData="M 0 0 H 24 V 24 H 0 V 0 Z" /> <path android:pathData="M 0 0 H 24 V 24 H 0 V 0 Z" /> <path android:fillColor="#000000" android:pathData="M18.35,9.65a0.48 0.48 ,0,0,0-0.7,0L12,15.28,6.35,9.65a0.49 0.49 ,0,0,0-0.7 0.7 L12,16.7l6.35-6.35A0.48 0.48 ,0,0,0,18.35,9.65Z" /> </vector> No newline at end of file Loading
packages/SystemUI/src/com/android/systemui/qs/tiles/DndTile.java +1 −1 Original line number Diff line number Diff line Loading @@ -235,7 +235,7 @@ public class DndTile extends QSTileImpl<BooleanState> { state.label = getTileLabel(); state.secondaryLabel = TextUtils.emptyIfNull(ZenModeConfig.getDescription(mContext, zen != Global.ZEN_MODE_OFF, mController.getConfig(), false)); state.icon = ResourceIcon.get(R.drawable.ic_qs_dnd_on); state.icon = ResourceIcon.get(R.drawable.ic_dnd); checkIfRestrictionEnforcedByAdminOnly(state, UserManager.DISALLOW_ADJUST_VOLUME); switch (zen) { case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: Loading
packages/overlays/IconPackCircularAndroidOverlay/Android.mk 0 → 100644 +30 −0 Original line number Diff line number Diff line # # Copyright 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. # LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_RRO_THEME := IconPackCircularAndroid LOCAL_CERTIFICATE := platform LOCAL_PRODUCT_MODULE := true LOCAL_SRC_FILES := $(call all-subdir-java-files) LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res LOCAL_PACKAGE_NAME := IconPackCircularAndroidOverlay LOCAL_SDK_VERSION := current include $(BUILD_RRO_PACKAGE)
packages/overlays/IconPackCircularOverlay/AndroidManifest.xml→packages/overlays/IconPackCircularAndroidOverlay/AndroidManifest.xml +2 −2 Original line number Diff line number Diff line Loading @@ -16,9 +16,9 @@ */ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.theme.icon_pack.circular" package="com.android.theme.icon_pack.circular.android" android:versionCode="1" android:versionName="1.0"> <overlay android:targetPackage="android" android:category="android.theme.customization.icon_pack" android:priority="1"/> <overlay android:targetPackage="android" android:category="android.theme.customization.icon_pack.android" android:priority="1"/> <application android:label="Circular" android:hasCode="false"/> </manifest>
packages/overlays/IconPackCircularAndroidOverlay/res/drawable/ic_bt_headphones_a2dp.xml 0 → 100644 +30 −0 Original line number Diff line number Diff line <!-- /** * 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. */ --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24"> <path android:pathData="M 0 0 H 24 V 24 H 0 V 0 Z" /> <path android:pathData="M 0 0 H 24 V 24 H 0 V 0 Z" /> <path android:fillColor="#000000" android:pathData="M21,18V11A9,9,0,0,0,3,11v7a2.93,2.93,0,0,0,2.88,3H8V13H4V11a8,8,0,0,1,16,0v2H16v8h2.12A2.93,2.93,0,0,0,21,18ZM7,14v6H5.88A1.92,1.92,0,0,1,4,18V14Zm13,4a1.92,1.92,0,0,1-1.88,2H17V14h3Z" /> </vector> No newline at end of file
packages/overlays/IconPackCircularAndroidOverlay/res/drawable/ic_expand_more.xml 0 → 100644 +30 −0 Original line number Diff line number Diff line <!-- /** * 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. */ --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24"> <path android:pathData="M 0 0 H 24 V 24 H 0 V 0 Z" /> <path android:pathData="M 0 0 H 24 V 24 H 0 V 0 Z" /> <path android:fillColor="#000000" android:pathData="M18.35,9.65a0.48 0.48 ,0,0,0-0.7,0L12,15.28,6.35,9.65a0.49 0.49 ,0,0,0-0.7 0.7 L12,16.7l6.35-6.35A0.48 0.48 ,0,0,0,18.35,9.65Z" /> </vector> No newline at end of file