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

Skip to content
Commit 11218100 authored by DvTonder's avatar DvTonder
Browse files

Framework: Add the ability to enable/disable use of Profiles (Part 2/2)

This will remove the Profiles item from the Power menu when the user has
selected to disable the use of System Profiles.

TODO: Better handling of returning a default profile when requested

Patchset 1-4: Initial commit
Patchset 5  : Additional error checking to prevent profile changes
Patchset 6  : Remove WIP
Patchset 7  : Workaround for NPE when no profile returned as our
              null checking in profiles is not the best
Patchset 8  : Rebase
Patchset 9  : Remove enabled checking code from getActiveProfile()
Patchset 10 : Create and return an Empty Profile if profiles disabled
              This should fix all the NPE's

Change-Id: I3c29b1bbd8f72c5432a1906a6b412d9412279c9f
parent d289474c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment