Skip to content

Commit

Permalink
Gear: [SQUASH] Revert edge light customization
Browse files Browse the repository at this point in the history
Revert "Gear: Edge light improvements"

This reverts commit 3ce9d97.

Revert "Gear: add edge light customizations [2/2]"

This reverts commit 25d81ad.
  • Loading branch information
travarilo committed Feb 22, 2024
1 parent fc393b5 commit 90806b5
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 217 deletions.
13 changes: 0 additions & 13 deletions res/values/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -500,19 +500,6 @@
<item>10</item>
</string-array>

<!-- Edge light -->
<string-array name="edge_light_color_mode_entries" translatable="false">
<item>@string/theme_color</item>
<item>@string/notification_color</item>
<item>@string/custom_color</item>
</string-array>

<string-array name="edge_light_color_mode_values">
<item>0</item>
<item>1</item>
<item>2</item>
</string-array>

<!-- Screen off animation -->
<string-array name="screen_off_animation_entries">
<item>@string/screen_off_animation_default</item>
Expand Down
14 changes: 0 additions & 14 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -545,20 +545,6 @@
<string name="doze_on_charge_title">Always on when charging</string>
<string name="doze_on_charge_summary">Show doze screen all the time when charging</string>

<!-- Edge light -->
<string name="edge_light_title">Edge Light</string>
<string name="edge_light_summary">Light up the edges of the screen when a notification is received</string>
<string name="edge_light_switch_title">Enable Edge Light</string>
<string name="edge_light_always_trigger_on_pulse_title">Always trigger on pulse</string>
<string name="edge_light_always_trigger_on_pulse_summary">Show edge light whenever ambient display is shown and not just for notifications</string>
<string name="edge_light_repeat_animation_title">Repeat animation</string>
<string name="edge_light_repeat_animation_summary_on">Repeat until timeout</string>
<string name="edge_light_repeat_animation_summary_off">Show only once</string>
<string name="edge_light_color_mode_title">Color mode</string>
<string name="theme_color">Theme color (Default)</string>
<string name="notification_color">Notification color</string>
<string name="custom_color">Custom color</string>

<!-- Screen Off animation -->
<string name="screen_off_animation_title">Screen off animation</string>
<string name="screen_off_animation_default">Default</string>
Expand Down
7 changes: 0 additions & 7 deletions res/xml/bg_doze.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,6 @@
android:defaultValue="false"
android:summary="@string/pulse_on_new_tracks_summary" />

<Preference
android:key="edge_light_settings"
android:title="@string/edge_light_title"
android:summary="@string/edge_light_summary"
android:fragment="com.banana.settings.fragments.doze.EdgeLightSettings"
android:dependency="doze_enabled" />

<PreferenceCategory
android:key="doze_sensor"
android:title="@string/doze_sensor_title" >
Expand Down
60 changes: 0 additions & 60 deletions res/xml/edge_light_settings.xml

This file was deleted.

1 change: 0 additions & 1 deletion src/com/banana/settings/fragments/DozeSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
import com.android.settings.search.BaseSearchIndexProvider;
import com.android.settingslib.search.SearchIndexable;

import com.banana.settings.fragments.doze.EdgeLightSettings;
import com.banana.settings.fragments.doze.Utils;
import com.banana.support.preferences.SecureSettingSeekBarPreference;

Expand Down
122 changes: 0 additions & 122 deletions src/com/banana/settings/fragments/doze/EdgeLightSettings.java

This file was deleted.

0 comments on commit 90806b5

Please sign in to comment.