File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
app/src/main/java/com/aaxena/takenotes Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ public class Landing extends AppCompatActivity {
82
82
private AppUpdateManager mAppUpdateManager ;
83
83
private static final int RC_APP_UPDATE = 11 ;
84
84
FirebaseAuth mAuth ;
85
- private long pressedTime ;
86
85
private String hello ;
87
86
88
87
@ Override
@@ -554,14 +553,5 @@ protected void onPostExecute(File file) {
554
553
finish ();
555
554
}
556
555
}
557
- @ Override
558
- public void onBackPressed () {
559
- if (pressedTime + 2000 > System .currentTimeMillis ()) {
560
- super .onBackPressed ();
561
- finish ();
562
- } else {
563
- Toast .makeText (getBaseContext (), "Press back again to exit" , Toast .LENGTH_SHORT ).show ();
564
- }
565
- pressedTime = System .currentTimeMillis ();
566
- }
556
+
567
557
}
You can’t perform that action at this time.
0 commit comments