summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard/util
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-03-08 22:23:51 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-03-09 10:12:50 +0530
commit7ca2a0df180e2c60c539e18e387eda62d7ef813d (patch)
treeafb0a2b246f035b27887236175174444fcd25983 /app/src/main/java/com/wireguard/util
parent7a4af834c213672c65c89b14c75229bf5f2ea4ab (diff)
global: Use requireContext rather than getContext in fragments
requireContext provides helpful error messages when it's null as opposed to getContext which simply throws a NullPointerException. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/java/com/wireguard/util')
0 files changed, 0 insertions, 0 deletions