Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Activity recognition permission #2645

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions play-services-core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@
android:label="@string/permission_service_writely_label"
android:protectionLevel="dangerous" />

<permission
android:name="com.google.android.gms.permission.ACTIVITY_RECOGNITION"
android:label="@string/perm_activity_recognition_label"
android:description="@string/perm_activity_recognition_description"
android:protectionLevel="normal" />

<permission
android:name="com.google.android.gms.permission.AD_ID"
android:label="@string/perm_ad_id_label"
Expand Down
3 changes: 3 additions & 0 deletions play-services-core/src/main/res/values/permissions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@
<string name="permission_service_YouTubeUser_label">YouTube usernames</string>
<string name="permission_service_YouTubeUser_description">Allows app to access YouTube username(s) used with any associated Google account.</string>

<string name="perm_activity_recognition_label">Activity recognition</string>
<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>

<string name="permission_scope_www.googleapis.com_auth_activity">View the activity history of your Google Apps</string>
<string name="permission_scope_www.googleapis.com_auth_adexchange.buyer">Manage your Ad Exchange buyer account configuration</string>
<string name="permission_scope_www.googleapis.com_auth_adexchange.seller.readonly">View your Ad Exchange data</string>
Expand Down