Skip to content

Commit

Permalink
Spes: parts: Drop thermals for now
Browse files Browse the repository at this point in the history
Revert "spes: parts: Thermal settings's app list improvement"

This reverts commit d2fe274.

Revert "Spes: Parts: Thermal: Fix compilation error"

This reverts commit 1a25f9c.

Revert "spes: parts: Import thermal profile feature"

This reverts commit 3faaba8.
  • Loading branch information
shripad-jyothinath committed Jul 25, 2023
1 parent d2fe274 commit 9d195b2
Show file tree
Hide file tree
Showing 31 changed files with 1 addition and 994 deletions.
Empty file modified parts/Android.bp
100755 → 100644
Empty file.
20 changes: 1 addition & 19 deletions parts/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -57,25 +57,7 @@
android:name="com.android.settings.summary"
android:resource="@string/refresh_summary" />
</activity>

<activity
android:name=".thermal.ThermalActivity"
android:label="@string/thermal_title"
android:theme="@style/Theme.SubSettingsBase">
<intent-filter>
<action android:name="com.android.settings.action.IA_SETTINGS" />
</intent-filter>
<meta-data
android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.battery" />
<meta-data
android:name="com.android.settings.summary"
android:resource="@string/thermal_summary" />
<meta-data
android:name="com.android.settings.order"
android:value="1" />
</activity>


<service
android:name=".refreshrate.RefreshService"
android:exported="true"
Expand Down
Empty file modified parts/proguard.flags
100755 → 100644
Empty file.
Empty file modified parts/res/drawable/ic_refresh_60.xml
100755 → 100644
Empty file.
Empty file modified parts/res/drawable/ic_refresh_90.xml
100755 → 100644
Empty file.
Empty file modified parts/res/drawable/ic_refresh_default.xml
100755 → 100644
Empty file.
19 changes: 0 additions & 19 deletions parts/res/drawable/ic_thermal_benchmark.xml

This file was deleted.

11 changes: 0 additions & 11 deletions parts/res/drawable/ic_thermal_browser.xml

This file was deleted.

19 changes: 0 additions & 19 deletions parts/res/drawable/ic_thermal_camera.xml

This file was deleted.

19 changes: 0 additions & 19 deletions parts/res/drawable/ic_thermal_default.xml

This file was deleted.

18 changes: 0 additions & 18 deletions parts/res/drawable/ic_thermal_dialer.xml

This file was deleted.

19 changes: 0 additions & 19 deletions parts/res/drawable/ic_thermal_gaming.xml

This file was deleted.

19 changes: 0 additions & 19 deletions parts/res/drawable/ic_thermal_streaming.xml

This file was deleted.

Empty file modified parts/res/layout/preference_slider.xml
100755 → 100644
Empty file.
Empty file modified parts/res/layout/refresh_layout.xml
100755 → 100644
Empty file.
Empty file modified parts/res/layout/refresh_list_item.xml
100755 → 100644
Empty file.
18 changes: 0 additions & 18 deletions parts/res/layout/thermal_layout.xml

This file was deleted.

63 changes: 0 additions & 63 deletions parts/res/layout/thermal_list_item.xml

This file was deleted.

11 changes: 0 additions & 11 deletions parts/res/values/strings.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,4 @@
<string name="refresh_default">Default</string>
<string name="refresh_standard">Standard (60Hz)</string>
<string name="refresh_high">High (90Hz)</string>

<!-- Thermal Profiles -->
<string name="thermal_title">Thermal Profiles</string>
<string name="thermal_summary">Adjust per-app thermal profiles for optimum performance</string>
<string name="thermal_default">Default</string>
<string name="thermal_benchmark">Benchmark</string>
<string name="thermal_browser">Browser</string>
<string name="thermal_camera">Camera</string>
<string name="thermal_dialer">Dialer</string>
<string name="thermal_gaming">Gaming</string>
<string name="thermal_streaming">Streaming</string>
</resources>
Empty file modified parts/res/values/styles.xml
100755 → 100644
Empty file.
2 changes: 0 additions & 2 deletions parts/src/org/lineageos/settings/BootCompletedReceiver.java
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import android.util.Log;

import org.lineageos.settings.refreshrate.RefreshUtils;
import org.lineageos.settings.thermal.ThermalUtils;

public class BootCompletedReceiver extends BroadcastReceiver {

Expand All @@ -35,6 +34,5 @@ public class BootCompletedReceiver extends BroadcastReceiver {
public void onReceive(final Context context, Intent intent) {
if (DEBUG) Log.d(TAG, "Received boot completed intent");
RefreshUtils.initialize(context);
ThermalUtils.startService(context);
}
}
Empty file.
Empty file.
Empty file.
Empty file modified parts/src/org/lineageos/settings/refreshrate/RefreshUtils.java
100755 → 100644
Empty file.
Loading

0 comments on commit 9d195b2

Please sign in to comment.