DivestOS/Patches/OLD/Per-App-Performance-Profiles.patch

210 lines
8.9 KiB
Diff
Raw Normal View History

2016-12-21 19:30:02 -05:00
From a3788d9279bbe01ba2a23d4230ec1c064c523680 Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Wed, 18 Nov 2015 07:22:21 -0500
Subject: [PATCH] Take advantage of per-app performance profiles
Change-Id: Ib383403739de7fee8efa46790d70caf4b75fb097
---
.../frameworks/base/core/res/res/values/config.xml | 185 ++++++++++++++++++++-
1 file changed, 182 insertions(+), 3 deletions(-)
diff --git a/overlay/common/frameworks/base/core/res/res/values/config.xml b/overlay/common/frameworks/base/core/res/res/values/config.xml
index b33887a..973bdba 100644
--- a/overlay/common/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/common/frameworks/base/core/res/res/values/config.xml
@@ -48,9 +48,188 @@
Each item should list the fully-qualified activity
name and the power profile id, separated by a comma. -->
<string-array name="config_auto_perf_activities" translatable="false">
- <item>com.aurorasoftworks.quadrant.*BenchmarkExecutionActivity,2</item>
- <item>com.antutu.ABenchMark.*,2</item>
- <item>.*com.antutu.benchmark.*,2</item>
+ <item>au.com.shiftyjelly.pocketcasts.*,0</item>
+ <item>be.uhasselt.privacypolice.*,0</item>
+ <item>com.accuweather.android.*,0</item>
+ <item>com.adobe.reader.*,0</item>
+ <item>com.alensw.PicFolder.*,0</item>
+ <item>com.amaze.filemanager.*,0</item>
+ <item>com.amazon.kindle.*,0</item>
+ <item>com.amazon.mShop.android.shopping.*,0</item>
+ <item>com.amazon.windowshop.*,0</item>
+ <item>com.andrewshu.android.reddit.*,0</item>
+ <item>com.andrewshu.android.redditdonation.*,0</item>
+ <item>com.android.browser.*,1</item>
+ <item>com.android.calculator2.*,0</item>
+ <item>com.android.calendar.*,0</item>
+ <item>com.android.camera2.*,1</item>
+ <item>com.android.chrome.*,1</item>
+ <item>com.android.contacts.*,0</item>
+ <item>com.android.deskclock.*,0</item>
+ <item>com.android.dialer.*,0</item>
+ <item>com.android.email.*,0</item>
+ <item>com.android.gallery3d.*,0</item>
+ <item>com.android.incallui.*,0</item>
+ <item>com.android.keepass.*,1</item>
+ <item>com.android.mms.*,0</item>
+ <item>com.android.providers.downloads.ui.*,0</item>
+ <item>com.android.settings.*,0</item>
+ <item>com.android.soundrecorder.*,0</item>
+ <item>com.antutu.ABenchMark.*,2</item>
+ <item>.*com.antutu.benchmark.*,2</item>
+ <item>com.asksven.betterbatterystats.*,0</item>
+ <item>com.aurorasoftworks.quadrant.*BenchmarkExecutionActivity,2</item>
+ <item>com.authy.authy.*,0</item>
+ <item>com.bethsoft.falloutshelter.*,1</item>
+ <item>com.coffeestainstudios.goatsimulator.*,1</item>
+ <item>com.cyanogenmod.trebuchet.*,0</item>
+ <item>com.danvelazco.fbwrapper.*,0</item>
+ <item>com.distractionware.superhexagon.*,1</item>
+ <item>com.dropbox.android.*,0</item>
+ <item>com.eamobile.monopoly_na_wf.*,1</item>
+ <item>com.ebay.mobile.*,0</item>
+ <item>com.facebook.katana.*,1</item>
+ <item>com.facebook.orca.*,1</item>
+ <item>com.farproc.wifi.analyzer.*,0</item>
+ <item>com.fifthelement.trimmer.*,1</item>
+ <item>com.flightradar24pro.*,1</item>
+ <item>com.flyersoft.moonreader.*,0</item>
+ <item>com.flyersoft.moonreaderp.*,0</item>
+ <item>com.gh4a.*,0</item>
+ <item>com.google.android.apps.chromecast.app.*,0</item>
+ <item>com.google.android.apps.docs.editors.docs.*,1</item>
+ <item>com.google.android.apps.docs.editors.sheets.*,1</item>
+ <item>com.google.android.apps.docs.editors.slides.*,1</item>
+ <item>com.google.android.apps.gmoney.*,0</item>
+ <item>com.google.android.apps.hangoutsdialer.*,1</item>
+ <item>com.google.android.apps.inbox.*,0</item>
+ <item>com.google.android.apps.messaging.*,0</item>
+ <item>com.google.android.apps.pdfviewer.*,0</item>
+ <item>com.google.android.apps.photos.*,0</item>
+ <item>com.google.android.apps.translate.*,1</item>
+ <item>com.google.android.calendar.*,0</item>
+ <item>com.google.android.gms.*,0</item>
+ <item>com.google.android.googlequicksearchbox.*,1</item>
+ <item>com.google.android.keep.*,0</item>
+ <item>com.google.android.play.games.*,0</item>
+ <item>com.google.android.youtube.*,1</item>
+ <item>com.google.earth.*,1</item>
+ <item>com.google.xzing.client.android.*,0</item>
+ <item>com.grarak.kerneladiutor.*,0</item>
+ <item>com.hulu.plus.*,1</item>
+ <item>com.instagram.android.*,1</item>
+ <item>com.ironhidegames.android.kingdomrushfrontiers.*,1</item>
+ <item>com.ironhidegames.android.kingdomrushorigins.*,1</item>
+ <item>com.jeremysteckling.facerrel.*,0</item>
+ <item>com.koushikdutta.backup.*,1</item>
+ <item>com.koushikdutta.backup.license.*,1</item>
+ <item>com.laurencedawson.reddit_sync.*,0</item>
+ <item>com.laurencedawson.reddit_sync.pro.*,0</item>
+ <item>com.leosfortune.*,0</item>
+ <item>com.lightricks.facetune.*,1</item>
+ <item>com.mb.android.*,1</item>
+ <item>com.melodis.midomiMusicIdentifier.freemium.*,0</item>
+ <item>com.mgaetan89.showsrage.*,0</item>
+ <item>com.microblink.photomath.*,1</item>
+ <item>com.microsoft.office.excel.*,1</item>
+ <item>com.microsoft.office.outlook.*,0</item>
+ <item>com.microsoft.office.powerpoint.*,1</item>
+ <item>com.microsoft.office.word.*,1</item>
+ <item>com.microsoft.skydrive.*,0</item>
+ <item>com.miniclip.plagueinc.*,0</item>
+ <item>com.mitzuli.*,0</item>
+ <item>com.mojang.minecraftpe.*,1</item>
+ <item>com.morlunk.mumbleclient.*,0</item>
+ <item>com.mxtech.videoplayer.ad.*,1</item>
+ <item>com.mxtech.videoplayer.pro.*,1</item>
+ <item>com.netflix.mediaclient.*,1</item>
+ <item>com.ngmoco.pocketgod.*,0</item>
+ <item>com.ninjakiwi.bloonstd5.*,1</item>
+ <item>com.nutomic.syncthingandroid.*,1</item>
+ <item>com.oasisfeng.greenify.*,0</item>
+ <item>com.oasisfeng.greenify.pro.*,0</item>
+ <item>com.pandora.android.*,0</item>
+ <item>com.paypal.android.p2pmobile.*,0</item>
+ <item>com.pinterest.*,0</item>
+ <item>com.plexapp.android.*,1</item>
+ <item>com.primatelabs.geekbench.*,2</item>
+ <item>com.quizup.core.*,0</item>
+ <item>com.redbox.android.activity.*,0</item>
+ <item>com.roku.remote.*,0</item>
+ <item>com.rovio.angrybirds.*,0</item>
+ <item>com.samruston.weather.*,0</item>
+ <item>com.SecUpwN.AIMSICD.*,0</item>
+ <item>com.shazam.android.*,0</item>
+ <item>com.shazam.encore.android.*,0</item>
+ <item>com.skype.radar.*,1</item>
+ <item>com.snapchat.android.*,1</item>
+ <item>com.soundcloud.android.*,0</item>
+ <item>com.spotify.music.*,0</item>
+ <item>com.target.ui.*,0</item>
+ <item>com.tassadar.multirommgr.*,1</item>
+ <item>com.teamspeak.ts3client.*,0</item>
+ <item>com.tinder.*,0</item>
+ <item>com.tobykurien.google_news.*,0</item>
+ <item>com.tumblr.*,0</item>
+ <item>com.twitter.android.*,0</item>
+ <item>com.ubercab.*,1</item>
+ <item>com.ubercab.driver.*,1</item>
+ <item>com.urbandroid.sleep.*,0</item>
+ <item>com.ustwo.monumentvalley.*,0</item>
+ <item>com.uzumapps.wakelockdetector.*,0</item>
+ <item>com.valvesoftware.android.steam.community.*,0</item>
+ <item>com.walmart.android.*,0</item>
+ <item>com.waze.*,1</item>
+ <item>com.weather.Weather.*,0</item>
+ <item>com.whatsapp.*,0</item>
+ <item>com.xzbber.androiddev.*,0</item>
+ <item>com.yelp.android.*,0</item>
+ <item>com.yodo1.crossroad.*,0</item>
+ <item>com.yubico.yubiclip.*,0</item>
+ <item>com.yubico.yubioath.*,0</item>
+ <item>com.zillow.android.zillowmap.*,1</item>
+ <item>co.vine.android.*,1</item>
+ <item>de.srlabs.snoopsnitch.*,0</item>
+ <item>de.tap.easy_xkcd.*,0</item>
+ <item>dev.ukanth.ufirewall.*, 1</item>
+ <item>dk.jens.backup.*,1</item>
+ <item>eu.chainfire.supersu.*,0</item>
+ <item>eu.chainfire.supersu.pro.*,0</item>
+ <item>eu.thedarken.sdm.*,1</item>
+ <item>fr.kwiatkowski.ApkTrack.*,1</item>
+ <item>io.github.droidapps.pdfreader.*,0</item>
+ <item>it.mvilla.android.fenix.*,0</item>
+ <item>kik.android.*,1</item>
+ <item>me.ccrama.redditslide.*,0</item>
+ <item>me.ccrama.slideforreddit.*,0</item>
+ <item>me.ccrama.slideforreddittabletuiunlock.*,0</item>
+ <item>net.dinglisch.android.taskerm.*,0</item>
+ <item>net.etuldan.sparss.floss.*,0</item>
+ <item>net.i2p.android.router.*,0</item>
+ <item>net.minetest.minetest.*,1</item>
+ <item>net.nightwhistler.pageturner.*,0</item>
+ <item>net.osmand.plus.*,1</item>
+ <item>org.adaway.*,1</item>
+ <item>org.chromium.chrome.*,1</item>
+ <item>org.connectbot.*,0</item>
+ <item>org.csploit.android.*,1</item>
+ <item>org.cyanogenmod.audiofx.*,0</item>
+ <item>org.documentfoundation.libreoffice.*,0</item>
+ <item>org.fdroid.fdroid.*,1</item>
+ <item>org.ligi.blexplorer.*,0</item>
+ <item>org.mozilla.firefox.*,1</item>
+ <item>org.ppsspp.ppsspp.*,1</item>
+ <item>org.ppsspp.ppssppgold.*,1</item>
+ <item>org.quantumbadger.redreader.*,0</item>
+ <item>org.schabi.newpipe.*,1</item>
+ <item>org.torproject.android.*,0</item>
+ <item>org.videolan.vlc.*,1</item>
+ <item>org.wikipedia.*,0</item>
+ <item>org.yaaic.*,0</item>
+ <item>org.zwanoo.android.speedtest.*,2</item>
+ <item>reddit.news.*,0</item>
+ <item>rs.pedajaapps.alogcatroot.app.*,0</item>
+ <item>tw.twitch.android.app.*,1</item>
</string-array>
<!-- Defines the default set of global actions. Actions may still be disabled or hidden based
--
2.6.2