From a3d31fbe385094400719e9a7a79965ff5da9f4b4 Mon Sep 17 00:00:00 2001 From: that Date: Sun, 21 Dec 2014 22:27:40 +0100 Subject: fixPermissions: simplify code, fix bugs - 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 --- gui/devices/watch/res/watch.xml | 79 +++++++++++++++++++++++++++++++++++------ 1 file changed, 69 insertions(+), 10 deletions(-) (limited to 'gui/devices/watch') diff --git a/gui/devices/watch/res/watch.xml b/gui/devices/watch/res/watch.xml index 23795695f..38de230c4 100644 --- a/gui/devices/watch/res/watch.xml +++ b/gui/devices/watch/res/watch.xml @@ -2754,16 +2754,7 @@ Fix Permissions - - tw_back=advanced - tw_action=fixpermissions - tw_text1=Fix Permissions? - tw_action_text1=Fixing Permissions... - tw_complete_text1=Fix Permissions Complete - tw_slider_text=Swipe to Confirm - tw_show_reboot=1 - confirm_action - + fixperms @@ -3849,6 +3840,74 @@ + + + + + + + Fix Permissions + + + + + + Note: Fixing permissions is rarely needed. + + + + + + Also fix SELinux contexts + + + + + + + + Fixing SELinux contexts may cause + + + + + + your device to not boot properly. + + + + + + + tw_back=advanced + tw_action=fixpermissions + tw_action_text1=Fixing Permissions... + tw_complete_text1=Fix Permissions Complete + tw_slider_text=Swipe to Confirm + tw_show_reboot=1 + action_page + + + + + + + Swipe to Fix Permissions + + + + + main + + + + + advanced + + + + + -- cgit v1.2.3