@@ -105,7 +105,6 @@ public class FileDialog extends AppCompatActivity {
105105 *
106106 * @param savedInstanceState
107107 */
108-
109108 @ Override
110109 protected void onCreate (Bundle savedInstanceState ) {
111110 super .onCreate (savedInstanceState );
@@ -138,7 +137,6 @@ protected void onCreate(Bundle savedInstanceState) {
138137 if (extra .get ("path" ) != null ) root = extra .get ("path" ).toString ();
139138 if (extra .get (OVERRIDE_LAST_PATH_VISITED ) != null ) {
140139 overrideLastPathVisited = extra .getBoolean (OVERRIDE_LAST_PATH_VISITED );
141- Log .v ("COOSER" , "--" + overrideLastPathVisited );
142140 }
143141 // If previously a path was saved, get it and use passed path as default.
144142 // This is convenient for the user because he always returns to the folder he
@@ -217,7 +215,6 @@ protected void onSaveInstanceState(Bundle s) {
217215 protected void onPause () {
218216 super .onPause ();
219217 if (task != null ) task .cancel (true );
220- Log .v ("Main" , "ONPAUSEEEEEEE--------" + currentPath + " " + task );
221218 }
222219
223220 @ Override
@@ -226,7 +223,6 @@ protected void onResume() {
226223 if (savedState != null ) currentPath = new File (savedState .getString ("path" ));
227224 // Display current path
228225 ab .setSubtitle (currentPath .toString ());
229- Log .v ("Main" , "ONRESUME----------" + currentPath + " " + task );
230226 refreshFiles (currentPath , myListAdapter );
231227 }
232228
@@ -238,7 +234,6 @@ protected void onResume() {
238234 * This makes shure, that, even if the bacl- button was pressed
239235 * file picker is finished via it's on finish method....
240236 */
241-
242237 @ Override
243238 public void onBackPressed () {
244239 lastPathVisited = currentPath .toString ();
@@ -251,7 +246,6 @@ public void onBackPressed() {
251246 * @param menu
252247 * @since 7/2017
253248 */
254-
255249 @ Override
256250 public boolean onCreateOptionsMenu (Menu menu ) {
257251 // Inflate the menu; this adds items to the action bar if it is present.
@@ -308,7 +302,6 @@ private void refreshFiles(File path, FileListAdapter a) {
308302 /**
309303 * Leave activity
310304 */
311-
312305 public void finishIt () {
313306 task .cancel (true );
314307
0 commit comments