diff options
author | Arne Schwabe <arne@rfc2549.org> | 2016-12-17 13:50:51 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2016-12-17 13:50:51 +0100 |
commit | 836ead90e67f0d38cae704121e037bb3b7157dd8 (patch) | |
tree | 9c18665fc4cc066514bbad5266a3e0454fc81ed8 | |
parent | 7939e5af2252f47ab79dff80682388bdbced1fa5 (diff) |
LRU sorted the wrong way
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/fragments/VPNProfileList.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/fragments/VPNProfileList.java b/main/src/main/java/de/blinkt/openvpn/fragments/VPNProfileList.java index 109ecf9f..df98e346 100644 --- a/main/src/main/java/de/blinkt/openvpn/fragments/VPNProfileList.java +++ b/main/src/main/java/de/blinkt/openvpn/fragments/VPNProfileList.java @@ -356,7 +356,7 @@ public class VPNProfileList extends ListFragment implements OnClickListener, Vpn return 1; // Copied from Long.compare - return (lhs.mLastUsed < rhs.mLastUsed) ? -1 : ((lhs.mLastUsed == rhs.mLastUsed) ? 0 : 1); + return (lhs.mLastUsed > rhs.mLastUsed) ? -1 : ((lhs.mLastUsed == rhs.mLastUsed) ? 0 : 1); } } |