Remove old dhcp leases on boot to prevent 'Obtaining IP Address' loop

Change-Id: Ib602b363ce3a6f0c4181efae3751cf16dea3000c
Remove lockscreen.rot_override, it's a user-configurable option now

Change-Id: I9ccba420c8b1eb359394eef7dd644ddea4f4fc1a
Revert "Disable Wifi Direct for now"

This reverts commit fc05430157703e9d042fa8172aaa8ed16eb3aba4.
Reduce size of wpa_supplicant.conf

If the file is big, WifiHW don't generate the config files.

Change-Id: Ic820b24d3e74ae93b5056be12958e9c667a1122c
Remove invalid p2p configuration, on boot

With p2p enabled, problems can occur if there's a invalid configuration
pointing to same socket as normal wpa_supplicant(wlan0). This script removes
the invalid configuration to avoid problems after upgrade.

Change-Id: I1ef88b67a25de4beb22c4133620972fda29053ac
Move ril to modules directory

Change-Id: If83c20f8d2746f4ccaf4e008754b53bfa669a791
Move gps hal to modules directory

Change-Id: Ib2f2d345be90ad43a57634b21f44aad9f3092e50
Add permissions for theme manager and auditd AID

Change-Id: Id8272aa7ad068825c042d12223c4e5549f0fbe20
Initial SELinux policy

Change-Id: I4418005601c657c2c6b9dbd0736f4e817d23832d
More sepolicy updates

Still need to figure out what's up with /data/media as camera
doesn't have permission to save files

Change-Id: I48d2b4f8be913526f11aeccdef796b5caa346dd4
selinux: allow adb push files

Change-Id: I5c1f8f8dfe5b522b3544a13ec713571e80ca5dda
selinux: Give camera proper permissions

Change-Id: Ia65fadcafb5da572807877a34ea5eb2d0f4932bf
selinux: More tweaks

Change-Id: I43103acec0fb1146412c942b699670bddd12352f
gps: report session begin/end on gps start/stop

Since modem does not consistently send
SESSON_END/ENGINE_OFF event, always report
SESSION_END on stop gps and SESSION_BEGIN on
start gps so that the icon is turned on/off
correctly.

CRs-fixed: 401664
Change-Id: Ib3954529056a653d7057aedb489be1ccee9eaf1d
(cherry picked from commit dc7abf9a3d621b7a744e0eaeb6d9819ffff869a5)
DevicePerformanceSettingsHelper: remove killall command

Change-Id: I714559eed58e537b8e0dae91d14e1356e5e680a1
selinux: add read to dhcp policy

Change-Id: If7a281ccf70670d95017caaf59b9d88527e8c156
fstab: specify ro for persist

/persist is failing to mount without the option

Change-Id: I6fe9ee1ddd93b615208b86fc2f5c2ed9ca0149f5
fstab: mount /persist rw

...so it can be relabeled by selinux

Change-Id: I0d99978e9e269e13beb5cd0c67521b11f919b51d
end of updates from cm-10.1 & other devs

Change-Id: If133867830e8e7230ef768573a4ccaae621f916f