Revert "Revert "Block application install from unknown sources through adb""

This reverts commit 82b0dd815c827ff68f201d752cdd5c1d08fb39a6.

Change-Id: I4ba932d9e71157235721336040582f5280c0c131
Code fixes for MSIM Telephony

TODO: Fixes up msim statusbar layout

Revert "Use java.util.Objects instead on internal API"

This reverts commit 0886c6348bd95d87c5f2e62228d82f12232de848.

Change-Id: I6e9f351bf84cd569812a0d5014a3fab4c8444617

Keyguard

Change-Id: Ibc9cf20790b659c02a213611b3d1f6fcaa500dbc
underp PhoneStatusBar

Change-Id: I5ad292d5bddd1d5458ec5f8fba0ed96e0e6a3003
Tiny code fix

Change-Id: Ib0858b64aa4eecc3216e2eacab80ba5268c4d310
Fix tracking of broadcast reference count

Decrement the mBroadcastrefCount when an element is
deleted from mTriggeredUids list. And in failure case
reset mBroadcastRefCount to 0.

Change-Id: Id002bb7a8439ef93eabe031bf318bd424cefc88b
Bluetooth-OBEX: Reduce the MTU size if default OBEX MTU > 8k

Add a check for default OBEX MTU. If MTU is greater than 8k and
setMTU flag is true then reduce the MTU to 8k.

CRs-Fixed: 613931
Change-Id: I5785fd372241f682427ea3aca0b56ac747820d52
VideoView: Correct a type error in the previous patch

- Correct the type error, change "http://" to "https://"

Change-Id: Id914d669a5c9e1fc73f51f428abdc2249b2d52b9
Bluetooth: Fix for FileDescriptor leakage causing ANR

Fix to close the native fds gracefully. detachFD has been removed
in order to close the native fds

Change-Id: I6afca60bcf6adc82ad6a63d8706267d8ed3bd579
CRs-fixed: 623575
Bluetooth: Added new key to store last connected A2dp Sep type

Changes made to add new key and API to store, retrieve the last
connected A2dp Sep type using Content Resolver.

CRs-fixed: 599358
Change-Id: I2648603cc456921ec1896fb498b602416bd79e72
Use java.util.Objects instead on internal API

Not needed since java.util.Objects implements all the needed
functionality.

Change-Id: I996cce37c44fc7325a1824bb51ccf8bee17364b0
Untangle the statusbar for dual sim

This is just enough to get the statusbar to not forceclose.

TODO in future patch set:
  Implement signal text for dual sim.
  Implement hidden view for dual sim.

PS: update msim_layout with our own batteries

Change-Id: Ieeb95e3a0b1653b0e80527e1a388075654097b89
SystemUI: Only show H+ if config_hspa_data_distinguishable is set

Currently the UI is not consistent. If config_hspa_data_distinguishable
is not set you get 3G icon on HSPA and H+ icon on HSAPP.

Change-Id: I09db3a2902e30290206eafd1f64c940bab5b89e6
Forward port Status Bar interface (1/2)

Signal / Clock / Notification Count
Change-Id: Iecd4bb06b95b14888916331f5d36327f3206aeef

Port "Fix display of mobile status bar icon when using airplane mode"
Change-Id: Icb5b33008f97eaefd67bb4e5acd1e38bcf2dcb70

Forward port from cm-10.2, adjusted for 4.4

PS: udpate with msim stuff

Change-Id: Iecd4bb06b95b14888916331f5d36327f3206aeef
Signed-off-by: Arnav Gosain <nolinuxnoparty@gmail.com>
Merge "Untangle the statusbar for dual sim" into kk
Merge "SystemUI: Only show H+ if config_hspa_data_distinguishable is set" into kk
Merge "Forward port Status Bar interface (1/2)" into kk
Don't show notification count for a notification with just one item

For example, the Play Store sets the number attribute to 1 for a single
app update. No point in showing a counter for that.

Change-Id: I818622419f4f043fa8f04339ab24744aca7c1584
Merge remote-tracking branch 'upstream/kk' into kk