removed size-sorting of base-dir proposals
This commit is contained in:
parent
e1f8fce85a
commit
c1f68e99d0
1 changed files with 2 additions and 5 deletions
|
@ -499,11 +499,8 @@ public class BRouterActivity extends Activity implements OnInitListener
|
|||
size = (long) stat.getAvailableBlocks() * stat.getBlockSize();
|
||||
}
|
||||
catch (Exception e) { /* ignore */ }
|
||||
int idx = 0;
|
||||
while (idx < availableBasedirs.size() && dirFreeSizes.get( idx ).longValue() > size)
|
||||
idx++;
|
||||
availableBasedirs.add( idx, d );
|
||||
dirFreeSizes.add( idx, Long.valueOf( size ) );
|
||||
availableBasedirs.add( d );
|
||||
dirFreeSizes.add( Long.valueOf( size ) );
|
||||
}
|
||||
|
||||
basedirOptions = new String[items.size() + 1];
|
||||
|
|
Loading…
Reference in a new issue