summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorDave Santoro <dsantoro@google.com>2011-10-04 15:46:10 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-10-04 15:46:10 -0700
commit2aeecb7aa57242aae29dddff2b9ebd5d21aa3824 (patch)
tree74a255ee4071f39cc05de76d94d02868de7011c7 /core/res
parenta1aebdf787443413ba870fc9203639405a5ff7bf (diff)
parent0b61f59d77153e7d63a33fc5d47805feb99d918b (diff)
downloadframeworks_base-2aeecb7aa57242aae29dddff2b9ebd5d21aa3824.zip
frameworks_base-2aeecb7aa57242aae29dddff2b9ebd5d21aa3824.tar.gz
frameworks_base-2aeecb7aa57242aae29dddff2b9ebd5d21aa3824.tar.bz2
Merge "Add new permissions for read/write social stream."
Diffstat (limited to 'core/res')
-rw-r--r--core/res/AndroidManifest.xml17
-rwxr-xr-xcore/res/res/values/strings.xml14
2 files changed, 30 insertions, 1 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 9755f22..18194ee 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -263,6 +263,23 @@
android:label="@string/permlab_writeProfile"
android:description="@string/permdesc_writeProfile" />
+ <!-- Allows an application to read from the user's social stream.
+ @hide -->
+ <permission android:name="android.permission.READ_SOCIAL_STREAM"
+ android:permissionGroup="android.permission-group.PERSONAL_INFO"
+ android:protectionLevel="dangerous"
+ android:label="@string/permlab_readSocialStream"
+ android:description="@string/permdesc_readSocialStream" />
+
+ <!-- Allows an application to write (but not read) the user's
+ social stream data.
+ @hide -->
+ <permission android:name="android.permission.WRITE_SOCIAL_STREAM"
+ android:permissionGroup="android.permission-group.PERSONAL_INFO"
+ android:protectionLevel="dangerous"
+ android:label="@string/permlab_writeSocialStream"
+ android:description="@string/permdesc_writeSocialStream" />
+
<!-- Allows an application to read the user's calendar data. -->
<permission android:name="android.permission.READ_CALENDAR"
android:permissionGroup="android.permission-group.PERSONAL_INFO"
diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml
index 1e0151a..86ce5ef 100755
--- a/core/res/res/values/strings.xml
+++ b/core/res/res/values/strings.xml
@@ -941,6 +941,18 @@
information. This means other applications can identify you and send your profile
information to others.</string>
+ <!-- Title of the read social stream permission, listed so the user can decide whether to allow the application to read information from the user's social stream. [CHAR LIMIT=30] -->
+ <string name="permlab_readSocialStream" product="default">read your social stream</string>
+ <string name="permdesc_readSocialStream" product="default">Allows the application to access and
+ sync social updates from your friends. Malicious apps can use this to access private
+ communications between you and your friends on social networks.</string>
+
+ <!-- Title of the write social stream permission, listed so the user can decide whether to allow the application to write information to the user's social stream. [CHAR LIMIT=30] -->
+ <string name="permlab_writeSocialStream" product="default">write to your social stream</string>
+ <string name="permdesc_writeSocialStream" product="default">Allows the application to provide
+ social updates from your friends. Malicious apps can use this to fake updates from your
+ friends, for instance to phish confidential information from you.</string>
+
<!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
<string name="permlab_readCalendar">read calendar events plus confidential information</string>
<!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
@@ -3316,4 +3328,4 @@
<!-- Delimeter used between each item in a textual list; for example "Alpha, Beta". [CHAR LIMIT=3] -->
<string name="list_delimeter">", "</string>
-</resources> \ No newline at end of file
+</resources>