Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ad98a676 authored by Jorge Ruesga's avatar Jorge Ruesga Committed by Gerrit Code Review
Browse files

settings: prevent NPE if device doesn't support ActionBar

If the device FEATURE_ACTION_BAR (the device hasn't it enabled or a theme has disabled it), getActionBar()
will return a null reference. Just prevent to use that invalid ref.

JIRA: BUGDUMP-23210
https://jira.cyanogenmod.org/browse/BUGDUMP-23210


Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>

Change-Id: I210867b10193471c49e444c27c47e9de6baee822
parent d42fc1db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment