Make people lookup default overlay

Change-Id: I6dd7267bc82d33e04d99024e4dfb193f071d4f97
SettingsProvider: fix load protected sms setting logic

The method assumed a string resource, but we are working with
string-arrays.

Change-Id: I7d03821c5f5ac5d24445e5c03f7911c3a81c16dd
Signed-off-by: Roman Birg <roman@cyngn.com>
Merge remote-tracking branch 'cyanogenmod/cm-11.0' into cm-11.0
pm: use 'available cores' instead of 'available cores + 1' for multi-threaded dexopt

Linux kernel's CFS scheduler does a better job when
the number of workloads is equal to the number of CPU cores.

Since dexopt almost always takes 100% of CPU cycle,
we can expect faster dexopt operation with CFS scheduler
at its best.

Signed-off-by: arter97 <qkrwngud825@gmail.com>
pm: always dexopt with multi-thread if more than 20 packages need to be dexopt'ed

Multi-threaded dexopt is still disabled by default due to some race-conditions.

Let's do a reboot after multi-threaded dexopt is done.

Users will benefit from a much faster dexopt but still won't suffer from data-loss.

Signed-off-by: arter97 <qkrwngud825@gmail.com>