/android/import-contacts

To get this branch, use:
bzr branch http://bzr.ed.am/android/import-contacts

« back to all changes in this revision

Viewing changes to src/am/ed/importcontacts/FileChooser.java

  • Committer: Tim Marston
  • Date: 2013-05-10 12:16:15 UTC
  • Revision ID: tim@ed.am-20130510121615-g8qhsu0h3t0ymrt6
Tags: 1.3.2
fix spacing in NEWS

Show diffs side-by-side

added added

removed removed

4
4
 * Copyright (C) 2010 Tim Marston <tim@ed.am>
5
5
 *
6
6
 * This file is part of the Import Contacts program (hereafter referred
7
 
 * to as "this program").  For more information, see
 
7
 * to as "this program"). For more information, see
8
8
 * http://ed.am/dev/android/import-contacts
9
9
 *
10
10
 * This program is free software: you can redistribute it and/or modify
247
247
                }
248
248
        };
249
249
 
250
 
        private OnItemClickListener _fileChooserItemClickListener =
251
 
                        new OnItemClickListener() {
252
 
                public void onItemClick( AdapterView< ? > adapter_view, View view,
253
 
                        int position, long id )
 
250
        private OnItemClickListener _fileChooserItemClickListener = new OnItemClickListener() {
 
251
                public void onItemClick( AdapterView< ? > adapter_view, View view, int position, long id )
254
252
                {
255
253
                        RowItem rowitem = _items.get( position );
256
254
 
370
368
                if( path.startsWith( _path_prefix + "/" ) )
371
369
                        path = path.substring( _path_prefix.length() );
372
370
 
373
 
                // unless path is "/", strip trailing "/"
 
371
                // unless path is "/", strip trailing "/".
374
372
                if( path.length() > 1 && path.endsWith( "/" ) )
375
373
                        path = path.substring( 0, path.length() - 1 );
376
374