summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard/crypto
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-09 07:18:31 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-09 07:18:31 -0500
commit2c4f605b6674e2ca9659c46f686b8597baa431ff (patch)
tree333967f5c4d7e1fa98f5a74f00fbb855de985b44 /app/src/main/java/com/wireguard/crypto
parent39ed03f758fdcb22dd01ca576e31b19057ca387a (diff)
ProfileFragment: Helper class to remember a fragment's profile
Caching the actual profile object is important when the fragment is on an activity's back stack: when it is shown again, onCreateView will be called with profile already set and the service already connected. In this case, there is no later notification from which to bind the profile, so the existing object needs to be bound there. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java/com/wireguard/crypto')
0 files changed, 0 insertions, 0 deletions