diff options
author | Jake Hamby <jhamby@google.com> | 2012-04-17 18:26:46 -0700 |
---|---|---|
committer | Jake Hamby <jhamby@google.com> | 2012-04-26 19:16:25 -0700 |
commit | da5c415f6d0999131e93384b5fb90422ada8e4da (patch) | |
tree | 7d939a1fc4b0bd41c38f76ef449b5da12a1f6453 /res | |
parent | 0b92192b658da076c501a71803d172c5af4cf384 (diff) | |
download | android_packages_apps_CellBroadcastReceiver-da5c415f6d0999131e93384b5fb90422ada8e4da.tar.gz android_packages_apps_CellBroadcastReceiver-da5c415f6d0999131e93384b5fb90422ada8e4da.tar.bz2 android_packages_apps_CellBroadcastReceiver-da5c415f6d0999131e93384b5fb90422ada8e4da.zip |
Add ContentProvider for received cell broadcasts.
Enable apps with android.permission.READ_CELL_BROADCASTS to access the
database of received cell broadcasts via a ContentProvider at URI
"content://cellbroadcasts/". The ContentProvider is read-only, but
provides internal methods for the app to insert and delete broadcasts,
and to mark broadcasts as read. These methods are not exposed to other
applications.
Other changes:
* Added static log() methods for simpler debug logging.
* Moved CellBroadcastDatabase.DatabaseHelper to new top-level
CellBroadcastDatabaseHelper class after refactoring the original
CellBroadcastDatabase class out of existence.
* Removed the "Delete" dialog title per Android UI guidelines,
and changed from a custom view to a built-in dialog type.
Bug: 5752924
Change-Id: I1ad6a4d5248f851c53a638c2cb7e85a57ba6b811
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 420bf91c..9677fe66 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -42,8 +42,6 @@ <string name="menu_delete">Delete broadcast</string> <!-- Confirm Delete --> - <!-- Delete confirmation dialog title. [CHAR LIMIT=30] --> - <string name="confirm_dialog_title">Delete</string> <!-- Delete broadcast confirmation dialog message. [CHAR LIMIT=NONE] --> <string name="confirm_delete_broadcast">Delete this broadcast?</string> <!-- Delete all broadcasts confirmation dialog message. [CHAR LIMIT=NONE] --> |