Fix Corupted AppOps File ( on source chages )

got it this time.

  Create tag file
  reboot
  delete appops file and tag file
  promt the user on boot to tell them what happened

ps2 - whitespace XD
ps3 - add popup
ps4 - added faulty commented out dialog code

Change-Id: I5fe3efb6a6faa89fef42c3c23d10594ee8664749
ringtones: Rename 'Bootes' ringtone

* The 'Title' tag of this ringtone contains an umlaut, not all character
  sets seem to treat this properly, resulting in a corrupt title in the
  ringtone picker.

Change-Id: Iabfebc6326e53982ea9bc7bdea855e9f1ed436d4
MiniThumbFile: Fix image/bitmap retrieval

Change I66005dd69b0a5c8f4353bd7a8225d163a654fd2d changed the insertion
and creation indexing mechanism, but the retrieval method was still
using the old sparse one. Fixit

Fixes android.provider.cts.MediaStore_Images_MediaTest#testInsertImageWithBitmap,
android.provider.cts.MediaStore_Images_MediaTest#testInsertImageWithImagePath,
android.provider.cts.MediaStore_Images_ThumbnailsTest#testQueryExternalMiniThumbnails,
and android.provider.cts.MediaStore_Video_ThumbnailsTest#testGetThumbnail

Change-Id: I41feea79fa304635f3908055fb95a8c85718a97f
Quiet Hours: allow disabling of system sounds (1 of 2)

* this include touch and lockscreen sounds

Change-Id: I4b16be00ae24dafd0039834bf63f6df3ef918619
QuietHours: clean up and consolidate code

Change-Id: Ib745ba91f800489518f1c7b5d2512ba946039696
Move android-4.3_r3.1 config options

Change-Id: I9c51a13236795c18903e001a4070b7e8959b7278
Status bar brightness control improvements

- Prevent brightness changes after notifications panel has been opened.
- Don't adjust brightness for swipes <45° from vertical.
- Stop using a VelocityTracker since we weren't actually giving it any
  events to track.

Change-Id: Ie28c5c186b692e3f308bba4a1ee02faeb0982ac1
Active Display: send unlock broadcast

This will unregister the receiver and fix the memory leak.

Change-Id: Ib99c27c6ad57eaf14d7e9f1adf2a651133ed2503
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
NetStats: Use holo_blue_light as color

Change-Id: I9e1b69f694a0d5ba6d90000cab6ada7e8ac63936
NetStats: Show "MB/s" instead of only "MB"

Change-Id: I23fa4560a7551495cc4ffa5610c806d4da48f73b
NetStats: Don't update stats when screen is off

Also moved registering of broadcast receiver and settings
observer to onAttachedToWindow() and unregistering to
onDetachedFromWindow() to avoid these being leaked.

Change-Id: Ia131a0db65c4c762b7f28493e812f9fb21358a27
Active Display: Catch possible NPE during handleDismissNotification()

[log]

* AD doesn't register if notification has been cleared on different device
  (computer) so catch the NPE that would ensue

Change-Id: Ibdb7f526d2c709ebf7a888de717247b7a6114e3e
Add checkbox in recents settings to make app shortcuts in recents optional

Since some time there is a shortcut bar in recents for some selected apps.
I don't need it and it clutters the interface. Maybe somebody else likes
the shortcuts so I thought I'd just make it optional.
This is the UI part. Other part is in packages/apps/Settings with
Change-Id: I0f365616e048292e43552bcf84bf24798d6432b9
This patch needs the before mentioned patch.
I didn't find out how to make the patches depend on each other.
IPV6 tethering: Check info for null before removeUpstreamV6Interface

When tethering on dual stack networks such as verizon wireless and
sending or recieving MMS you get an null pointer exception and hard
reboot.

It starts to go wrong here:
10-14 19:11:51.375: E/Mms/smil(28035): Failed to parse SMIL document.
10-14 19:11:51.375: E/Mms/smil(28035): org.xml.sax.SAXParseException:
expected start tag notEND_DOCUMENT null@1:1 in java.io.InputStreamReader
@4192ada0

And then:
10-14 19:11:55.559: E/AndroidRuntime(23125): java.lang.NullPointerException
10-14 19:11:55.559: E/AndroidRuntime(23125):    at com.android.server.
connectivity.Tethering$TetherMasterSM$TetherModeAliveState.processMessage
(Tethering.java:1573)

Which is line 1573 of:

https://github.com/CyanogenMod/android_frameworks_base/blob/cm-10.2/services/java/com/android/server/connectivity/Tethering.java#L1573

CMD_UPSTREAM_CHANGED's message.obj can be null (line 776).

Change-Id: I13d531d398f2e33a828c6e81f25f4b2a27518d34
Trying out dark green for circle battery

Change-Id: Ia24788bfcdf7c2526b5984d561b868447256d443
Camera button support: useful features & bugfixes (1/2)

Patchset 2: fixed duplicates

Patchset 3: fixed build errors / more dupes...

Change-Id: I233fd8fbae9076284bae8a5dcce809619faa5eb3
FIXED THE BUILD....

Next time please check for duplicate strings! Thank you!

Change-Id: I0ed5d1c6d460261f1d523c87d7e3a24fbdea4054
Signed-off-by: Lokesh Chamane <lokesh.c703@gmail.com>
Remove duplicates again..

Change-Id: Ib2e67cedd41fea706f55aa6b43a4a6733afac762
Signed-off-by: Lokesh Chamane <lokesh.c703@gmail.com>
p2p: Flush the p2p scan result on group remove event

Flush out p2p scan results on receiving group removal event.
p2p scan window will be updated on next p2p scan.

Change-Id: I3bcfed355574478bda2cac688b7df956c2701683
CRs-Fixed: 504022
Wifi: wifi not connecting, once the APN gets disabled state

APNs are disabled on select network and they are enabled on
receiving connected event.
But forgetting an APN before the connected event is received,
will result all the remaining APN to be in disabled state and
they never connect.
So, Enabling all the disabled APN on forget network will help
to connect automatically to a saved APN.

Change-Id: I6ac5e9856d6ec0b72c089b159206abd2de98e6a3
CRs-fixed: 496165