PowerMenuActions: Add more checks for bugreport and lockdown option states

Use LockPatternUtils to check if lock screen is secure.
Use UserManager and UserInfo to check if the current user is primary.

In result, bugreport and lockdown are visible and toggled only during correct scenarios:
	- Bug reporting option is disabled if development settings aren't on
	- Bug reporting option is disabled if the current user isn't the primary user
	- Bug reporting checkbox reflects the state of Settings.Global.BUGREPORT_IN_POWER_MENU
	- Lockdown option is disabled if keyguard isn't secure
	- Lockdown checkbox reflects the state of Settings.Secure.LOCKDOWN_IN_POWER_MENU

String summaries are added for each scenario.

Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com>
Change-Id: I8a4e4a6078e8277ce2cfee16d5b2abb4de91c746
2 files changed