Move AboutCardRow to components package

This commit is contained in:
topjohnwu
2017-02-13 03:12:10 +08:00
parent 44b0d4127c
commit 958c95732b
4 changed files with 13 additions and 10 deletions

View File

@ -16,6 +16,7 @@ import android.view.View;
import android.view.WindowManager;
import android.widget.TextView;
import com.topjohnwu.magisk.components.AboutCardRow;
import com.topjohnwu.magisk.components.Activity;
import com.topjohnwu.magisk.utils.Logger;
import com.topjohnwu.magisk.utils.Utils;

View File

@ -229,10 +229,10 @@ public class SettingsActivity extends Activity {
getApplication().suNotificationType = Utils.getPrefsInt(prefs, "su_notification", 1);
break;
case "developer_logging":
getApplication().devLogging = prefs.getBoolean("developer_logging", false);
MagiskManager.devLogging = prefs.getBoolean("developer_logging", false);
break;
case "shell_logging":
getApplication().shellLogging = prefs.getBoolean("shell_logging", false);
MagiskManager.shellLogging = prefs.getBoolean("shell_logging", false);
break;
}
setSummary();

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.topjohnwu.magisk;
package com.topjohnwu.magisk.components;
import android.content.Context;
import android.content.res.TypedArray;
@ -26,6 +26,8 @@ import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.topjohnwu.magisk.R;
/**
* @author dvdandroid
*/