Commit Graph

413 Commits

Author SHA1 Message Date
0dc60debea Fix warning about use of API limited to support package 2017-01-30 20:11:17 +08:00
c44ae5888c Optimize map operations 2017-01-30 20:11:17 +08:00
b9495cd1bb Improve static data management 2017-01-30 20:04:49 +08:00
bfec381933 Improve su requests 2017-01-30 19:27:00 +08:00
2dddb8df69 Reset menu every transaction 2017-01-30 01:51:55 +08:00
d30397e9c0 Let users know why blacklist PoGO and AP... 2017-01-30 01:40:51 +08:00
d9597549fd Prevent excessive su requests 2017-01-30 00:44:33 +08:00
13512b4146 Add BootReceiver 2017-01-29 16:52:43 +08:00
49e546919a Update logs 2017-01-29 16:20:41 +08:00
4a7e067d1a Use support library 2017-01-29 00:20:43 +08:00
9bc0b7f183 Update settings 2017-01-28 22:02:33 +08:00
cd4dfc9861 Add Superuser settings 2017-01-28 06:13:07 +08:00
09bdbc1224 Revert "Read only the first line instead of loading the whole file"
This reverts commit a5b573eaaa.

The file shall always have one single line, no need to create a new method
2017-01-28 01:25:51 +08:00
978b3a64c5 Remove context reference from recyclerview adapter 2017-01-28 01:25:15 +08:00
651547ef20 Fix raw use of generics warnings 2017-01-28 01:25:15 +08:00
b4d95977d0 Remove redundant XML namespaces 2017-01-28 01:25:15 +08:00
84c8ecb372 Slight improvement for the navigation drawer 2017-01-28 01:25:15 +08:00
61abe5b948 Do not close the whole application in case of error 2017-01-28 01:25:15 +08:00
a5b573eaaa Read only the first line instead of loading the whole file 2017-01-28 01:25:15 +08:00
cbb32f82eb Add Superuser logging UI 2017-01-28 01:13:28 +08:00
ca9334b2df Add tabs to log fragment 2017-01-27 03:43:37 +08:00
959ed7f866 Implement logging and bug fixes 2017-01-27 01:02:40 +08:00
7263b6fe89 Handle bootblock detect failure cases 2017-01-26 14:25:12 +08:00
46a4070f84 Prevent shell response crashes 2017-01-26 13:46:54 +08:00
c3c155a1ed Improved settings 2017-01-26 04:17:51 +08:00
b067105660 Fix bug where no info is available 2017-01-26 03:45:05 +08:00
15ca18848e Add su revoke 2017-01-26 03:30:12 +08:00
67c9e2ead6 Add Superuser management UI 2017-01-26 01:13:23 +08:00
3681177be4 Rename fragment layouts 2017-01-25 17:07:23 +08:00
6eb814ef0b Fix some small issues 2017-01-25 16:45:55 +08:00
bcc695234c Seperate Configs 2017-01-25 13:17:33 +08:00
ad16a6fc1b Project restructure 2017-01-25 04:33:22 +08:00
478b7eeb65 Stop countdown when user reacts 2017-01-25 02:16:36 +08:00
151a153dc9 Fix toasts and timeouts 2017-01-25 01:23:41 +08:00
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
21b00ac6ca Use try-with-resources in some places 2017-01-15 02:37:40 +08:00
57e6f3080c Fix generic type 2017-01-15 02:37:40 +08:00
89744100ce Remove unnecessary Butterknife binding in adapters 2017-01-15 02:37:40 +08:00
a718f9bbfd Unbind Butterknife-injected views in fragment's onDestroyView() 2017-01-15 02:37:40 +08:00
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
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
ae74d54451 Events should be final in order to work 2017-01-15 02:37:40 +08:00
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
e9f04256c9 setHasOptionsMenu() should be called from fragment's onCreate() 2017-01-15 02:37:40 +08:00
a9dc1b32e0 Add release notes to install button 2017-01-11 19:18:27 +08:00
01d847ae4e Improve settings 2017-01-11 19:10:30 +08:00
61e2c3444a Remove token, use ETag to prevent multiple queries 2017-01-11 17:37:35 +08:00
f0e1a8823e Simplify listeners containing async tasks 2017-01-11 15:20:51 +08:00
7be5937aa0 Using checked state listener instead of click listener 2017-01-11 15:20:51 +08:00
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