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
Loading
Please register or sign in to comment