We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7c5dcf1 + c5912d1 commit d5a6c12Copy full SHA for d5a6c12
app/src/main/java/edu/washington/cs/ubicomplab/rdt_reader/ImageQualityActivity.java
@@ -202,8 +202,12 @@ protected void onDestroy() {
202
203
@Override
204
public void onBackPressed() {
205
- Intent intent = new Intent(this, MainActivity.class);
206
- startActivity(intent);
+ if(isExternalIntent()) {
+ super.onBackPressed();
207
+ } else {
208
+ Intent intent = new Intent(this, MainActivity.class);
209
+ startActivity(intent);
210
+ }
211
}
212
213
0 commit comments