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();
|
size = (long) stat.getAvailableBlocks() * stat.getBlockSize();
|
||||||
}
|
}
|
||||||
catch (Exception e) { /* ignore */ }
|
catch (Exception e) { /* ignore */ }
|
||||||
int idx = 0;
|
availableBasedirs.add( d );
|
||||||
while (idx < availableBasedirs.size() && dirFreeSizes.get( idx ).longValue() > size)
|
dirFreeSizes.add( Long.valueOf( size ) );
|
||||||
idx++;
|
|
||||||
availableBasedirs.add( idx, d );
|
|
||||||
dirFreeSizes.add( idx, Long.valueOf( size ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
basedirOptions = new String[items.size() + 1];
|
basedirOptions = new String[items.size() + 1];
|
||||||
|
|
Loading…
Reference in a new issue