英魂之刃界面扩大模糊:Power Control Widgets Settings Applicat...

来源:百度文库 编辑:九乡新闻网 时间:2024/05/06 17:24:03
[App] Power Control Widgets Settings Application

Many people using the Power Control Widgets that I ported inquired about the ability to control the behavior of the various toggles that are available, such as Brightness Levels, Screen Timeout, Sound Modes (silent/vibrate/etc), Flashlight Modes (death ray/normal), as well as the ability to dynamically set the indicator bar on/off color below each widget (nice!).

So, I began investigating how this was controlled in CM. After some digging, I found the applicable locations where these options are controlled and began hacking away at making a stand alone application available that would present the above referenced configuration options to those using this mod, while eliminating all the various other options not applicable to this mod.

This is an extreme hack to make work, but I am proud to say that I have v1.0 available and ready for download. I say v1.0, as there are additional options I want to make available via this application that are not yet present, but I wanted to put out what I have now. This bad boy took some major surgery to get working on our Sense ROMs, requiring me to pull out a lot of tricks in my hacking arsenal, and I'm almost as proud of it as the actual port itself!

In addition to the above referenced features currently in place, I also hope to add the option to turn widgets on/off all together, as well as dynamically choose which widgets to display, in lieu of, or in addition to, the current widget.txt file.

The application, once flashed, is named 'PowerControl Settings', and when looking for it in your app drawer, utilizes the following icon:



And following are some screen captures of the options available / referenced above:







It should be noted that if your ROM dev customized your widgets to a fixed color for the indicator bars (if they are not a default cyan blue, they are fixed to a different color), that the dynamic indicator color feature shown above will NOT work, since, as mentioned, it has been hardcoded to be a specific color. This would have to be undone, or you could flash a stock version from the mod thread to get back the dynamic option.

Download PowerControl Settings Application v1.1 <--- Flash via Recovery to install

Update 1/30/22: Small tweak to the app made to prevent appearance of RenderFx in widgets selection list, since this widget does not apply to this mod and should not appear.

Of course, it is important to mention / thank the CM team for the original application of which this port is based.

NOTE: If you plan to use the 'toggleScreenTimeout' widget, now that you can control timeout levels via this PowerControl Settings app, I had to adjust the available intervals, as CM offers different timeout intervals than what are available in Sense ROMs (making it incompatible). This required an edit to the services.jar file only, as such, I have created a patched services.jar file (v2.1.1) available for download at the bottom of the mod thread. It is only necessary to flash this if you wish to use the 'toggleScreenTimeout' widget.

__________________
Making the EVO a better phone, one apk at a time.

Twitter: @JsChiSurf