mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 04:29:22 +01:00
Fix onCancel and onKeyboard methods
This commit is contained in:
parent
c3d63287d6
commit
f047c7afba
1 changed files with 6 additions and 7 deletions
|
@ -131,15 +131,14 @@ public class CustomScannerActivity extends Activity implements
|
|||
capture.onRequestPermissionsResult(requestCode, permissions, grantResults);
|
||||
}
|
||||
|
||||
public void onCancel()
|
||||
{
|
||||
setResult(2);
|
||||
finish();
|
||||
}
|
||||
|
||||
public void onKeyboard()
|
||||
{
|
||||
public void onKeyboard(View view) {
|
||||
setResult(3);
|
||||
finish();
|
||||
}
|
||||
|
||||
public void onCancel(View view) {
|
||||
setResult(2);
|
||||
finish();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue