Bluetooth: GAP: Handled scan mode during first time BT On

As the discoverability time out concept changed as per the
new design and this code snippet "setting scan mode to
connectable only when endtimestamp is null" is not
applicable.DUT remains in only connectable mode
if user remains in the settings menu.

Change-Id: I7aa2ea7d23c4a47f716e2c0645b2ad73018ada39
CRs-fixed: 714578
Settings: Fix no preferred APN

Add preferred APN if found no match.

CRs-Fixed: 748830

Change-Id: Ibecf88a3e6236de13a0a4291438a6e62159a05e0
packages: settings: CryptKeeper: Disable FDE if PFE activated

Don't allow Full-Disk-Encryption (FDE) after Per-File-Encryption (PFE)

Change-Id: I5ed46d4362f6536a6cf526aa5bf4bac4610c47b6
Bluetooth: Don't Initiate Connection if UUID not updated

 - if UUIDs are not updated don't initiate profile connection
 - add new profiles to already existing list
 -  don't delete profiles from the existing list

CRs-Fixed: 717840

Change-Id: Id71a5aad59f4004c262f3ad17f34fa0574654170
Telephony(MSIM): Register for subInfo record intent

Register for ACTION_SUBINFO_RECORD_UPDATED intent,
this is to update the SIM details on UI when card
hot-swap removed.

Change-Id: I18d908c9845afb81478a81530407021c8e7f5fbe
CRs-Fixed: 742968
Add processor info in device info screen

Display the CPU processor info based on the "Hardware" line
of /proc/cpuinfo in the Device Info screen.

Change-Id: I77a8dfc6c35bf6395c0a1ac1426fb24884af554d
Merge "Telephony(MSIM): Register for subInfo record intent"
Merge "Settings: Fix no preferred APN"
Merge "Add processor info in device info screen"
Merge "Bluetooth: Don't Initiate Connection if UUID not updated"
Merge "Bluetooth: GAP: Handled scan mode during first time BT On"
Merge "packages: settings: CryptKeeper: Disable FDE if PFE activated"
Bluetooth: Enable Page and Inquiry Scan.

When Bluetooth Setting is in foreground enable both
Page Scan and Inquiry Scan.
Changes made to make device both in connectable and
discoverable if user is in Bluetooth setting menu.
CRs-Fixed: 753990

Change-Id: I2d72ce3192f6b7fa9eb6beb5a175a3e732dac5a8
Bluetooth: GAP: Reset Alias name during virtual unplug

As per this fix Alias name get resetted when hid virtual
unplug initiated from HID device.

Change-Id: Idb1cba447072fd70c21cfecef8776b2baaf730bc
CRs-Fixed: 754689
Settings: Fix no preferred APN

Add preferred APN if found no match.
CRs-Fixed: 748830

Change-Id: I768f63aa11db4a97e0ecbefbd1deb59ef277afc4
Merge "Bluetooth: Enable Page and Inquiry Scan."
Merge "Settings: Fix no preferred APN"
Merge "Bluetooth: GAP: Reset Alias name during virtual unplug"
Modify code to get data_state from phoneStateListener.

Modify code to get data state from phoneStateListener
instead of TelephonyManager.

Change-Id: I965acf29c24d724676beaacd318e3ccfc1542ed8
CRs-Fixed: 755443
Telephony(MSIM): Disable PIN1 option when SUB is not READY.

When Subscription in not in Ready state, it is not possible to
interact with uicc app for enabling/disabling the PIN1.

So disable the PIN1 options when sub is not in READY state

Change-Id: I0b17fce2d22f9d77618e5303a4b89e83d34cbb63
CRs-Fixed: 662114