Fix: avoid FC for dirty flasher

due to a boolean/int change dirtyflashe will get massive
fc on settings. Rename used value to avoid this problem

cheers

Change-Id: I0cc6597387b2773957d3986e7f1524b6afb31439
Fix 'vibrate on call' option.

JIRA:CYAN-1325
Change-Id: Ia01945aa281a1ebef38c80c5896e5be79c290435
Some cleanup.

Change-Id: I47d867f3eaed55b53fdc26b463eef29994ecfd22
Mms: Delay unicode stripping from a message

Using an InputFilter for stripping has some unwanted
consequences. First of all it totally messes up dictionaries
for suggestions. Usually user taking advantage of unicode
stripping wants to text without non-GSM chars, but wants
to have full and correctly spelled suggestions in other apps
(e.g. email). The InputFilter approach results in having stripped
suggestions everywhere.

With this change the app strips unicode characters only for the
purpose of counting available characters counting and to convert
the text right before sending the message. This way the user
can compose messages (and have his drafts stored) with all
characters and can see his stripped messages in the conversation
history after (to be aware that it has been stripped
of unicode chars).

This makes the app behavior consistent with many popular apps
(e.g. GO SMS, Handcent) meeting users' expectations.

Patch set 2: fixed initialization order in QuickMessagePopup.java
Patch set 3: rename class: StripUnicode -> UnicodeFilter

Change-Id: I44ac859d286958d036ddd67a6820a4c09a393644
Mms: fix possible NPE

Change-Id: I604a0ed9acd55f4dad9b55a2a20805005b4d72e6
Merge "Mms: fix possible NPE" into jb4.2
Prevent FC in low memory conditions

Add missing null cursor checks

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I974eea82cac3dfe3a01e5d79c1721d3514f940f6
Mms: fix aapt warnings

Change-Id: Id22dc9b748cac7e7db406c94e863affff050445e
Don't recycle messages by default.

* Don't delete old messages by default.
* If any of the conversation threads have more messages than
  the storage limit settings, an activity is shown that will
  tell the user how to turn on the storage limits.
* This changes the behavior introduced in commit
  f766f33b774cfb6dd4100a6522ffa23c0a0dae35

Change-Id: I7e20ec73fbe42e19397cda2663de7434557f0e51
Nuke the 'vibrate during call' option.

It has never worked anyway, as NotificationManagerService prevented the
vibration on a lower level.

Change-Id: I5192d841796d3a2e1a447140eb26096b09aaec2d
Prompt users Mms can't receive msgs if storage is full

Telephony framework will report operators Sms Memory is full if
Device storage running out. Then operators won't send the target
any messages until storage is available next time.

Refer to
frameworks/opt/telephony/src/java/com/android/internal/telephony/SmsStorageMonitor.java

Change-Id: I7712355eac17c6adf3ab51ddb0907d52cb7759ee
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Templates: back button goes to preferences not conversation list

Change-Id: Ib12e521b5049b0139ad638edb3a1583c3410cac5
Make Mms more compatible with Themes

Change-Id: Ie7761ee683c91a2537febf0bc2d53be8b679247c
Credit: kroz (https://github.com/kroz)
Commit I7712355eac17c6adf3ab51ddb0907d52cb7759ee translated to Russian

Change-Id: I957f746f9070ae3efd70d958a3508a066d62317c
Merge "Make Mms more compatible with Themes" into jb4.2
Merge "Commit I7712355eac17c6adf3ab51ddb0907d52cb7759ee translated to Russian" into jb4.2
Mms: Fixing possible NPE on contact multiselect when restored from vCard

Change-Id: Ibcb736f072c8f604c5495225a3c9b8cd49b38200
Mms: switch inverted text color back

it is not consistent that the sender text is now
holo light blue dues that the entered text from
the user is white. Switch it back to old behaviour
so entered text color is the same like senders color
and received sms color back to holo light blue

Change-Id: I0c2bfa19a143d6275d8433437fe2cf80586ccaa9