am 5ecd1fb9: (-s ours) am ac894841: am 3b1c6f2d: am 68958526: (-s ours) am 04cc08fc: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '5ecd1fb939643be14a18de4cbaabbb682c7d38cc':
am 32e29cf6: am ef52943d: am d140c753: Merge "Default ringtone cannot be previewed as alarm stream type."

* commit '32e29cf68ec0e088baeb8444b72d1cdc95cf6182':
  Default ringtone cannot be previewed as alarm stream type.
Import translations. DO NOT MERGE

Change-Id: I3790b03c5ef1718df0752843e135738b7f484fb3
Auto-generated-cl: translation import
"isMediaDatabaseName" API has to return true only if a parameter is database file path.

But it check only prefix with 'external-'.
Media provider uses Write Ahead Logging that makes wal and shm files.
In case of wal and shm files, the API can also return true.
So additionally, the API has to confirm that the file path has '.db' extension.

Signed-off-by : kwangjung kim <kwangjung.kim@lge.com>

Change-Id: Ibc394ab5dac169b126bce58d9416d2196b1afe61
Fix logic that delete "-wal" file.

"databaseList()" method, All files in database folder are returned.
Such as "-wal" file, "-shm" file and so on.

In case of media provider, it uses WAL mode.
If "-wal" file is deleted, side effects appear to SQLITE_IOERR_SHORT_READ and user data is deleted.
Therefore, When deleting a database file, ".db" extension should be checked.

Signed-off-by : kwangjung kim <kwangjung.kim@lge.com>

Change-Id: Ie833d3990f1988929665d4c1b2ea77ad92bd2ded
Import translations. DO NOT MERGE

Change-Id: I83b0d1e69bfb925b44fb9371b96b03848c7091a3
Auto-generated-cl: translation import
Change titile from Ringtone to Notification sound

- check the ringtone type
- according to sound type, select the title

Change-Id: I3c0962565aff41fa6add5c2ca55bbff42ddf326b
Import translations. DO NOT MERGE

Change-Id: I12e1796d0c4eabb7dc55d1d29d4f7545e5a34e67
Auto-generated-cl: translation import
Avoid leaking thumbnails PFDs.

Change-Id: I2059eff0a4e7d93a3d4e3a434242e69ce193be7e
Remove obsolete OMA-DRM support

Change-Id: Ief3d3b9037bb7751185f0b53dd67f182e8c62dc7
am f95e6b1a: Column in log table is not unique

* commit 'f95e6b1acab8beb27a719aa368ae8d2525853bef':
  Column in log table is not unique
Simplify DB query with "COLLATE nocase" instead of "LIKE" and "substr"

Nocase comparation with "LIKE" and "substr" DB query can be changed to
"COLLATE nocase" on SQLite.

Change-Id: I66e4e22758d1cf8fbb3e3e3eb3920576eb61d93d
Merge "Fix logic that delete "-wal" file."
Merge ""isMediaDatabaseName" API has to return true only if a parameter is database file path."
am 1d382199: Merge "Fix logic that delete "-wal" file."

* commit '1d382199339e07c05aa1b5679864f6543b4de5c0':
  Fix logic that delete "-wal" file.
am ac690856: Merge ""isMediaDatabaseName" API has to return true only if a parameter is database file path."

* commit 'ac69085601826db935d811c63862355346e04e08':
  "isMediaDatabaseName" API has to return true only if a parameter is database file path.
am dfcdce9e: am 1d382199: Merge "Fix logic that delete "-wal" file."

* commit 'dfcdce9e940c6bdd797a258b8d14f0f76fe89d39':
  Fix logic that delete "-wal" file.
am f2c2497c: am ac690856: Merge ""isMediaDatabaseName" API has to return true only if a parameter is database file path."

* commit 'f2c2497c17dc5b4e97cae8ab2bba3c302dddfb4b':
  "isMediaDatabaseName" API has to return true only if a parameter is database file path.
Don't stop playing ringtone if device is rotating.

Bug: 9114933
Change-Id: Iefe59302b90bbefca23c3e8530c49f00b7f9c3cb
Merge "Don't stop playing ringtone if device is rotating."