Skip to content

Commit

Permalink
refactor: sort packages
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Dec 17, 2021
1 parent 2cad012 commit d6647dd
Show file tree
Hide file tree
Showing 38 changed files with 181 additions and 189 deletions.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
android:required="false" />

<application
android:name="cc.ioctl.nfcdevicehost.procedure.BaseApplicationDelegate"
android:name="cc.ioctl.nfcdevicehost.startup.BaseApplicationDelegate"
android:allowBackup="true"
android:appCategory="productivity"
android:directBootAware="false"
Expand Down
98 changes: 49 additions & 49 deletions app/src/main/cpp/libnciclient/ipc_handle_jni.cpp

Large diffs are not rendered by default.

132 changes: 66 additions & 66 deletions app/src/main/cpp/libnciclient/ipc_handle_jni.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

import androidx.annotation.Nullable;

import cc.ioctl.nfcdevicehost.activity.base.BaseActivity;

/**
* External file share/browser springboard entry point.
* This activity is short-lived and only used to launch a target activity.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@
import java.io.File;
import java.io.IOException;

import cc.ioctl.nfcdevicehost.NativeInterface;
import cc.ioctl.nfcdevicehost.util.NativeInterface;
import cc.ioctl.nfcdevicehost.R;
import cc.ioctl.nfcdevicehost.daemon.INciHostDaemon;
import cc.ioctl.nfcdevicehost.daemon.IpcNativeHandler;
import cc.ioctl.nfcdevicehost.activity.base.BaseActivity;
import cc.ioctl.nfcdevicehost.ipc.daemon.INciHostDaemon;
import cc.ioctl.nfcdevicehost.ipc.daemon.IpcNativeHandler;
import cc.ioctl.nfcdevicehost.util.RootShell;
import cc.ioctl.nfcdevicehost.util.ThreadManager;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import java.lang.reflect.Field;

import cc.ioctl.nfcdevicehost.R;
import cc.ioctl.nfcdevicehost.activity.base.BaseActivity;

@RequiresApi(api = Build.VERSION_CODES.O)
public class MipmapGenActivity extends BaseActivity {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import androidx.preference.PreferenceFragmentCompat;

import cc.ioctl.nfcdevicehost.R;
import cc.ioctl.nfcdevicehost.activity.base.BaseActivity;

public class SettingsActivity extends BaseActivity {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicInteger;

import cc.ioctl.nfcdevicehost.activity.base.BaseActivity;

/**
* Transparent and transient activity that is used to access the SAF API without overriding the
* onActivityResult() method. This activity is used by {@link cc.ioctl.nfcdevicehost.util.SafUtils}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import androidx.appcompat.app.ActionBar;

import cc.ioctl.nfcdevicehost.R;
import cc.ioctl.nfcdevicehost.activity.base.BaseActivity;
import cc.ioctl.nfcdevicehost.activity.ui.dump.HalDumpFileViewFragment;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cc.ioctl.nfcdevicehost.activity;
package cc.ioctl.nfcdevicehost.activity.base;

import android.content.res.TypedArray;
import android.graphics.Color;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cc.ioctl.nfcdevicehost.activity;
package cc.ioctl.nfcdevicehost.activity.base;

import android.annotation.SuppressLint;
import android.app.Activity;
Expand All @@ -14,8 +14,8 @@
import java.lang.reflect.Field;

import cc.ioctl.nfcdevicehost.activity.ui.startup.TransientInitActivity;
import cc.ioctl.nfcdevicehost.procedure.MainApplicationImpl;
import cc.ioctl.nfcdevicehost.procedure.StartupDirector;
import cc.ioctl.nfcdevicehost.startup.MainApplicationImpl;
import cc.ioctl.nfcdevicehost.startup.StartupDirector;

/**
* Late-onCreate feature for Activity
Expand Down
Loading

0 comments on commit d6647dd

Please sign in to comment.