Skip to content

Commit cc03a58

Browse files
authored
Add Activity recognition permission (#2645)
1 parent b1f0706 commit cc03a58

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

play-services-core/src/main/AndroidManifest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@
6161
android:label="@string/permission_service_writely_label"
6262
android:protectionLevel="dangerous" />
6363

64+
<permission
65+
android:name="com.google.android.gms.permission.ACTIVITY_RECOGNITION"
66+
android:label="@string/perm_activity_recognition_label"
67+
android:description="@string/perm_activity_recognition_description"
68+
android:protectionLevel="normal" />
69+
6470
<permission
6571
android:name="com.google.android.gms.permission.AD_ID"
6672
android:label="@string/perm_ad_id_label"

play-services-core/src/main/res/values/permissions.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@
9090
<string name="permission_service_YouTubeUser_label">YouTube usernames</string>
9191
<string name="permission_service_YouTubeUser_description">Allows app to access YouTube username(s) used with any associated Google account.</string>
9292

93+
<string name="perm_activity_recognition_label">Activity recognition</string>
94+
<string name="perm_activity_recognition_description">Allows an app to receive periodic updates of your activity level from Google, for example, if you are walking, driving, cycling, or stationary.</string>
95+
9396
<string name="permission_scope_www.googleapis.com_auth_activity">View the activity history of your Google Apps</string>
9497
<string name="permission_scope_www.googleapis.com_auth_adexchange.buyer">Manage your Ad Exchange buyer account configuration</string>
9598
<string name="permission_scope_www.googleapis.com_auth_adexchange.seller.readonly">View your Ad Exchange data</string>

0 commit comments

Comments
 (0)