Commit Graph

10733 Commits

Author SHA1 Message Date
Ian Pedowitz
3bd719b534 Merge "Revert "Revert "Remove deprecated System APIs added in Q.""" into qt-dev 2019-05-15 16:28:54 +00:00
Ian Pedowitz
d7219205a0 Merge "Revert "Revert "Finalizing Q resources""" into qt-dev 2019-05-15 16:28:54 +00:00
Suprabh Shukla
169bed7b7a Revert "Revert "Remove deprecated System APIs added in Q.""
This reverts commit 79a19effee.

Bug: 129975435
Change-Id: I113c87f8c0b7ab225e4b99ef2462ae12e199b816
2019-05-13 21:04:39 +00:00
Ian Pedowitz
11d40545d1 Revert "Revert "Finalizing Q resources""
This reverts commit bca7d2eaef.

Reason for revert: Rolling forward for Q-Finalization

Bug: 129975435
Change-Id: I8468cc92ffa77e58b32f82b7d8eb749da66cf281
2019-05-12 19:45:44 +00:00
Zak Cohen
5aa8b6df09 Remove temporary deprecated methods ContentSuggestionsService.
Bug: 127532182
Test: CTS test
Change-Id: Icc0bc012a5e1a2c85d108a7fa7df481e570cd43a
2019-05-03 20:48:08 +00:00
Ian Pedowitz
6a0faa6592 Merge "Revert "RESTRICT AUTOMERGE Finalizing Q resources"" into qt-dev 2019-05-02 00:59:09 +00:00
Ian Pedowitz
8b3b7771c1 Merge "Revert "RESTRICT AUTOMERGE Remove deprecated System APIs added in Q."" into qt-dev 2019-05-02 00:59:09 +00:00
Ian Pedowitz
bca7d2eaef Revert "RESTRICT AUTOMERGE Finalizing Q resources"
This reverts commit 98cf689552.

Reason for revert: QT SDK Finalization. Will be merged again on/after May 13th

Bug: 129975435
Change-Id: Iabc295f996fcd05f0bdfe3f736a22f48536a6e96
2019-05-02 00:54:54 +00:00
Ian Pedowitz
79a19effee Revert "RESTRICT AUTOMERGE Remove deprecated System APIs added in Q."
This reverts commit 02014297fd.

Reason for revert: QT SDK Finalization. Will be merged again on/after May 13th

Bug: 129975435
Change-Id: Ia054b193a982dee669630555974d2d7831fe2b50
2019-05-02 00:54:39 +00:00
Ian Pedowitz
8bbcd7e4ac Merge "RESTRICT AUTOMERGE Finalizing Q resources" into qt-dev 2019-05-02 00:53:29 +00:00
Ian Pedowitz
3f38719b74 Merge "RESTRICT AUTOMERGE Remove deprecated System APIs added in Q." into qt-dev 2019-05-02 00:53:29 +00:00
TreeHugger Robot
552edb80ad Merge "Un-deprecate PackageManager.replacePreferredActivity." into qt-dev 2019-05-01 16:57:06 +00:00
Sudheer Shanka
02014297fd RESTRICT AUTOMERGE Remove deprecated System APIs added in Q.
Test: Builds, boots
Bug: 129975435
Change-Id: I4bfd0bfbbc52b7822477ec0c70a08de6f85a3672
2019-04-30 10:49:28 -07:00
Sudheer Shanka
d4122490da Un-deprecate PackageManager.replacePreferredActivity.
PermissionController needs this.

Bug: 131634653
Test: builds
Change-Id: If1639d8a0abbc8b3840a5868be9aa94963280a9d
2019-04-30 00:48:09 -07:00
Suprabh Shukla
98cf689552 RESTRICT AUTOMERGE Finalizing Q resources
Test: Builds, boots

Bug: 129975435
Change-Id: Ic680132442244218cb25e472b1d19e71d79926fb
2019-04-29 22:47:18 -07:00
Soonil Nagarkar
c67cc12148 Correct visibility for LOCATION_MODE_ON
As per API feedback in b/126727563, move LOCATION_MODE_ON to SystemApi
instead of deprecated. This is safe as this constant is not used
anywhere yet.

Test: manual
Bug: 126727563
Change-Id: Iddbea546d1585cb8677c4adb97e465d5ac7a76a4
Merged-In: Iddbea546d1585cb8677c4adb97e465d5ac7a76a4
(cherry picked from commit 7449108978)
2019-04-30 01:06:46 +00:00
Hai Zhang
9ab1a0daf3 Merge "Add FLAG_PERMISSION_GRANTED_BY_ROLE." into qt-dev 2019-04-28 14:41:09 +00:00
Hai Zhang
e617076fb5 Add FLAG_PERMISSION_GRANTED_BY_ROLE.
We need a flag to track permissions granted by role, otherwise upon
revocation we might revoke permission that was already granted before
the role is granted.

Bug: 124452117
Bug: 130231314
Bug: 131252995
Test: presubmit
Change-Id: I0abd89756e8dc943c19d18315a8dcc6890f6fd2d
2019-04-26 23:56:58 +08:00
Philip P. Moltmann
b7b08d0fd1 Merge "Allow PermissionControllerService implementer control own threading" into qt-dev 2019-04-25 23:24:45 +00:00
Philip P. Moltmann
a7f181162e Allow PermissionControllerService implementer control own threading
Hence execute on binder-thread and send callback.

Fixes: 131314749
Test: atest --test-mapping packages/apps/PermissionController/src/com/android/packageinstaller/permission/service:presubmit
Change-Id: Ic5286a1b02532bcc0241877d970d0fc933b27f85
2019-04-25 14:00:28 -07:00
Zimuzo Ezeozue
0f6db7d1dd Merge "Change watchdog PackageInfo to PackageConfig" into qt-dev 2019-04-25 09:58:52 +00:00
Zimuzo
1a9aac7b33 Change watchdog PackageInfo to PackageConfig
Test: atest PackageWatchdogTest
Bug: 131165818
Change-Id: Ie3a385468a0de05bc55862e6f71513077d44bbc0
2019-04-24 20:44:52 +01:00
Philip P. Moltmann
4da5dc4df7 Merge "Call PermissionControllerService on workerthread" into qt-dev 2019-04-24 15:28:25 +00:00
TreeHugger Robot
c84e33b3f1 Merge "Remove Settings constants for NetworkStack" into qt-dev 2019-04-24 11:46:25 +00:00
Svet Ganov
2224cb827f Address API council feedback
Test: manual

bug:130643623

Change-Id: I489f32858abfa4fe8eeda96cbb103d75e2a87551
2019-04-24 02:14:48 +00:00
Anil Admal
d4203ddebf Merge "Add separate hasCapabilityName() methods in GnssCapabilities" into qt-dev 2019-04-23 15:32:05 +00:00
Anil Admal
69195f2b92 Merge "Change getGnssCapabilites() return type to @NonNull" into qt-dev 2019-04-23 15:31:48 +00:00
Chiachang Wang
4dd1b47b0b Remove Settings constants for NetworkStack
The definitions reference of these constants are moved from
Settings to DeviceConfig. These definitions are @hide and the
usage in the Settings are removed. Thus, remove the definitions
from API level.

Bug: 123167629
Test: make system-api-stubs-docs-update-current-api \
      test-api-stubs-docs-update-current-api
Test: atest NetworkStackTests
Change-Id: I28c4bf2c0b72e154cea91d11007a9497c7f21570
2019-04-23 09:32:14 +08:00
Anil Admal
3ba0fa9999 Add separate hasCapabilityName() methods in GnssCapabilities
Fixes: 130802613
Test: Verified on a Pixel device.
Change-Id: I00418f12004b28de666ec2a73203611f73af3e18
2019-04-19 18:26:46 -07:00
Anil Admal
ec6ec82ef5 Change getGnssCapabilites() return type to @NonNull
Fixes: 130802725
Test: Manual
Change-Id: I01c3f2aa593c3b5f08b57b77960afc21bb155da7
2019-04-19 15:24:16 -07:00
Sara Kato
0fdbae3c46 Add @Nullable annotation to getAccessibilityWindowId
Bug: 126701062
Test: None
Change-Id: I7d13d56f5ffb303431f7e82418134d6f17275ef5
2019-04-19 12:04:51 +00:00
TreeHugger Robot
1f4e4e433d Merge "Make LocaleList.isPseudoLocale a public API" into qt-dev 2019-04-19 03:11:31 +00:00
Philip P. Moltmann
188e47bbc5 Call PermissionControllerService on workerthread
As otherwise the mainthread is overwhelmed and blocking.

Test: atest CtsPermissionTestCases:android.permission.cts.PermissionControllerTest
Fixes: 130738002
Change-Id: I1d6cbc60411802cef1c8aedbb6e89430e65b2aa9
2019-04-18 11:05:35 -07:00
Mehdi Alizadeh
de005d26a6 Merge "Make deprecated AppTarget APIs visible" into qt-dev 2019-04-17 13:49:22 +00:00
Maurice Lam
52f378834d Make LocaleList.isPseudoLocale a public API
Test: CTS
Bug: 130636934
Change-Id: I6a9abd8a7de358cb077d9648c62fe9c0ec482720
2019-04-16 21:31:28 +00:00
Chalard Jean
e7ef0a61f2 Merge "Move TrafficStats tags for the network stack constants" into qt-dev 2019-04-16 20:30:07 +00:00
Mehdi Alizadeh
a9f0294b0e Make deprecated AppTarget APIs visible
Some deprecated APIs are still in use and need to stay visible. The SDK
in google3 is 2 weeks behind and will not receive the replacement APIs
until then.

Bug: 130610898
Test: atest AppPredictionServiceTest
Test: Verified that predictions are being loaded in AllApps
Change-Id: Ib6277f9fc46f1fe55a2cec4fc563ecdc964ce8a7
2019-04-16 13:20:23 -07:00
TreeHugger Robot
ef2e036f96 Merge "Fix VR-related system APIs" into qt-dev 2019-04-16 15:49:33 +00:00
TreeHugger Robot
575022f7d1 Merge "Remove the disableSelf() api" into qt-dev 2019-04-16 00:49:21 +00:00
Matt Pape
75d75ce38c Merge "Annotate single property listener from DeviceConfig as removed. Will remove entirely after all references (esp. Play Services) are cleaned up." into qt-dev 2019-04-16 00:34:31 +00:00
Mehdi Alizadeh
6164eb6a8d Merge "Add new constructors for mandatory fields in AppTarget.Builder" into qt-dev 2019-04-16 00:34:13 +00:00
TreeHugger Robot
11141109f4 Merge "DO NOT MERGE - Removed ContentCapture support from standard SDK toolkit." into qt-dev 2019-04-15 23:42:14 +00:00
Pat Plunkett
27ad774fd6 Fix VR-related system APIs
This adds necessary nullness conditions on method arguments, and makes
a Builder class final.

Bug: 126700268
Bug: 126701891
Bug: 126701662
Test: Compiles
Change-Id: I4e825057b413fe22d1c2ebd228a5b76641b04868
2019-04-15 23:13:42 +00:00
Alex Salo
2b7dbe85a2 Remove the disableSelf() api
No longer needed, the logic will be handled in AttentionDetector which
implements the feature. Settings app makes sure to grey out the setting
if does not have sufficient permissions.

Bug: 130350903, 130246574
Test: manually confirmed, atest AttentionDetectorTests, make RunSettingsRoboTests
Change-Id: I324223af01b5198e3af0b84d47120f307f3aa71a
2019-04-15 16:02:41 -07:00
Matt Pape
1220c347a2 Annotate single property listener from DeviceConfig as removed.
Will remove entirely after all references (esp. Play Services) are cleaned up.

Test: atest FrameworksCoreTests:DeviceConfigTest
Bug: 128902955
Change-Id: I1ab11fa2a2bbdb673841364c36b87a7356ba1e28
2019-04-15 21:52:26 +00:00
Mehdi Alizadeh
08c5083da3 Add new constructors for mandatory fields in AppTarget.Builder
Test: it builds
Test: atest AppPredictionServiceTest
Bug: 129901111
Change-Id: Ifacf5b86d5f436b02191af58541a403198840f18
2019-04-15 14:44:56 -07:00
Jiuyu Sun
b5b7312195 Merge "Address comments from API review." into qt-dev 2019-04-15 21:02:42 +00:00
Amy Zhang
64b51f91ff Merge "Resolve CEC related API requests from API Council" into qt-dev 2019-04-15 17:46:49 +00:00
Holly Jiuyu Sun
c67c86c7e3 Address comments from API review.
1) The newly added onDownloadSubscription should not be abstract.
2) The old onDownloadSubscription should not throw exception.

Bug: 124325362
Test: on phone
Change-Id: Ic905b5d317e10aefe5dca013948cd7d340149368
2019-04-15 10:18:24 -07:00
Jean-Michel Trivi
848eab444c Merge "AudioPolicy: fix test API for focus policy" into qt-dev 2019-04-15 16:38:09 +00:00