server: Handle broadcast intent and receiver

Ensure the receivers of broadcast intent is not launched before boot
completion by adding an intent flag, since connectivity events can
happen before boot has completed.

Change-Id: Id6fc9e34c89d947d768def38e5c5bb0df54a3a7b
SettingsProvider: allow TETHER_DUN_REQUIRED to be overwritten

Allow overwriting of the default TETHER_DUN_REQUIRED value with
the build property 'ro.telephony.tetherdunrequired'

Recognized values are:
0 for not enforced
1 for enforced
2 for undefined (default; behaves as enforced)

Change-Id: I77c87230b54418ee5c385e5a7effd304a9743990
FLAG_PRIVILEGED disappears if privileged app is updated and rebooted

Since Kitkat, an app pre-loaded under /system/priv-app/ has
FLAG_PRIVILEGED. However, if the app updated and the device
rebooted, privileged flag is unset from pkgFlags. This patch
fix issue to assign privileged flag when scanning the updated
packages.

Bug: 12640283

Change-Id: Ic24b5882f65dabdfae9cc39da3d68661bed4fc31
SystemUI: Add RECORD_AUDIO permission

Change-Id: I5af3cbe31f182c8b5cf1633aaf8a16db2856a425