Settings: volume wake preference

Change-Id: I6a732e627b75a1be533ecd96cb018307de0e5a77
Settings: home answer call

Change-Id: Id8fd19f2e598d8f11bfe40e7f149f9d7613f6ad4

Power End Call

Change-Id: Iabcf15c309b1ed2675f4dedfdd25401dd1031bdf
Settings: squash of new profile UI for cm-12.0

Additions for cm-12.0:
- removed expanded desktop
- added add profile FAB
- updated tabs for meterial style
- added enabler switch bar

Squashed commits:
-------------------------------

Settings: refactor Profiles to be more user friendly

* Remove the notion of Profile app groups
* Rearrange profile setup flow, now we first present the user with ways
which will trigger the profile, then allow them to set what happens when
the profile is triggered.

Change-Id: I2870df894046cd43c21c67991fb5efc9c3fec837
Signed-off-by: Roman Birg <roman@cyngn.com>

Settings: cleanup new profiles UI

* cleanup old code
* for configuring profiles, add options to modify triggers and remove
the profile
* remove separate activity
* don't hardcode padding pixel sizes

Change-Id: I6b1d05c9f918714249411006c7562496e2a7539e
Signed-off-by: Roman Birg <roman@cyngn.com>

Profiles: fix expanded desktop settings not applying

Change-Id: Ia523145bf47bfc189c29b035ad5ec6e053cf9296

Settings: Fix profiles volume override summary.

Change-Id: I499cfb3006a7fc7b5e931ac854a7437f5d141523

Settings: fix Profiles expanded desktop choice mapping

Change-Id: Ib96811a0c268ca68a7b9732283c5abc142d143a4
Signed-off-by: Roman Birg <roman@cyngn.com>

Settings: add "Untouched" ring mode option in profiles

Change-Id: I4ac2d63119b328533217104a799cb0660ecddfb9
Signed-off-by: Roman Birg <roman@cyngn.com>

Settings: profiles: fix volume streams override behavior

Before we would always assume to override the stream, but that is not
always the case. Add a checkbox to turn the override on and off.

Change-Id: Ic1a58d59a9e514d4c2ccf376191ac7989bbead26
Signed-off-by: Roman Birg <roman@cyngn.com>
ProtectedAppsReceiver: fix NPE when components are null

 * To reproduce: create a folder at Trebuchet, lock it and leave the screen

Change-Id: I49a2e76fdaa3e375b0ea5aa2bb05eaa92528dd19
(cherry picked from commit 2d983c06ad95036fc80bff761b82c91a99119cea)
Add battery level text to status bar (2/2)

1. Remove battery level toggle from Date/Time settings.
2. Add "Status Bar" settings entry with battery level setting.

Change-Id: I8194354f7ebdaf14cb1754c6e5d741053d20000e
profiles: Make the actions wizard buttons show up

The "back" and "finish" buttons weren't being shown at all in this
layout, which made it impossible to add profiles.

Change-Id: Ib6b52430c25ed7445ca8e3c1249b7fccd21c3c69
profiles: Make the floating action button more material-y

This makes the FAB look consistent with other fabs across the system,
it adds animated elevation, changes the icon color to white but mainly
fixes the size which was completly wrong.

Change-Id: Ib8b2d54869a6a10958c24bcc0fab1224fd07fadd
Update Profiles settings icon

Switch to vector drawables to fix blurry drawables

Change-Id: Id3f5e3ad408c4d17659d941f68853379b07c688f
Rename Profiles to System profiles

L includes 'Users & Profiles', rename ours to distinguish features
and prevent confusion.

Change-Id: I5a148dcf5fea1b24448d254105b0bd6904a4ddd8
Settings: fix profile triggers not showing up for RTL languages

The layout was placing the title and summary off the screen for RTL
layouts.

Change-Id: I30e560fb9565581b2f55a826e90e110383581f28
Signed-off-by: Roman Birg <roman@cyngn.com>