Commit Graph

110022 Commits

Author SHA1 Message Date
Fabian Kozynski
e6590f618d Fix name of TemperatureControlTemplate
Test: no test
Change-Id: I1b3b0c1c60a82e06ce71cbb87371deb32611e707
2020-01-02 17:02:00 -05:00
TreeHugger Robot
1fd8c7cc61 Merge "Resolver/Chooser - Window inset fixes" 2020-01-02 18:32:47 +00:00
Nikita Dubrovsky
8de5385616 Merge "Fix typo in javadoc in AutofillValue" 2020-01-02 18:30:26 +00:00
Curtis Belmonte
3833bdcb0a Merge "Reformat biometric auth constants to 4 hex digits" 2020-01-02 18:10:53 +00:00
Chavi Weingarten
856ce4a17d Merge "Remove layer from window handle since it's no longer used" 2020-01-02 17:18:00 +00:00
Matt Pietal
9236adcf17 Resolver/Chooser - Window inset fixes
Resolver supports numerous layouts, with optional ViewGroups. Need to
make sure the window inset is applied to the correct view. If there is
a List present, add a footer so that the list scrolls underneath the
navbar.

Test: atest ResolverActivityTest, ChooserActivityTest
Bug: 142726977
Change-Id: I34cb037046892ac96c16d705f1d8d833040a3e2c
2020-01-02 11:36:42 -05:00
TreeHugger Robot
87a7b2f694 Merge "Control Service - Fix typo" 2020-01-02 16:25:43 +00:00
Fabian Kozynski
49fe4569a8 Merge "Merge ControlState into Control" 2020-01-02 15:19:13 +00:00
Jonathan Scott
5ebb1c5fba Merge "Add manifest attribute to signal the intent of an app to operate cross-profile." 2020-01-02 14:24:27 +00:00
Jonathan Scott
ec60b2604b Add manifest attribute to signal the intent of an app to operate
cross-profile.

Test: Manual
Fixes: 146128107
Change-Id: I576113d05f594b79656c0ed1ebf6c4fe770bcd1e
2020-01-02 14:11:09 +00:00
Matt Pietal
8231929e10 Control Service - Fix typo
The message id had a typo, causing crashes when taking an action.

Test: manual
Change-Id: Ie46fefb12518c4631e7db321042d64a2d9bbf895
2020-01-02 08:42:37 -05:00
Rob Carr
4e535b4c41 Merge "Rename WindowlessViewRoot to SurfaceControlViewHost and rework API" 2020-01-02 05:18:58 +00:00
Rob Carr
9bc62f7678 Merge "Port SurfaceView deferTransaction usage to BLAST" 2020-01-02 03:14:49 +00:00
TreeHugger Robot
723628b5df Merge "Replace com.android.internal.util.Preconditions.checkNotNull with java.util.Objects.requireNonNull" 2020-01-01 13:11:39 +00:00
Daulet Zhanguzin
fcc8d868be Replace com.android.internal.util.Preconditions.checkNotNull with
java.util.Objects.requireNonNull

Bug: 126528330

Test: Treehugger
Change-Id: I2afb61144af7bdd058df1311062ed8f4859ad861
2019-12-31 14:21:51 +00:00
Daulet Zhanguzin
8a313e75e5 Merge "Replace com.android.internal.util.Preconditions.checkNotNull with java.util.Objects.requireNonNull" 2019-12-31 14:10:42 +00:00
Daulet Zhanguzin
f783a5e059 Replace com.android.internal.util.Preconditions.checkNotNull with
java.util.Objects.requireNonNull

Bug: 126528330

Test: Treehugger
Change-Id: Ie079008722ed1d3423eef5d5391b273754b4ad10
2019-12-31 14:07:40 +00:00
TreeHugger Robot
c3a20c3b2c Merge "Make the short term brightness model configurable." 2019-12-31 13:06:29 +00:00
TreeHugger Robot
ffac02d98f Merge "Make getCameraIdListNoLazy handle no service case" 2019-12-31 11:16:42 +00:00
TreeHugger Robot
f122481e9c Merge "Replace com.android.internal.util.Preconditions.checkNotNull with java.util.Objects.requireNonNull" 2019-12-31 08:52:12 +00:00
Automerger Merge Worker
2cd16a209a Merge "Make StringNetworkSpecifier @SystemApi" am: fbceb58514 am: a4fbf15adf am: a7d60e5103
Change-Id: Ia7e749b8953ce16a770dfe2a32e8407c6b22eecd
2019-12-31 08:43:29 +00:00
Automerger Merge Worker
a7d60e5103 Merge "Make StringNetworkSpecifier @SystemApi" am: fbceb58514 am: a4fbf15adf
Change-Id: I6b78f5cdbabcacbdb02ff82945c645efd6c74943
2019-12-31 08:29:05 +00:00
Aaron Huang
a4fbf15adf Merge "Make StringNetworkSpecifier @SystemApi"
am: fbceb58514

Change-Id: I3beee20d0e56223381b2e507752c71d2590b0264
2019-12-31 00:16:58 -08:00
Aaron Huang
fbceb58514 Merge "Make StringNetworkSpecifier @SystemApi" 2019-12-31 08:11:48 +00:00
Robert Carr
85bb940f72 Port SurfaceView deferTransaction usage to BLAST
When the SurfaceView is invalidated (e.g. geometry has changed) we ask
the ViewRootImpl to render the next buffer in to a BLAST transaction which
the SurfaceView will also use from it's RT callbacks in place of deferTransactionUntil

Test: Flip USE_BLAST_BUFFERQUEUE flag. Run SurfaceViewSyncTests.
Bug: 146598493
Change-Id: I43d301f25101afae32ad1c43a3a3210c5aeadd0f
2019-12-30 21:34:06 -08:00
Robert Carr
59b1888bb9 Rename WindowlessViewRoot to SurfaceControlViewHost and rework API
Should be a little more clear. The internal IWindowSession implementation
keeps the WindowlessWindowManager name, but the API section definitely
needs a more usable name. Instead of passing in a root Surface we want it
to be owned by the SurfaceControlViewHost itself. This way we can ensure
we only return a SurfacePackage. In follow up CLs we will add an
accessibility ID to the SurfacePackage so we can ensure the Control
is passed around with the accessibility ID.

Test: Builds
Bug: 134365580
Change-Id: I30520e8b169d3744a66ccedf61cc4515cfef4dee
2019-12-30 20:59:39 -08:00
Nikita Dubrovsky
85a8d446c8 Fix typo in javadoc in AutofillValue
Test: presubmits
Change-Id: I8c7d3c9cca57a8e272b63f72fea68978a5073cac
2019-12-30 15:38:46 -08:00
chaviw
7a67d07d90 Remove layer from window handle since it's no longer used
Fixes: 146671630
Test: go/wm-smoke
Change-Id: Ieae773147b1eb7d43fc2688d8570f98075dda8ea
2019-12-30 14:07:20 -08:00
Tej Singh
b8f296da22 Unit tests for PullAtomMetadata
Bug: 146385269
Test: bit FrameworksCoreTests:android.app.PullAtomMetadata
Change-Id: I4c78d2744348dbab6ee792caa0a7a8bbd3c17f28
2019-12-30 13:04:46 -08:00
Fabian Kozynski
ee57f49c7d Merge ControlState into Control
All the information that was sent with a ControlState is now sent with a
new updated Control object. That way, overriding Type and changes to
name can be done inside subscribe.

Modified ControlsProviderService to encapsulate the callback service and
provide public methods to send information to SystemUI. In particular,
onLoad verifies that all Control passed do not have status information
and erases that information if it has any.

Add token for reusing the same Callback binder.

Test: build
Change-Id: I6ce5e9ad53899ea588b23e0f067b5d1f86a0bb18
2019-12-30 13:24:28 -05:00
Daulet Zhanguzin
a2044e1bc8 Replace com.android.internal.util.Preconditions.checkNotNull with
java.util.Objects.requireNonNull

Bug: 126528330

Test: Treehugger
Change-Id: Iaa2abbefc532965e257a68502ec60aadbe465ed2
2019-12-30 16:34:59 +00:00
Kenny Guy
b29fdf1d71 Make the short term brightness model configurable.
Bug: 146141793
Test: atest BrightnessConfigurationTest
Test: atest AutomaticBrightnessControllerTest
Test: manual - use reflection to configure the new parameters from turbo app and check dumpsys

Change-Id: I78af8009f15400f2f91e55363066d97f008a7922
2019-12-30 16:19:59 +00:00
Daulet Zhanguzin
ce45b72770 Replace com.android.internal.util.Preconditions.checkNotNull with
java.util.Objects.requireNonNull

Bug: 126528330

Test: Treehugger
Change-Id: I1634f81bd92d9a93ac8c8f39c218e8002cbaf497
2019-12-30 16:09:29 +00:00
Robin Lee
9fa43dad06 Make getCameraIdListNoLazy handle no service case
If we have sCameraServiceDisabled, we know for sure that calling
addListener on the mCameraService is going to fail with NPE, so the best
option is to just return an empty list.

Fix: 146994502
Test: atest android.camera.cts.HeifWriterTest
Change-Id: Ie3a1457fbace0879a5d66600acd83541a9d78182
2019-12-30 13:05:46 +01:00
Ryan Lin
a70ad07ce5 Merge "Added key Magnification Mode" 2019-12-30 04:28:26 +00:00
Feng Cao
ffdfb5857c Merge "Extend augmented autofill service APIs to support inline suggestion." 2019-12-27 22:27:09 +00:00
Feng Cao
8669c6697e Merge "Make InputMethodService to never reuse the inline suggestion response callback." 2019-12-27 22:27:04 +00:00
Feng Cao
9ad619b2cb Extend augmented autofill service APIs to support inline suggestion.
Test: manual
Bug: 146453195

Change-Id: Ia094c93741187f55183d5e2213ff5eef076efc9d
2019-12-27 11:53:12 -08:00
Feng Cao
ec3f84a899 Make InputMethodService to never reuse the inline suggestion response callback.
Test: manual
Bug: 146903532

Change-Id: I7bc007fb3009897cba57e63edbc67cef541f0e05
2019-12-27 11:04:02 -08:00
Chavi Weingarten
9ec9264138 Merge "Removed regionId from updateTapExcludeRegion request." 2019-12-27 16:24:50 +00:00
Fabian Kozynski
052fe8b866 Merge "Changes to API adding new templates and actions" 2019-12-27 15:04:12 +00:00
Fabian Kozynski
2d212127fb Changes to API adding new templates and actions
This change adds new templates and actions, as well as DeviceTypes.
Also refactor the parcelling and unparcelling to support composite templates.

Javadoc to come on a later CL.

Test: atest

Change-Id: Ib240ef9930d37d464ea3a31a5cc245e02908eb05
2019-12-27 10:03:09 -05:00
Wale Ogunwale
4e15b28e8d Merge "Introduce WINDOWING_MODE_MULTI_WINDOW" 2019-12-27 13:58:09 +00:00
Automerger Merge Worker
e10e90482a Merge "Expose NetworkCapabilities methods to system/public APIs" am: 30b2ac7158 am: 435b410600 am: 6c14dd9c44
Change-Id: I6515df858f4ebc94d234f905a659db45188d72c6
2019-12-27 08:54:24 +00:00
Automerger Merge Worker
6c14dd9c44 Merge "Expose NetworkCapabilities methods to system/public APIs" am: 30b2ac7158 am: 435b410600
Change-Id: Id97144cf1421f5256748a196df37f58ffd006859
2019-12-27 08:45:44 +00:00
Aaron Huang
435b410600 Merge "Expose NetworkCapabilities methods to system/public APIs"
am: 30b2ac7158

Change-Id: Icb3d0559475a14130dea64a5ca49a6259d5a2eb9
2019-12-27 00:38:46 -08:00
Aaron Huang
30b2ac7158 Merge "Expose NetworkCapabilities methods to system/public APIs" 2019-12-27 08:32:50 +00:00
Aaron Huang
e6b62391da Expose NetworkCapabilities methods to system/public APIs
Add methods to system/public APIs for mainline support.

Bug: 139268426
Bug: 135998869
Bug: 138306002
Test: atest FrameworksNetTests
      atest NetworkStackTests
      ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
      atest FrameworksTelephonyTests
      atest android.net.cts
      atest android.net.wifi.cts
      atest android.telephony.cts

Change-Id: I6ec333309172edaf5aa976f83cfbe63512043594
2019-12-27 08:31:06 +00:00
ryanlwlin
7048af6864 Added key Magnification Mode
To support window magnification, we use this key to store magnification
mode.

Bug: 145780606
Test: SettingsBackupTest
Change-Id: Id2e4104b1f9bbf994b83b73a165d87e4fd161413
2019-12-27 14:09:01 +08:00
TreeHugger Robot
a9ae085264 Merge "Decoupling InsetsAnimationControlImpl and the client" 2019-12-27 05:38:51 +00:00