From ed5ff51b2ca7c051e2719dfc8a8a083e6208848e Mon Sep 17 00:00:00 2001 From: Bart Sears Date: Tue, 23 Jun 2015 06:16:25 +0000 Subject: Revert "Remove not needed contacts related perissions." Broke the build, reverting. This reverts commit a2991da0d671adf511ccb884cf25bf1241303f92. Change-Id: I2bdfa70fbd8a6c03e48426f85eeb63896762d5da --- docs/html/about/versions/android-4.0.3.jd | 14 +++++++------- docs/html/about/versions/android-4.0.jd | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'docs/html/about') diff --git a/docs/html/about/versions/android-4.0.3.jd b/docs/html/about/versions/android-4.0.3.jd index 4c2ccb96bfd3..5fa8547eed5b 100644 --- a/docs/html/about/versions/android-4.0.3.jd +++ b/docs/html/about/versions/android-4.0.3.jd @@ -78,19 +78,19 @@ can now sync that data with each of the user’s contacts, providing items in a stream along with photos for each.

The database table that contains an individual contact’s social stream is -defined by android.provider.ContactsContract.StreamItems, the Uri for +defined by {@link android.provider.ContactsContract.StreamItems}, the Uri for which is nested within the {@link android.provider.ContactsContract.RawContacts} directory to which the stream items belong. Each social stream table includes several columns for metadata about each stream item, such as an icon representing the source (an avatar), a label for the item, the primary text content, comments about the item (such as responses from other people), and more. Photos associated with a stream are stored in another table, defined by -android.provider.ContactsContract.StreamItemPhotos, which is available -as a sub-directory of the android.provider.ContactsContract.StreamItems +{@link android.provider.ContactsContract.StreamItemPhotos}, which is available +as a sub-directory of the {@link android.provider.ContactsContract.StreamItems} Uri.

-

See android.provider.ContactsContract.StreamItems and -android.provider.ContactsContract.StreamItemPhotos for more information.

+

See {@link android.provider.ContactsContract.StreamItems} and +{@link android.provider.ContactsContract.StreamItemPhotos} for more information.

To read or write social stream items for a contact, an application must request permission from the user by declaring <uses-permission @@ -272,8 +272,8 @@ let you check and manage video stabilization for a {@link android.hardware.Camer

The following are new permissions:

diff --git a/docs/html/about/versions/android-4.0.jd b/docs/html/about/versions/android-4.0.jd index cc1d1c70d9df..6c4ccb4c4958 100644 --- a/docs/html/about/versions/android-4.0.jd +++ b/docs/html/about/versions/android-4.0.jd @@ -108,9 +108,9 @@ android.provider.ContactsContract.RawContacts} Uri; instead, you must add a prof the table at {@link android.provider.ContactsContract.Profile#CONTENT_RAW_CONTACTS_URI}. Raw contacts in this table are then aggregated into the single user-visible profile labeled "Me".

-

Adding a new raw contact for the profile requires the -android.Manifest.permission#WRITE_PROFILE permission. Likewise, in order to read from the profile -table, you must request the android.Manifest.permission#READ_PROFILE permission. However, +

Adding a new raw contact for the profile requires the {@link +android.Manifest.permission#WRITE_PROFILE} permission. Likewise, in order to read from the profile +table, you must request the {@link android.Manifest.permission#READ_PROFILE} permission. However, most apps should not need to read the user profile, even when contributing data to the profile. Reading the user profile is a sensitive permission and you should expect users to be skeptical of apps that request it.

@@ -1638,9 +1638,9 @@ messages to the device. android.service.textservice.SpellCheckerService} must require this permission for itself.
  • {@link android.Manifest.permission#BIND_VPN_SERVICE}: A service that implements {@link android.net.VpnService} must require this permission for itself.
  • -
  • android.Manifest.permission#READ_PROFILE: Provides read access to the {@link +
  • {@link android.Manifest.permission#READ_PROFILE}: Provides read access to the {@link android.provider.ContactsContract.Profile} provider.
  • -
  • android.Manifest.permission#WRITE_PROFILE: Provides write access to the {@link +
  • {@link android.Manifest.permission#WRITE_PROFILE}: Provides write access to the {@link android.provider.ContactsContract.Profile} provider.
  • -- cgit v1.2.3-59-g8ed1b