Commit Graph

24470 Commits

Author SHA1 Message Date
TreeHugger Robot
a2ca4fa104 Merge "Add annotation for EuiccManager#updateSubscriptionNickname." 2019-03-15 23:23:25 +00:00
Jack Yu
e4edae3798 Merge "Moved transport to IntDef" 2019-03-15 21:16:42 +00:00
TreeHugger Robot
d84ddb0c4f Merge "Rename setPowerSaverMode to setPowerSaverModeEnabled" 2019-03-15 16:15:41 +00:00
Zak Cohen
bc996c3cd1 Merge "ContentSuggestionsManager - API updates." 2019-03-15 16:09:39 +00:00
TreeHugger Robot
72aa96ffb2 Merge "MediaDrm: @Deprecate SecurityLevel & HdcpLevel" 2019-03-15 15:58:03 +00:00
Ricky Wai
ea5c64806d Merge "Change get/setAppDetailsActivityEnabled to get/setSyntheticAppDetailsActivityEnabled" 2019-03-15 12:31:06 +00:00
Jack Yu
ef25faf013 Moved transport to IntDef
Moved out from the sub class per API review feedback.

Test: Build
Bug: 128607082
Change-Id: I1b513bcaaa0ebf47c14593d962579ed48a7c6db0
2019-03-14 19:24:49 -07:00
TreeHugger Robot
7475b9b7bf Merge "Change CodeType from enum to string (framework)" 2019-03-15 02:07:11 +00:00
TreeHugger Robot
92512d5f18 Merge "Adds nullability annotation and java docs to App Prediction APIs" 2019-03-15 01:49:11 +00:00
Paul Hu
c5cb20acfd Merge "Rename some failed causes" am: f6382802ef am: 4a862a637a
am: 8a8c74e131

Change-Id: Ibbedb611b805b9b2e39bf1dd2f3ea20940504f8e
2019-03-14 18:18:06 -07:00
Paul Hu
8a8c74e131 Merge "Rename some failed causes" am: f6382802ef
am: 4a862a637a

Change-Id: I0b9b904da6749028a6c8441550583a15a7acde4e
2019-03-14 18:06:24 -07:00
Paul Hu
4a862a637a Merge "Rename some failed causes"
am: f6382802ef

Change-Id: I01b6d267c4b2cbf23d6cdc2dea770f5da99fa155
2019-03-14 17:56:12 -07:00
Paul Hu
f6382802ef Merge "Rename some failed causes" 2019-03-15 00:43:42 +00:00
Zak Cohen
4834e9f02c ContentSuggestionsManager - API updates.
Adds isEnabled for the manager.
Manager also requires a user for construction, this is the user for
query for suggestions, not the calling user.

Bug: 125912329
Test: compile and CTS

Change-Id: I07145681fdf792965fee868b65f31d2978df7599
2019-03-14 14:44:56 -07:00
Pengquan Meng
4c2eee46e3 Merge "[API feedback] fixed API for NR" 2019-03-14 20:36:03 +00:00
Matt Pape
d3d144323b Merge "Remove interface for AttentionManagerService." 2019-03-14 20:08:38 +00:00
Matt Pape
64e8dd211a Merge "Remove interfaces for runtime and runtime_native namespaces." 2019-03-14 20:07:46 +00:00
Roshan Pius
d8658f3d14 Merge changes from topics "string_suggestion_notification", "disconnect_blacklist", "api_modify"
* changes:
  wifi: Fix runtest.sh
  strings.xml: Modify suggestion notification strings
  WifiConfiguration: Add a new temp blacklist reason for disconnect
  WifiManager: Fix javadocs
  WifiNetworkSpecifier/Suggestion: Address API council comments
2019-03-14 20:04:07 +00:00
Matvei Malkov
69a2bb62ee Merge "Revert deletion and deprecate few PopupWindow methods" 2019-03-14 19:23:26 +00:00
Matt Pape
e9b680a3ae Remove interfaces for runtime and runtime_native namespaces.
Per API council feedback, we are making changes to include only the
namespace in the system API defined in DeviceConfig.java. Strings which
define property names should be defined in code local to the feature
instead.

Bug: 126411407
Test: atest FrameworksCoreTests:DeviceConfigTest

Change-Id: I73157c127a246719afb37eca65cabf2e3d24b38a
2019-03-14 10:07:41 -07:00
TreeHugger Robot
9c5458edb7 Merge "Remove deprecated Settings APIs." 2019-03-14 17:06:04 +00:00
Matvei Malkov
7177265e9c Revert deletion and deprecate few PopupWindow methods
After method rename procedure b/126354063 we discovered that
androidx-platform-dev already depends on that methods added during fixit
week, so revert deletion of these methods and deprecate them.

Bug: b/126354063
Test: PopupWindowTests
Change-Id: I17b985542ffd661358059740bdf620e1bfb5b550
2019-03-14 16:16:38 +00:00
Matt Pape
1015f3f6b6 Merge "Add nullable and nonnullable annotations to DeviceConfig." 2019-03-14 15:23:25 +00:00
Roshan Pius
198fa8adbf WifiNetworkSpecifier/Suggestion: Address API council comments
Modified builder methods to:
a) Add boolean input for all boolean setters.
b) Add a public value for unassigned priority and added IntRange
annotation.

Bug: 128317241
Bug: 128317186
Test: Compiles
Test: ./frameworks/base/wifi/tests/runtest.sh
Change-Id: Iaf9d26ed857fe9337d3e4006c9c894efbcfa32dd
2019-03-14 07:51:25 -07:00
TreeHugger Robot
4719ffe555 Merge "DPM API review: Remove "ForUser" method" 2019-03-14 13:34:52 +00:00
Eran Messeri
48085ae1f9 Merge "API Review: Private DNS host can be null" 2019-03-14 12:29:09 +00:00
Eran Messeri
be84edb9ab API Review: Private DNS host can be null
Mark getGlobalPrivateDnsHost as @Nullable since it can return null
(in the case of a host not set).

Bug: 126699845
Test: That it builds
Change-Id: I4680a8fa59815f62a74c14c149124d4cda567cca
2019-03-14 10:05:37 +00:00
Eran Messeri
518a01a26a DPM API review: Remove "ForUser" method
Replace the setProfileOwnerCanAccessDeviceIdsForUser with
setProfileOwnerCanAccessDeviceIds that takes the DPM's user ID.

Per automated API review, new methods that target a specific user (by
taking in a UserHandle) are discouraged.

Instead, the caller should get the user-specific service from the user
context.

Bug: 126700461
Bug: 126699845
Test: Manually, flashed a device and set-up TestDPC on it straight to
work profile, then verified it can do Device ID attestation.
Test: atest FrameworksServicesTests:DevicePolicyManagerTest

Change-Id: I13f20f4a434394f266a3dc2373152cb1b9ea2d2b
2019-03-14 09:38:21 +00:00
Robert Shih
68c12432cb MediaDrm: @Deprecate SecurityLevel & HdcpLevel
Bug: 127625289
Test: compiles
Change-Id: Iaf18775d210ae280499a7ef059a46479b449fe5b
2019-03-14 00:30:42 -07:00
Soonil Nagarkar
d55e1b1788 Merge "Revert removal of GpsStatus APIs" 2019-03-14 04:23:13 +00:00
TreeHugger Robot
4de2432245 Merge "Changed ContentCapture session lifecycle so session is kept alive when service died." 2019-03-14 02:32:10 +00:00
TreeHugger Robot
2f734f66e5 Merge "Mark return value of onBind() as @Nullable" 2019-03-14 00:55:09 +00:00
Soonil Nagarkar
a491b7abb1 Revert removal of GpsStatus APIs
Bug: 126698813
Test: manual
Change-Id: I174d3f4cd21259e59381fc79990005c644380065
2019-03-13 17:36:44 -07:00
TreeHugger Robot
343b189ef0 Merge "Update ringer setting API visibility per council feeedback" 2019-03-13 23:56:58 +00:00
Felipe Leme
518fb624c0 Changed ContentCapture session lifecycle so session is kept alive when service died.
This is useful for long-lived activities (like a browser), so child session can still be reported
after the service is restarted after dying.

Test: manual verification (cannot be tested using CTS because it would kill the test process)
Test: atest FrameworksCoreTests:android.view.contentcapture.ContentCaptureEventTest
Test: m update-api

Bug: 128466656

Change-Id: I9310263e897e929189d323d31853592a374dc6e0
2019-03-13 16:10:05 -07:00
TreeHugger Robot
7c8b154141 Merge "Change Font.Builder#build return type from @Nullable to @NonNull" 2019-03-13 23:01:14 +00:00
TreeHugger Robot
7e8c759140 Merge "Change TabStop type from int to float" 2019-03-13 23:00:28 +00:00
Yu-Han Yang
fbcc5cf0b7 Change CodeType from enum to string (framework)
Bug: 127464982
Fixes: 127464982

Test: atest GnssMeasurmeentTest
Change-Id: I127b33207712ea25780deb8bbb7c1155582508b0
2019-03-13 15:45:33 -07:00
Mehdi Alizadeh
387c7cb14a Adds nullability annotation and java docs to App Prediction APIs
Also rethrows RemoteExceptions in AppPredictor class.

Test: Builds successfully
Bug: 126701214
Bug: 126699210
Bug: 126701563
Bug: 126180215
Bug: 126701789
Bug: 126701213
Bug: 126178969
Bug: 126179771
Bug: 126700116
Bug: 126180255

Change-Id: I3c76a71abbb8fdc9cadfaa4c6289ded4de379bd8
2019-03-13 14:28:29 -07:00
Fan Zhang
8359ede79b Update ringer setting API visibility per council feeedback
- Remove MANUAL_RINGER_TOGGLE_COUNT from SystemAPI
- Make VOLUME_HUSH_* SystemAPI to align with VOLUME_HUSH_GESTURE

Bug: 113323148
Test: make update-api
Change-Id: I19b9cbfb0489889b4747e1102566c3a8cb60817f
2019-03-13 13:47:21 -07:00
Michael Wachenschwanz
a232a7abe6 Merge "Change registerUsageSessionObserver to take Duration for timelimits" 2019-03-13 20:35:49 +00:00
Matt Pape
c4ed9b3223 Add nullable and nonnullable annotations to DeviceConfig.
Also test coverage for those methods.

Bug: 126360191
Bug: 126699440
Bug: 126702152
Bug: 126702160
Test: atest FrameworksCoreTests:DeviceConfigTest
Change-Id: I9ecb1be76c88d0e61b8f68375d6659249449c564
2019-03-13 13:30:52 -07:00
Matt Pape
aea28318e4 Remove interface for AttentionManagerService.
Per API council feedback, we are making changes to include only the
namespace in the system API defined in DeviceConfig.java. Strings which
define property names should be defined in code local to the feature
instead.

Bug: 126411407
Test: atest FrameworksCoreTests:DeviceConfigTest
Change-Id: Ic24db2f74d6b3b476265dd3e0719965d8c36156c
2019-03-13 13:20:46 -07:00
Matt Pape
5471638fb1 Merge "Remove interface for Intelligence_Attention." 2019-03-13 18:43:18 +00:00
Ricky Wai
a52e426200 Change get/setAppDetailsActivityEnabled to get/setSyntheticAppDetailsActivityEnabled
Bug: 127713970
Test: atest com.android.cts.devicepolicy.LimitAppIconHidingTest
Change-Id: I4e6fc84757731462b28119f3c38c87b0f2a57b4f
2019-03-13 17:41:56 +00:00
Soonil Nagarkar
6dac9d1bf5 Remove deprecated Settings APIs.
Bug: 128348646
Test: manual
Change-Id: I40dbfc78ee983ffacc56a68d2c5ba2aefb16357f
2019-03-13 10:13:31 -07:00
Benedict Wong
c328b263c8 Merge "Integrate testNetworkService and Manager with Connectivity stack" 2019-03-13 16:48:07 +00:00
Matt Pape
f82bb8b082 Remove interface for Intelligence_Attention.
Per API council feedback, we are making changes to include only the
namespace in the system API defined in DeviceConfig.java. Strings which
define property names should be defined in code local to the feature
instead.

Bug: 126411407
Test: atest FrameworksCoreTests:DeviceConfigTest

Change-Id: Ia51733a0fcb061e754ea16c8496100fad338b614
2019-03-13 09:12:43 -07:00
Andrey Kulikov
ea23c429a1 Merge "Introduce View.getAnimationMatrix()" 2019-03-13 14:30:26 +00:00
Abhijeet Kaur
ec0a01ec78 Merge "Clean up bugreport API." am: 2e44838064
am: 8deb2ecb31

Change-Id: I9054327b5f9b072986dd2d7ef5b38716138132c9
2019-03-13 07:30:03 -07:00