addr.msg_id is the foreign key of the pdu._id

I got a wrong cursor when select by MmsSms.CONTENT_FILTER_BYPHONE_URI，then I found
the source code use the addr._id as the foreign key of the pdu._id, so I fix it

Change-Id: Id6218854b4977ee7ce60c4b199b230679562e0f5
Signed-off-by: whliang <shanji2078@gmail.com>
am c72280d2: am 49e29575: am 21cf95e7: Don\'t allow clients to update or insert _data column data

* commit 'c72280d2f2d5c0cb91bb75fc8892fe9fc7bb88b5':
  Don't allow clients to update or insert _data column data
Import translations. DO NOT MERGE

Change-Id: I81c308fccdb3050cdf2e6c356f462250245aa29a
Auto-generated-cl: translation import
am 429cf07e: Allow MMS queries without permission.

* commit '429cf07ee6feb08a6217a95f8400e81fbbe2c5f7':
  Allow MMS queries without permission.
am cad5d8e3: am c72280d2: am 49e29575: am 21cf95e7: Don\'t allow clients to update or insert _data column data

* commit 'cad5d8e34b02e397eeb508cd4015c3b207fbb7c5':
am 04311337: am cad5d8e3: am c72280d2: am 49e29575: am 21cf95e7: Don\'t allow clients to update or insert _data column data

* commit '04311337ec83020caf58747d680eaccee3ab9b99':
am 828617b8: am 04311337: am cad5d8e3: am c72280d2: am 49e29575: am 21cf95e7: Don\'t allow clients to update or insert _data column data

* commit '828617b8277b346332dae15654ef6c28a9a2f422':
am 9d11adf3: am 828617b8: am 04311337: am cad5d8e3: am c72280d2: am 49e29575: am 21cf95e7: Don\'t allow clients to update or insert _data column data

* commit '9d11adf351f87ac10fe692b15cc566b31b0d059c':
Merge "addr.msg_id is the foreign key of the pdu._id"
am 027ef602: Merge "addr.msg_id is the foreign key of the pdu._id"

* commit '027ef60275c764a123af94ade00b675dfaf46809':
  addr.msg_id is the foreign key of the pdu._id
Import translations. DO NOT MERGE

Change-Id: Ic1f894665cb36309a87b9e362b1ce21fced80664
Auto-generated-cl: translation import
Fix permission check for reading SMS on UICC.

When accessing SMS stored on UICC via TelephonyProvider, we need to
use the com.android.phone UID for the call to IccSmsInterfaceManager
to avoid a UID mismatch failure in the app ops check. Add code to
SmsProvider to save and restore the original caller identity.
Also set android:multiprocess attribute to false in the manifest so
that the providers don't run inside the caller's process, which
also leads to a security exception.

Bug: 10131077
Change-Id: Ie6d3477b14973632f3706201de91353950359ee0
Remove APN-db flush if conf file changes

bug:10916762
Change-Id: I65c457da89dbdbde35971a00e7056409c4a57227
Fix AppOps exception for SMS quick reply feature.

Sending a quick SMS reply to an incoming phone call was failing
with a SecurityException due to new AppOps code. The root cause
was the insert() call in SmsProvider was calling back into itself
using the UID of the caller (com.android.mms) but the package name
for the callee (com.android.phone).

Wrapped the insert() method of SmsProvider with a helper function
to save the Binder identity and restore it on completion. This
allows the quick response to make its own provider queries using
its own UID as well as package name. Read/write security checks
will be performed by the content provider framework based on the
manifest file, before insert() is called.

Bug: 11006277
Change-Id: I4c0c8041a2505c5aad8db9b2dbab5402728f9221
Merge tag 'android-4.4_r1' into kitkat

Android 4.4 Release 1.0

NOTE : Check MSIM merge

Conflicts:
	src/com/android/providers/telephony/TelephonyProvider.java