v2.9.5.5-3dfx

- Rounded corners if the search list in Rom store has only 1 result.
- Removed the possibility of memory leak in Rom store and in VM creator.
- Reduced errors when selecting files in unexpected places and errors when getting file path in VM creator.
- Show error dialog when invalid file path in VM creator.
- When selecting thumbnail in VM creator, it opens image picker instead of selecting file.
- Thumbnails are now forced to be copied to VM instead of used directly outside even if Copy file is disabled in Settings.
- When selecting Mouse mode in VNC screen, it opens mode selection dialog directly instead of opening UI Mode dialog.
This commit is contained in:
An Bui 2025-08-28 14:18:41 +07:00
parent 8daa483e3d
commit 899802f2de
16 changed files with 838 additions and 1169 deletions

View file

@ -38,17 +38,14 @@ public class CqcmActivity extends AppCompatActivity {
setContentView(R.layout.activity_cqcm);
UIUtils.setOnApplyWindowInsetsListener(findViewById(R.id.main));
buttonallow = findViewById(R.id.buttonallow);
buttonallow.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
if (shouldShowRequestPermissionRationale(android.Manifest.permission.WRITE_EXTERNAL_STORAGE)) {
Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
intent.setData(Uri.parse("package:" + getPackageName()));
startActivity(intent);
Toast.makeText(getApplicationContext(), getResources().getString(R.string.find_and_allow_access_to_storage_in_settings), Toast.LENGTH_LONG).show();
} else {
ActivityCompat.requestPermissions(CqcmActivity.this, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, 1000);
}
buttonallow.setOnClickListener(v -> {
if (shouldShowRequestPermissionRationale(Manifest.permission.WRITE_EXTERNAL_STORAGE)) {
Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
intent.setData(Uri.parse("package:" + getPackageName()));
startActivity(intent);
Toast.makeText(getApplicationContext(), getResources().getString(R.string.find_and_allow_access_to_storage_in_settings), Toast.LENGTH_LONG).show();
} else {
ActivityCompat.requestPermissions(CqcmActivity.this, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, 1000);
}
});
}