[android] Fix key install and revert to old icon_bg
`312b3d4743ad734ac3234385f1edaa94d5b69440` Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
@@ -349,6 +349,8 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
|
||||
val resultCode: Int = NativeLibrary.installKeys(result.toString(), extension);
|
||||
|
||||
if (resultCode == 0) {
|
||||
// TODO(crueter): It may be worth it to switch some of these Toasts to snackbars,
|
||||
// since most of it is foreground-only anyways.
|
||||
Toast.makeText(
|
||||
applicationContext, R.string.keys_install_success, Toast.LENGTH_SHORT
|
||||
).show()
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -46,7 +46,7 @@ FirmwareManager::InstallKeys(std::string location, std::string extension) {
|
||||
}
|
||||
|
||||
jmethodID copyToStorage = Common::Android::GetCopyToStorage();
|
||||
jstring jdest = Common::Android::ToJString(env, keys_dir.string());
|
||||
jstring jdest = Common::Android::ToJString(env, keys_dir.string() + "/");
|
||||
|
||||
jboolean copyResult = env->CallStaticBooleanMethod(
|
||||
native,
|
||||
|
||||
Reference in New Issue
Block a user