28 Commits

Author SHA1 Message Date
Chris.CC Lee
e9e2cbe383 wahoo: Update pregrant permissions for Restore APK
-. RECEIVE_SMS and READ_PHONE_NUMBERS permissions are no longer used.
-. Add the ACCESS_FINE_LOCATION permission for iOS WiFi D2D which was approved in b/188150877.

Bug: 188150877
Fix: 162937804
Test: Manual tested on Barbet.
Change-Id: I8a61258fb907bb7e1423a43536615951fb49cc5a
Merged-In: I8a61258fb907bb7e1423a43536615951fb49cc5a
2024-06-08 22:02:16 +08:00
Kurt Dresner
3a03b7b394 wahoo: Remove unneeded Top Gear permissions from Android Auto
Bug: 184195079
Change-Id: Id2b50bd8e67cc5f8ed05d87a3fbfa42dbf86b9ec
2024-06-08 22:02:16 +08:00
Kurt Dresner
74b27a4645 wahoo: Remove permissions that are now granted via role to Android Auto (Gearhead).
Bug: 134997071
Bug: 166143587
Test: Code builds
Change-Id: I223fd8690d8fb076bdf8d961a51ae090f131cfbd
2024-06-08 22:01:14 +08:00
Ruslan Tkhakokhov
c132c158bf wahoo: Swap Pixelmigrate for Restore APK in default-permissions
Bug: 186731327
Test: atest DefaultPermissionGrantPolicyTest
Change-Id: I743c11c62065d25aa3a9208b6ab42950e8f844f3
2024-06-08 22:01:14 +08:00
Edward Chen
7811bb0fe3 Revert "Add runtime permissions to wahoo for PixelMigrate."
This reverts commit 5343ca5c8d.

Reason for revert: PixelMigrate won't have ALT UI because it would run during SetupWizard, so no need to add it anymore.
Bug: 153708933
Bug: 155064929
Change-Id: Ib353e067edfa43b2d158b8c2939c39439d9cf050
2020-05-15 02:58:14 +00:00
chenedward
5343ca5c8d Add runtime permissions to wahoo for PixelMigrate.
The permission is used to get configured wifi list.

Test: manual (The permission is granted in runtime permission)
Bug: 153708933
Change-Id: I49d7c8014cd951eacad52876f86411d6e34186c2
2020-04-28 11:25:40 +08:00
Srinivas Visvanathan
20f3110ae8 Updating Android Auto pregrants for R
- Adding READ_CALENDAR.

Bug: 144437725
Test: Build/flashed device and confirmed pregrant
Change-Id: Ic993622324437a387e242ddf6f16a8d7c5c6e74b
2020-03-04 21:37:48 -08:00
Evan Tyra
9ffd3bd3bc Add CHS Permissions to Pixel 2
Activity Recognition is needed specifically for the Smart PNO Scanning
feature that is being ported to Pixel 2, Smart OOS Scanning is not being
ported so I removed it from the comment.

Bug: 143223240
Test: Local
Change-Id: Iedc9177ac49fb188183bca992e7d0a106df1cf57
2019-11-18 11:58:16 -05:00
TreeHugger Robot
2911bc982d Merge "Remove CAR_SPEED pre-grant for Gearhead on wahoo" into qt-dev 2019-06-07 17:24:49 +00:00
Nick Moukhine
b5cb56b8c1 Remove pre-granted audio permission from Now Playing on Pixel2
See bug for more details.  The apk already supports asking for this permission at runtime.  Upgrading to this android build does not revoke the permission out from under the app.

Bug: 130440726
Test: Manually tested by upgrading walleye to this build and seeing now playing continue to work.
Change-Id: I599586b93ad786762e151fb798d4e5011f2b0315
2019-06-07 12:05:47 +00:00
Srinivas Visvanathan
04ffd88058 Remove CAR_SPEED pre-grant for Gearhead on wahoo
- Pre-granting has caused issues in the past. See b/134583542.

Test: None
Bug: 134583542
Change-Id: I37d81c1f716533543919607e0e898dc78bb746d4
2019-06-05 10:59:17 -07:00
Srinivas Visvanathan
c2bed46517 Extra Wahoo runtime pregrants for Android Auto
- Including permissions for Top Gear effort.

Bug: 132998136
Bug: 132997487
Test: Built/flashed Wahoo
Change-Id: I91503b29c81c686596e3f0151548ea6b72a707eb
2019-05-31 06:36:29 -07:00
Srinivas Visvanathan
69fc3dc604 Granting Android Auto permissions on Pixel 2
- Pre-granting runtime permissions. The stub will be installed on Pixel
1's and this matches Pixel 4 setup.

Bug: 133353187
Test: Build/installed images on Pixels and confirm AA setup
Change-Id: I9e964a1ef40284c6777c733f0f7e771109c7c5a6
2019-05-23 09:46:40 -07:00
Michael Ashbridge
f24d2c6e7a Makes settings.intelligence permissions consistent
- Settings Intelligence needs the location and location permissions
  pregranted and fixed in order to function correctly. This change
  makes the calendar and location settings consistent acrosss the
  range of devices that support Q.

Bug: 130349398
Test: built & flashed to device, confirmed permission granted
Change-Id: Ibf1003e5ffbb5bcc51b57161b72cdd128557b04a
2019-04-18 16:50:27 +00:00
Artem Iglikov
11540c9dbe Add call logs and sms permissions for pixelmigrate
Bug: 79186791
Bug: 79240969
Bug: 79532995

Test: n/a
Change-Id: Iac6f75a3fbac15caafefc8fa70755316ed6e14b2
2018-05-18 10:29:38 +00:00
Daniel Nishi
9eefc3d002 Add default permission grant for Settings Intelligence.
As a result of adding an alternative permission UI flow into the
prebuilt upon interaction with the notification, we are allowed to be
pre-granted this permission.

Bug: 72946884
Test: App doesn't break/crash upon using permission.

Change-Id: I4a4ca1b78f059e67dff3b91368710e0b0f23ca02
(cherry picked from commit 09854c4f88)
2018-03-28 23:01:02 +00:00
Ye Wen
c1ba4bc4fa Remove runtime permission exception for AiAi.
Given default permission granting as TextClassifier service role, this
exception is not needed any more.

Test: Manually tested to confirm permissions were not granted by default
without TC service role.

Bug: 72222560

Change-Id: I99c8d929b247cda40f4418997be83830d512aea4
2018-03-20 08:57:28 -07:00
Artem Iglikov
30b7334dc6 Add external storage and contact permissions to google phones.
Bug: 72088198
Test: n/a
Change-Id: If6e3e443e681c293b63d7d3011884425099bed89
2018-02-14 12:25:05 +00:00
Ye Wen
7b9d2c2154 STOPSHIP: Temporary permission exceptions for AiAi
Temporarily granting runtime exceptions for AiAi apk:
android.permission.ACCESS_COARSE_LOCATION
android.permission.ACCESS_FINE_LOCATION
android.permission.READ_CALL_LOG
android.permission.CALL_PHONE
android.permission.READ_CONTACTS
android.permission.READ_CALENDAR
android.permission.READ_SMS

Test: Built walleye userdebug image and confirmed aiai apk has acquired
default permissions.

Bug: 68268471
Bug: 72222560
Change-Id: I3106055f14e846b0415f1c35656e8b6f97a5dc69
2018-01-22 07:34:50 -08:00
Meng Wang
7c16d44323 Grant PROCESS_OUTGOING_CALLS to MVS
Bug: 67862055
Test: manual
Change-Id: I1b4d58d2bd5154548cf800f4520ea64f96109bf9
2017-10-16 16:04:58 -07:00
Meng Wang
8f64bae7c0 Pregrant RECEIVE_SMS permission to Verizon MVS app
Bug: 67577970
Test: manual
Change-Id: I80671cb162487f8c5cf70982d5ea2793133f7e89
2017-10-09 22:45:52 +00:00
Ranjith Kagathi Ananda
30ce4d393b pre-grant permissions for Ornament app
Add Camera, Storage and other permissions for Ornament app.

BUG=62444679
Test: Settings app shows the pre-grant permissions enabled

Change-Id: Idd53b816e025d1f0f7d1f888ac0675203e611d18
2017-08-09 23:35:14 +00:00
Justin Klaassen
8e22bb4aaf Revert "Pre-grant READ_EXTERNAL_STORAGE for soundpicker"
This reverts commit 06e79629d6.

Bug: 63355851
Bug: 64112806
Test: DefaultPermissionGrantPolicyTest#testDefaultGrant
Change-Id: I4ae1bbacbc07be30324bdf7c03fa0e42b677be28
2017-08-07 16:39:20 -07:00
Annie Chin
06e79629d6 Pre-grant READ_EXTERNAL_STORAGE for soundpicker
Bug: 63355851
Test: N/A
Change-Id: I50b4a41186b5d9cc5e0509b0f968029233392514
2017-07-14 15:29:00 -07:00
Naveen Kalla
1227b8a3a2 pre-grant READ_PHONE_STATE permissions for embms middleware
Add READ_PHONE_STATE permissions to the embms middleware.
Embms middleware needs it to invoke telephony API such as
getDeviceId and getLine1Number

Bug: 38389469
Test: Load the build on the device and check the logs
      to make sure the READ_PHONE_STATE exceptions dont
      appear when we launch embms apps.

Change-Id: I3c70627910c8e8f65b1d8cc312f812aaf4ea41a1
(cherry picked from commit a039a2aeb8)
2017-06-09 05:07:27 +00:00
Gabe Taubman
8fb1488b76 [Default permission exception]
Google - Pixel Ambient Services (com.google.intelligence.sense)

Pre-grant record audio for the sense apk.

Bug: 38375510
Bug: 62096243
Test: Flashed to a device and confirmed the permissions was already
granted.
Change-Id: I8e7b78ad073cb473caa8e6a17daaf5d545e0832b
2017-06-01 16:14:54 -04:00
Meng Wang
ec8e3ef901 Pre-grant permissions to MVS app
This CL pre-grant premissions to Verizon MVS app

Bug: 36199965
Bug: 38416749
Test: manual - adb push ... && fastboot -w reboot. No more permission
      dialog when query sso token
Change-Id: I33130ba2022f16c83bbf5cf8f91cc2aa35000dc0
2017-05-22 17:34:30 +00:00
Stefanot
8db7a09938 Add external storage and contact permissions to 2017 google phones.
Test: manual
BUG:37635903
Change-Id: I6257943e380d6fa90ce042e143a065bb64d51a3c
2017-05-17 11:22:43 +01:00