diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2018-04-30 16:56:25 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2018-04-30 17:30:25 +0530 |
commit | a6e530049cfb3786cfbadf73fc9844cb7b16e4ef (patch) | |
tree | 61ab9d40692ccfd086f1564280008bed244b4b99 /app/src/main/java/com/wireguard/android/activity/BaseActivity.java | |
parent | 77c0d4dfa6d46c13632832b8f882e6121e7bef0b (diff) |
ZipExporterPreference: Correctly get preference activity
In AppCompat based preferences, this#getContext returns an
object of android.view.ContextThemeWrapper class from where
we can safely extract a reference to our parent activity.
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/java/com/wireguard/android/activity/BaseActivity.java')
0 files changed, 0 insertions, 0 deletions