Commit Graph

374 Commits

Author SHA1 Message Date
topjohnwu
b067105660 Fix bug where no info is available 2017-01-26 03:45:05 +08:00
topjohnwu
15ca18848e Add su revoke 2017-01-26 03:30:12 +08:00
topjohnwu
67c9e2ead6 Add Superuser management UI 2017-01-26 01:13:23 +08:00
topjohnwu
3681177be4 Rename fragment layouts 2017-01-25 17:07:23 +08:00
topjohnwu
6eb814ef0b Fix some small issues 2017-01-25 16:45:55 +08:00
topjohnwu
bcc695234c Seperate Configs 2017-01-25 13:17:33 +08:00
topjohnwu
ad16a6fc1b Project restructure 2017-01-25 04:33:22 +08:00
topjohnwu
478b7eeb65 Stop countdown when user reacts 2017-01-25 02:16:36 +08:00
topjohnwu
151a153dc9 Fix toasts and timeouts 2017-01-25 01:23:41 +08:00
topjohnwu
ad131854ca Update request popup UI 2017-01-25 01:01:12 +08:00
topjohnwu
0bd0eb9e59 Magisk Manager is now a SU client
1. Add request popup
2. Add su request notifications
3. Add su database helpers
2017-01-24 14:19:28 +08:00
c727
cf16fd0104 update strings-de for Magisk Manager 3.1 2017-01-15 02:37:58 +08:00
tonymanou
21b00ac6ca Use try-with-resources in some places 2017-01-15 02:37:40 +08:00
tonymanou
57e6f3080c Fix generic type 2017-01-15 02:37:40 +08:00
tonymanou
89744100ce Remove unnecessary Butterknife binding in adapters 2017-01-15 02:37:40 +08:00
tonymanou
a718f9bbfd Unbind Butterknife-injected views in fragment's onDestroyView() 2017-01-15 02:37:40 +08:00
tonymanou
e81bc4f044 Clean up main activity code
No need to catch IllegalStateException as we display the fragment from
onCreate() without delay.
2017-01-15 02:37:40 +08:00
tonymanou
4dbacd79ae Matching event [un]registering, call super at the end of onPause/onDestroy
Event unregistered in onDestroy() should be registered in onCreate() to
avoid being registered multiple times.
2017-01-15 02:37:40 +08:00
tonymanou
ae74d54451 Events should be final in order to work 2017-01-15 02:37:40 +08:00
tonymanou
dc316c5669 Set fragment title and [un]register callbacks in onStart/onStop
onStart() is called when the fragment is made visible, whereas onPause()
is called when the fragment looses focus e.g. if a dialog is shown.
Thus:
- there is no need to set the activity's title everytime the fragment
regains focus,
- it is better to listen to event tasks and refresh the state of the UI
while the fragment is actually visible, listening to events until the
fragment is destroyed is useless: if an event is received between
onStop() and onDestroy(), there will be some processing but nothing will
be shown because the fragment is no longer visible.
2017-01-15 02:37:40 +08:00
tonymanou
e9f04256c9 setHasOptionsMenu() should be called from fragment's onCreate() 2017-01-15 02:37:40 +08:00
topjohnwu
e1aabd70e8 Bump version 3.1 2017-01-11 20:31:42 +08:00
topjohnwu
a9dc1b32e0 Add release notes to install button 2017-01-11 19:18:27 +08:00
topjohnwu
01d847ae4e Improve settings 2017-01-11 19:10:30 +08:00
topjohnwu
61e2c3444a Remove token, use ETag to prevent multiple queries 2017-01-11 17:37:35 +08:00
killer7Mod
5363b0f810 updates for portuguese translation 2017-01-11 15:21:58 +08:00
tonymanou
f0e1a8823e Simplify listeners containing async tasks 2017-01-11 15:20:51 +08:00
tonymanou
7be5937aa0 Using checked state listener instead of click listener 2017-01-11 15:20:51 +08:00
tonymanou
8f43055b0e Fix possible list items displaying wrong information
It is better to display empty strings rather than forget to reset
textviews when a viewholder is reused!
2017-01-11 15:20:51 +08:00
tonymanou
953a81b299 Extract getItem() method from onBindViewHolder() 2017-01-11 15:20:51 +08:00
tonymanou
1d34ae7934 Avoid storing context in adapter, static viewholder, remove useless code 2017-01-11 15:20:51 +08:00
tonymanou
2cabb2666b Avoid possible NPE 2017-01-11 15:20:51 +08:00
tonymanou
0b59bb1a29 Do not let magisk hide's apps list blink 2017-01-11 15:17:49 +08:00
tonymanou
c1e7d74b96 Reapply filter when reloading app list 2017-01-11 15:17:49 +08:00
tonymanou
cc262d6595 Change click listener to checked state listener in magisk hide 2017-01-11 15:17:49 +08:00
tonymanou
61d43b118b Use stricter package name test in magisk hide 2017-01-11 15:17:49 +08:00
tonymanou
989d8181dd Do not store context in magisk hide adapter, remove unused code 2017-01-11 15:17:49 +08:00
tonymanou
cffc157d98 Remove useless mView field from fragments 2017-01-11 15:17:49 +08:00
tonymanou
2a70619577 Improve magisk hide app list's adapter, better thread safety 2017-01-11 15:17:49 +08:00
tonymanou
b91919bffa Use string.xml committers' name as translators 2017-01-10 23:06:41 +08:00
tonymanou
fb7a4bf880 Remove empty dutch string, fix german spelling mistake 2017-01-10 23:06:41 +08:00
tonymanou
4b41799a90 Use references in string-array resources 2017-01-10 23:06:41 +08:00
topjohnwu
123f39a21b We can see the token through logs anyway, no need to encrypt 2017-01-10 22:56:48 +08:00
topjohnwu
cadab12737 Prevent root tasks if no root access 2017-01-10 22:47:58 +08:00
topjohnwu
742055c43b Various small changes 2017-01-10 22:30:05 +08:00
topjohnwu
fa73b41fa7 Update repo and module item layout 2017-01-07 03:18:47 +08:00
topjohnwu
a474eafe84 Improve installation UI and dialog 2017-01-07 02:46:50 +08:00
topjohnwu
442fcf921c Change SafetyNet check to manual start 2017-01-07 01:19:18 +08:00
topjohnwu
fb0923f3ab Magisk Hide fragment improvements 2017-01-07 00:29:53 +08:00
topjohnwu
5bb943f845 Fix repo expand card issue 2017-01-06 15:33:31 +08:00
Ahmed Zahrani
ff266c8c79 Update Arabic translation. 2017-01-06 02:51:34 +08:00
tonymanou
ef2e02098d Use untranslatable string when storing theme
This fixes #30
2017-01-06 02:44:07 +08:00
Wang Han
93598d3a51 Fix download button overlay on repo description when expanded 2017-01-06 02:43:16 +08:00
Wang Han
53aebcfb1e Fix MagiskHide Fragment Crash when freshing 2017-01-06 02:43:16 +08:00
Wang Han
bb2467d2ac Handle Google API Connection Problems 2017-01-06 02:43:16 +08:00
gh2923
05c063b61d Update Simplified Chinese Translation 2017-01-06 02:38:09 +08:00
topjohnwu
b84ab656d8 Bump version code and small fixes 2017-01-03 01:58:21 +08:00
topjohnwu
8a6b254799 Bump version code and ready for release 2016-12-30 05:42:03 +08:00
topjohnwu
94562cb5cf Fix UI bugs 2016-12-30 04:05:23 +08:00
topjohnwu
b064c124e7 Dialog fix and trivial stuffs 2016-12-28 04:48:40 +08:00
topjohnwu
c7e64f40f9 Various small fixes 2016-12-27 14:30:26 +08:00
topjohnwu
0f254dca13 string.xml cleanup 2016-12-27 05:01:26 +08:00
gh2923
e0f2ff36af Add Simplified Chinese Translation 2016-12-27 04:42:24 +08:00
Ahmed Zahrani
3546e7b51e Add Arabic translation.
Arabic language for MagiskManager
2016-12-27 04:41:32 +08:00
topjohnwu
5e7c3ed46a Functionality done 2016-12-27 04:41:00 +08:00
topjohnwu
13ec1aafa0 Update to official icon 2016-12-27 04:41:00 +08:00
topjohnwu
f521bce9e6 Update UI component 2016-12-27 04:41:00 +08:00
topjohnwu
c78209604c Update Install Fragment UI 2016-12-27 04:41:00 +08:00
topjohnwu
8fe4cfecb6 Add Install UI 2016-12-27 04:41:00 +08:00
topjohnwu
a5a2df4956 Trigger with event 2016-12-27 04:41:00 +08:00
topjohnwu
2fa5e4679f CallbackHandler to manage asyncs 2016-12-27 04:41:00 +08:00
topjohnwu
57af984e68 Add status fragment 2016-12-27 04:41:00 +08:00
topjohnwu
442e840a53 Add SafetyNet check 2016-12-23 23:05:41 +08:00
topjohnwu
3c33f7d294 Various small improvements 2016-12-11 20:38:15 +08:00
topjohnwu
c9217a419a Fix crashing when zip not signed 2016-12-08 23:03:50 +08:00
topjohnwu
cb1df5217e Update error messages 2016-11-29 13:38:32 +08:00
topjohnwu
24ef80351c Remove busybox dependency 2016-11-29 13:24:48 +08:00
topjohnwu
bb878a1ccf Fix es translation 2016-11-24 00:45:19 +08:00
topjohnwu
4daea7d7e6 Some refinements 2016-11-23 22:38:15 +08:00
topjohnwu
3b20747192 Update progress dialog 2016-11-23 19:48:34 +08:00
topjohnwu
403e30feba Add zipadjust JNI code 2016-11-23 17:25:41 +08:00
topjohnwu
f58c73b7f1 Sign the zip file 2016-11-22 13:45:26 +08:00
topjohnwu
2a8477cbda Process zip with Java 2016-11-21 01:39:27 +08:00
topjohnwu
f5bee7b691 Small refactor of download repo and FlashZip 2016-11-20 22:13:29 +08:00
topjohnwu
8c077a7373 Change search to async for smoother UI 2016-11-20 18:54:28 +08:00
topjohnwu
4e07b51460 Fix es translation 2016-11-20 18:42:00 +08:00
netizen
44294e1a88 Update strings.xml 2016-11-18 04:54:19 +08:00
Rafael Gawenda
25a0a68cde Spanish translation 2016-11-18 04:54:19 +08:00
topjohnwu
3e259021d0 Sort module/repo by name 2016-11-13 03:10:05 +08:00
topjohnwu
f69facc842 Case insensitive 2016-11-12 01:02:09 +08:00
topjohnwu
e17638bc06 Add search to MagiskHide 2016-11-11 21:45:03 +08:00
topjohnwu
399c0d337a Small fix 2016-11-11 10:40:54 +08:00
topjohnwu
856eb479e4 Add FAB menu 2016-11-10 00:22:01 +08:00
topjohnwu
1c7de1d668 New stuff = breakage.... 2016-11-10 00:21:25 +08:00
topjohnwu
8a8f24f93e Add several options 2016-11-09 05:17:50 +08:00
topjohnwu
e76dba0f84 Magisk Version now double, also support custom version names 2016-11-09 01:28:05 +08:00
topjohnwu
aababe1a87 Officially drop Cache Modules 2016-11-09 00:46:26 +08:00
topjohnwu
436b0624e7 Seperate adapters into a package 2016-11-08 00:09:08 +08:00
topjohnwu
0a37d1c15c Merge UI code into async 2016-11-08 00:04:22 +08:00
topjohnwu
793269731d Fix and tweaks for MagiskHide 2016-11-07 23:59:10 +08:00
skalnet
665d84f40a german translation 2016-11-07 07:14:58 -06:00
Killer7Mod
4734b390a5 minor fix 2016-11-07 07:14:35 -06:00
Killer7Mod
50d0721c39 minor fix in translation 2016-11-07 07:14:35 -06:00
Killer7Mod
9079f15f52 portuguese translation 2016-11-07 07:14:35 -06:00
Rafael Klaessen
60b460d594 Improved Dutch translation
Improved Dutch translation.
2016-11-07 07:13:14 -06:00
NaamloosDT
98f42d9b3b Added Dutch translation! <3
nl stands for Netherlands
2016-11-07 07:13:14 -06:00
topjohnwu
23adcb544b MagiskHide Fragment complete refactor 2016-11-07 07:12:40 -06:00
topjohnwu
e6b24d2e3c Update build.gradle 2016-11-07 07:12:40 -06:00
topjohnwu
ea3e736a14 Fix null reference crash 2016-11-07 07:12:40 -06:00
d8ahazard
a5c39b829a Update list mechanism 2016-11-07 07:12:40 -06:00
d8ahazard
1ec333ee5a Cleanup 2016-11-07 07:12:40 -06:00
d8ahazard
bbae93aa16 Initial re-add of hide fragment 2016-11-07 07:12:40 -06:00
Fabb2303
4a1e6dcc32 Fix apostrophe 2016-10-24 03:47:57 -05:00
Fabb2303
f644a4ea78 Italian Translation 2016-10-24 03:47:57 -05:00
topjohnwu
85b7405963 Delete magisk_update.json
It's in a separate branch now
2016-10-24 13:13:24 +08:00
topjohnwu
c854f436bf Fix crash on non-Nougat 2016-10-19 06:25:50 +08:00
topjohnwu
e5be8b7f67 Prevent weird Magisk version number crashing app 2016-10-18 21:54:53 +08:00
topjohnwu
906ae730e9 Add version detection for certain settings 2016-10-18 21:45:35 +08:00
topjohnwu
92df7747b2 CardView slight adjustments 2016-10-18 21:24:29 +08:00
topjohnwu
4b5b0b065d Bump up to version 2.1 2016-10-17 16:36:42 +08:00
topjohnwu
15cf8d2a6d UI tweaks 2016-10-17 16:07:47 +08:00
Stan
ef0ba9483f Update AndroidManifest.xml
Fixed misspelt com.kcoppock.broadcasttilesupport
2016-10-17 10:11:55 +08:00
topjohnwu
70500cf21e Add search bar & Magisk Hide option 2016-10-17 10:11:26 +08:00
topjohnwu
a7da6cf172 Fix root shell crash 2016-10-06 00:44:11 +08:00
topjohnwu
ae76ae4025 Prevent incorrect repo 2016-10-03 13:46:13 +08:00
topjohnwu
9614ec4c6a Magisk officially moving away from Safety Net bypasses 2016-10-03 10:24:59 +08:00
topjohnwu
c4e90b810d FlashZIP: preProcess need no root; fix toast message 2016-10-03 01:12:24 +08:00
topjohnwu
6ef47249ab Fix FlashZip (again...) 2016-10-03 00:05:53 +08:00
topjohnwu
55410f026b Fix Magisk Version; remove unnecessary root calls 2016-10-01 16:59:01 +08:00
topjohnwu
f2611f64ac Various fixes 2016-10-01 05:21:24 +08:00
dvdandroid
d788bd8323 UI Fixes
+ Adjusted dark theme colors
+ Moved setting to an activity
+ Code format
+ Changed some icons
+ Minor fixes
2016-10-01 01:02:24 +08:00
topjohnwu
9eb108f13e More cleanups 2016-09-30 18:22:43 +08:00
topjohnwu
eebd64bedb Remove Auto Root Code
Revert this commit after things are sorted out
2016-09-30 18:07:08 +08:00
topjohnwu
21504f1329 Add settings for shell logging 2016-09-30 11:35:46 +08:00
topjohnwu
ff6bae936d Fix root shell racing condition 2016-09-30 10:52:04 +08:00
topjohnwu
62523c815e Add Shell logging 2016-09-30 10:41:40 +08:00
topjohnwu
0f5465c5da Small fixes 2016-09-30 03:18:08 +08:00
topjohnwu
e4cba70008 Ready for release 2016-09-29 23:24:31 +08:00
topjohnwu
692b993eee Additional notice for Module updates 2016-09-29 03:37:57 +08:00
topjohnwu
35e3a479cd Remove unnecessary expand list that causes crashes 2016-09-29 02:05:53 +08:00
topjohnwu
bb7ff27d04 Massive repo refactor 2016-09-29 01:42:25 +08:00
topjohnwu
0acc5e33b3 Magisk Update checker use prefs listener 2016-09-28 18:05:55 +08:00
topjohnwu
cb5187fd8d Finish repo download and flash 2016-09-28 14:50:26 +08:00
topjohnwu
160c6e6554 Stupid fix... 2016-09-28 00:36:58 +08:00
topjohnwu
a173179b03 Final fix for flash zip 2016-09-28 00:33:01 +08:00
topjohnwu
e73497e4b7 Update UI callback with prefs listener 2016-09-27 22:57:20 +08:00
d8ahazard
835ef01a70 Prettify theme, add relaunch to settings on change 2016-09-27 15:58:21 +08:00
d8ahazard
a1335aecfb Clean up default preferences setter 2016-09-27 15:58:04 +08:00
d8ahazard
c553312fd5 Re-add activity check
Causes false disables otherwise.
2016-09-27 15:57:17 +08:00
d8ahazard
3adc7ca22a Fix snackbar position 2016-09-27 15:56:53 +08:00