mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-12 07:03:37 +00: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.
Magisk Manager
The project should be built with Android Studio version 2.2.0+
I use Java 8 features, which requires Jack compiler and it's only available in 2.2.0+
Also, you need to install CMake and NDK to build the zipadjust library for zip preprocessing
Languages
C++
36.6%
Kotlin
30.4%
Rust
16.4%
Java
9%
Shell
4.9%
Other
2.6%