Skip to content

Commit

Permalink
Remove leftover Performance Profiles support
Browse files Browse the repository at this point in the history
Change-Id: Ib830ccbf3910b115b5979936a3b75c167bd57779
  • Loading branch information
mikeNG committed Jul 22, 2023
1 parent 1a53318 commit 6326bda
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion api/lineage_current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ package lineageos.platform {
field public static final java.lang.String MANAGE_LIVEDISPLAY = "lineageos.permission.MANAGE_LIVEDISPLAY";
field public static final java.lang.String MANAGE_REMOTE_PREFERENCES = "lineageos.permission.MANAGE_REMOTE_PREFERENCES";
field public static final java.lang.String MODIFY_PROFILES = "lineageos.permission.MODIFY_PROFILES";
field public static final java.lang.String PERFORMANCE_ACCESS = "lineageos.permission.PERFORMANCE_ACCESS";
field public static final java.lang.String TRUST_INTERFACE = "lineageos.permission.TRUST_INTERFACE";
field public static final java.lang.String WRITE_SECURE_SETTINGS = "lineageos.permission.WRITE_SECURE_SETTINGS";
field public static final java.lang.String WRITE_SETTINGS = "lineageos.permission.WRITE_SETTINGS";
Expand Down
15 changes: 0 additions & 15 deletions sdk/src/java/lineageos/app/LineageContextConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,6 @@ private LineageContextConstants() {
*/
public static final String LINEAGE_HARDWARE_SERVICE = "lineagehardware";

/**
* Control device power profile and characteristics.
*
* @hide
*/
public static final String LINEAGE_PERFORMANCE_SERVICE = "lineageperformance";

/**
* Manages display color adjustments
*
Expand Down Expand Up @@ -119,14 +112,6 @@ public static class Features {
@SdkConstant(SdkConstant.SdkConstantType.FEATURE)
public static final String PROFILES = "org.lineageos.profiles";

/**
* Feature for {@link PackageManager#getSystemAvailableFeatures} and
* {@link PackageManager#hasSystemFeature}: The device includes the lineage performance service
* utilized by the lineage sdk.
*/
@SdkConstant(SdkConstant.SdkConstantType.FEATURE)
public static final String PERFORMANCE = "org.lineageos.performance";

/**
* Feature for {@link PackageManager#getSystemAvailableFeatures} and
* {@link PackageManager#hasSystemFeature}: The device includes the LiveDisplay service
Expand Down
1 change: 0 additions & 1 deletion tests/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
<uses-permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS" />
<uses-permission android:name="lineageos.permission.MODIFY_PROFILES" />
<uses-permission android:name="lineageos.permission.MANAGE_PERSISTENT_STORAGE" />
<uses-permission android:name="lineageos.permission.PERFORMANCE_ACCESS" />
<uses-permission android:name="lineageos.permission.MANAGE_LIVEDISPLAY" />
<uses-permission android:name="android.permission.STATUS_BAR_SERVICE" />

Expand Down

0 comments on commit 6326bda

Please sign in to comment.