android: Run final format
This commit is contained in:
parent
baa12c851b
commit
0cc0e9e746
@ -189,8 +189,7 @@ public final class GameDatabase extends SQLiteOpenHelper {
|
|||||||
Set<String> newExtensions = new HashSet<>(Arrays.asList(
|
Set<String> newExtensions = new HashSet<>(Arrays.asList(
|
||||||
".3ds", ".3dsx", ".elf", ".axf", ".cci", ".cxi", ".app"));
|
".3ds", ".3dsx", ".elf", ".axf", ".cci", ".cxi", ".app"));
|
||||||
addGamesRecursive(database, file, newExtensions, depth - 1);
|
addGamesRecursive(database, file, newExtensions, depth - 1);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
String filePath = file.getPath();
|
String filePath = file.getPath();
|
||||||
|
|
||||||
int extensionStart = filePath.lastIndexOf('.');
|
int extensionStart = filePath.lastIndexOf('.');
|
||||||
|
@ -250,9 +250,8 @@ jobjectArray Java_org_citra_citra_1emu_NativeLibrary_GetInstalledGamePaths(
|
|||||||
ScanDir(nullptr, "",
|
ScanDir(nullptr, "",
|
||||||
FileUtil::GetUserPath(FileUtil::UserPath::NANDDir) +
|
FileUtil::GetUserPath(FileUtil::UserPath::NANDDir) +
|
||||||
"00000000000000000000000000000000/title/00040010");
|
"00000000000000000000000000000000/title/00040010");
|
||||||
jobjectArray jgames =
|
jobjectArray jgames = env->NewObjectArray(static_cast<jsize>(games.size()),
|
||||||
env->NewObjectArray(static_cast<jsize>(games.size()), env->FindClass("java/lang/String"),
|
env->FindClass("java/lang/String"), nullptr);
|
||||||
nullptr);
|
|
||||||
for (jsize i = 0; i < games.size(); ++i)
|
for (jsize i = 0; i < games.size(); ++i)
|
||||||
env->SetObjectArrayElement(jgames, i, env->NewStringUTF(games[i].c_str()));
|
env->SetObjectArrayElement(jgames, i, env->NewStringUTF(games[i].c_str()));
|
||||||
return jgames;
|
return jgames;
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<androidx.appcompat.widget.Toolbar
|
<androidx.appcompat.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:id="@+id/nnf_picker_toolbar"
|
android:id="@+id/nnf_picker_toolbar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -21,6 +20,7 @@
|
|||||||
android:ellipsize="start"
|
android:ellipsize="start"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Widget.ActionBar.Title" />
|
android:textAppearance="@style/TextAppearance.AppCompat.Widget.ActionBar.Title" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/nnf_current_dir"
|
android:id="@+id/nnf_current_dir"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:padding="8dp"
|
android:padding="8dp"
|
||||||
android:gravity="center"
|
android:gravity="center">
|
||||||
>
|
|
||||||
<DatePicker
|
<DatePicker
|
||||||
android:id="@+id/date_picker"
|
android:id="@+id/date_picker"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<style name="FilePickerBaseTheme" parent="NNF_BaseTheme" />
|
<style name="FilePickerBaseTheme" parent="NNF_BaseTheme" />
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<style name="FilePickerBaseTheme" parent="NNF_BaseTheme.Light" />
|
<style name="FilePickerBaseTheme" parent="NNF_BaseTheme.Light" />
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user