small fix to be compatible with Android 1.5
This commit is contained in:
@@ -46,6 +46,9 @@ public class SelectPublicKeyListActivity extends BaseActivity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mList = (ListView) findViewById(R.id.list);
|
mList = (ListView) findViewById(R.id.list);
|
||||||
|
// needed in Android 1.5, where the XML attribute gets ignored
|
||||||
|
mList.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
|
||||||
|
|
||||||
Vector<PGPPublicKeyRing> keyRings =
|
Vector<PGPPublicKeyRing> keyRings =
|
||||||
(Vector<PGPPublicKeyRing>) Apg.getPublicKeyRings().clone();
|
(Vector<PGPPublicKeyRing>) Apg.getPublicKeyRings().clone();
|
||||||
Collections.sort(keyRings, new Apg.PublicKeySorter());
|
Collections.sort(keyRings, new Apg.PublicKeySorter());
|
||||||
|
|||||||
Reference in New Issue
Block a user