crdroid: Roaming indicator moved to status bar icons

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
Pranav Vashi 2024-08-11 03:53:51 +05:30 committed by elpaablo
parent 8763945107
commit 94fab65abc
4 changed files with 0 additions and 39 deletions

View file

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2017 crDroid Android 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="24.0dp"
android:height="24.0dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0"
android:tint="?android:attr/colorControlNormal">
<path
android:fillColor="#FF000000"
android:pathData="M21.59,11.59L23,13L13.5,22.5L8.42,17.41L9.83,16L13.5,19.68L21.59,11.59M4,16V3H6L9,3A4,4 0 0,1 13,7C13,8.54 12.13,9.88 10.85,10.55L14,16H12L9.11,11H6V16H4M6,9H9A2,2 0 0,0 11,7A2,2 0 0,0 9,5H6V9Z" />
</vector>

View file

@ -145,10 +145,6 @@
<!-- Gestures -->
<string name="gestures_title">Gestures</string>
<!-- Roaming indicator icon -->
<string name="roaming_indicator_icon_title">Roaming indicator</string>
<string name="roaming_indicator_icon_summary">Display roaming indicator in signal icon when in roaming mode</string>
<!-- 4G icon -->
<string name="show_fourg_icon_title">4G icon</string>
<string name="show_fourg_icon_summary">Display 4G icon in signal icon instead LTE</string>

View file

@ -76,13 +76,6 @@
android:summary="@string/show_fourg_icon_summary"
android:defaultValue="false"/>
<com.alpha.settings.preferences.SystemSettingSwitchPreference
android:key="roaming_indicator_icon"
android:icon="@drawable/ic_roaming_indicator"
android:title="@string/roaming_indicator_icon_title"
android:summary="@string/roaming_indicator_icon_summary"
android:defaultValue="true"/>
<com.alpha.settings.preferences.SystemSettingSwitchPreference
android:key="bluetooth_show_battery"
android:icon="@drawable/ic_battery_bluetooth"

View file

@ -231,8 +231,6 @@ public class StatusBar extends SettingsPreferenceFragment implements
Settings.System.STATUS_BAR_BRIGHTNESS_CONTROL, 0, UserHandle.USER_CURRENT);
Settings.System.putIntForUser(resolver,
Settings.System.DATA_DISABLED_ICON, 1, UserHandle.USER_CURRENT);
Settings.System.putIntForUser(resolver,
Settings.System.ROAMING_INDICATOR_ICON, 1, UserHandle.USER_CURRENT);
Settings.System.putIntForUser(resolver,
Settings.System.WIFI_STANDARD_ICON, 0, UserHandle.USER_CURRENT);
Settings.System.putIntForUser(resolver,