diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-09 07:18:31 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-09 07:18:31 -0500 |
commit | 2c4f605b6674e2ca9659c46f686b8597baa431ff (patch) | |
tree | 333967f5c4d7e1fa98f5a74f00fbb855de985b44 /app/src/main/java/com/wireguard/crypto | |
parent | 39ed03f758fdcb22dd01ca576e31b19057ca387a (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