summaryrefslogtreecommitdiffstats
path: root/gui/devices/watch (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow for X and Y offsets in GUIEthan Yonker2015-01-091-2/+2
| | | | | | | | | | | | | | These can be used to center a lower resolution theme onto a higher resolution screen. May be useful for Nexus 9 unless or until we decide to do a 1536x2048 theme or on devices like the Moto 360 and LG G Watch R. The build flags will only affect the stock theme. If a custom theme wishes to apply an offset, it can be done by setting tw_x_offset and / or tw_y_offset in the variables section of the XML. Change-Id: I2390769ed861b96a4a3bb8a0f06d9021ec91b6b9
* Allow flashing of images via the GUIEthan Yonker2015-01-091-5/+178
| | | | | | | | | | | - Use the Images... button in the lower right of the zip install page - Unify image flashing functions between restore and image flash - boot and recovery partitions are flashable by default - use fstab flag flashimg=1 or 0 to override defaults - file system partitions are currently not flashable Change-Id: I822dc446030543c55d2153e219d67a1292374ffc
* fixPermissions: simplify code, fix bugsthat2014-12-221-10/+69
| | | | | | | | | | | | | | | | | | | | | | | - avoid parsing permission strings - fix memory leaks, a fix new/free mismatch and a compiler warning - fix that only first updated-package was processed - fix a potential stack overflow if packages.xml is huge - minor refactoring for reducing duplicated code - don't process packages without codePath - fix path for deleting app data (currently unused anyway) - fix file ownership on libs - try not to mess up Android 5.0 app permissions Patch set 4 - make fixing SELinux contexts an option with a check box - add some notes / text to the themes Patch set 6 - decouple "fix permissions" from "fix contexts" Change-Id: Icc77ecc581befc5ce6e419b1f3b8ca189208c234
* Allow non datamedia devices to wipe encryptionEthan Yonker2014-12-211-4/+25
| | | | | | | | | | | | | With 5.0 L, we decrypt automatically if the default_password is used. Non datamedia devices do not get the format data button so they cannot wipe encryption off the device. This patch add a wipe encryption button where the format data button would normally be located on the Wipe page. This patch also attempts to remove / delete the dm-crypt block device before formatting. Change-Id: I100d5d154d6c49254fd48e23279df973db5f23ae
* Fix placement of Android Secure and SD-EXT on wipe pageCaptain Throwback2014-10-201-10/+10
| | | | Change-Id: Iac1c13b38df2ac66106abcda7c9d171a1549b65f
* Update reference to 24-hour clockCaptain Throwback2014-10-141-1/+1
| | | | Change-Id: Ic864fae4fda9707fc84d6d8b33587863b7664e1e
* Refresh partition details after changing file systemDees Troy2014-09-031-6/+26
| | | | Change-Id: I24f3c8587f778c4f0ef43737243c8378a3fd0e00
* add mtp responder to TWRP.bigbiff bigbiff2014-09-031-0/+26
| | | | | | Big thanks to Dees_Troy for helping with the implementation. Change-Id: I6c9c522b9c9de5dc139e2ecb0141008182ba07f0
* Support reading since_epoch and secondary brightness filesxNUTx2014-08-101-1/+1
| | | | | | | | | | | | | | | TWFunc::Fixup_Time_On_Boot: Will now try to read /sys/class/rtc/rtc0/since_epoch to correct time, if that fails it will try to use the ats files to correct time. TWFunc::Set_Brightness: One single function to set brightness from both the automated functions and the gui actions. It is able to set a second brightness path if present, it will set them both the same value. Many Sony devices have 2 brightness files in the sysfs that must be set to properly set the brightness. Change-Id: I7ca582109085dfbcb46b8de73ad031e4b7903fca
* Add 280x280 themeEthan Yonker2014-08-041-1/+1
| | | | Change-Id: Iea2fac2f1b300c312819ea2d83e1762669d357b6
* Add 320x320 theme and split out watch.xml for square watch layoutEthan Yonker2014-07-301-0/+3839
Change-Id: I7fe38b20913a981942105637a527a2d26ed035a5