Commit Graph

30117 Commits

Author SHA1 Message Date
TreeHugger Robot
ddcf560b4e Merge "Remove "@Deprecated" from supplyPinReportResult + supplyPukReportResult" into rvc-dev 2020-03-28 00:03:49 +00:00
Chalard Jean
996492f866 Merge changes from topics "api-fix-networkagent", "networkprovider_api", "satisfiedby" into rvc-dev
* changes:
  Rename satisfiedBy into canBeSatisfiedBy
  Address further API council comments.
  Update the NetworkProvider API for council comments
2020-03-27 22:50:42 +00:00
Daniel Bright
ef5836157f Remove "@Deprecated" from supplyPinReportResult + supplyPukReportResult
Fully rolled back comments and signature to original state before change

Test: bootup phone
Bug: 147854704
Change-Id: I5fcd71e1569e6b0e16cff5392239b89259ee1790
2020-03-27 15:01:16 -07:00
Nicholas Ambur
95ee3d7ad5 Merge "remove SoundTrigger public member variables" into rvc-dev 2020-03-27 20:54:22 +00:00
TreeHugger Robot
0bf55d7d28 Merge "Revert "Add actor attr and QueriesOverlayable styleable"" into rvc-dev 2020-03-27 19:43:18 +00:00
Galia Peycheva
66b1dfe6aa Merge "Change TYPE_DREAM logic to use ACTIVITY_TYPE_DREAM" into rvc-dev 2020-03-27 18:34:49 +00:00
Mihir Patel
6f33b10ab5 Moving the NO_SESSION_ID constant from ContentCaptureSession to ContentCaptureManager
Bug: 150599209
Test: manual
Change-Id: I3e7b67cf92ddb6405829ec3c6ed2c491b4e77cab
2020-03-27 15:50:43 +00:00
Jean-Michel Trivi
5897ede327 Merge "Address Audio Java API feedback" into rvc-dev 2020-03-27 14:58:53 +00:00
Chalard Jean
2da4f9f9ae Rename satisfiedBy into canBeSatisfiedBy
Test: FrameworksNetTests NetworkStackTests
Bug: 152238712
Change-Id: I076876a6662bde143ef7d315ce3767acafff93c1
2020-03-27 23:46:30 +09:00
Michael Wright
f51b6aa53a Merge "Make vibrator effect queries an @IntDef." into rvc-dev 2020-03-27 13:29:18 +00:00
Santiago Seifert
6cf6809826 Merge "Add special value for unknown current parser name" into rvc-dev 2020-03-27 12:41:37 +00:00
Michael Wright
6d2c6f0255 Merge "Address API Council feedback." into rvc-dev 2020-03-27 12:22:39 +00:00
Galia Peycheva
70b55719db Change TYPE_DREAM logic to use ACTIVITY_TYPE_DREAM
Bug: 151750434

Test: m && flash && check that dream starts normally

Merged-In: Ic4561cd0594d7a3465454221db256499dd06c145
Change-Id: I58a8795f2801b598be5c958b1a854e8f84f31940
2020-03-27 11:26:44 +00:00
Chalard Jean
b0e1e7ec3e Address further API council comments.
Test: FrameworksNetTests NetworkStackTests
Bug: 152238712
Change-Id: I8a785ae0e74e659c317deaaa28c203356c7766ed
2020-03-27 17:57:24 +09:00
Chalard Jean
14caf974db Update the NetworkProvider API for council comments
Bug: 152238712
Test: FrameworksNetTests NetworkStackTests
Change-Id: I6b086572cfc72a0727f4510351cff0e74cbc4302
2020-03-27 17:53:05 +09:00
Chalard Jean
33accffcef Merge changes from topic "networkagent_api" into rvc-dev
* changes:
  Update NetworkAgentConfig API for council comments
  Update the NetworkAgent API for council comments
2020-03-27 06:20:37 +00:00
Kenny Root
f377275542 Merge "Resume-on-Reboot: change SystemApi calls slightly" into rvc-dev 2020-03-27 05:14:10 +00:00
Winson Chiu
a4d2d0008a Revert "Add actor attr and QueriesOverlayable styleable"
This reverts commit 65c308fcb2.

Bug: 152203820

Reason for revert: Not worth merging for R. Can decide how to expose for S.

Change-Id: I1f4ccb393c341a84ed0564c5107eb72f0ea406ea
2020-03-26 21:05:42 -07:00
TreeHugger Robot
eac49dc833 Merge "Re-introduce dummy autoRevok manifest attr as padding" into rvc-dev 2020-03-27 02:00:25 +00:00
Andrii Kulian
363edf449a Merge "Report bounds instead of size in WindowMetrics" into rvc-dev 2020-03-27 01:08:37 +00:00
Sarah Chin
5b2f94a0aa Merge "Update Bands API" into rvc-dev 2020-03-27 00:33:05 +00:00
Andy Hung
120c1c4db7 Address Audio Java API feedback
Test: atest AudioTrackTest#testCodecFormatChangedListener
Test: atest AudioTrackTest#testTunerConfiguration
Test: atest AudioMetadataTest
Test: atest EnumDevicesTest
Bug: 152348569
Change-Id: I1c702781f6d3189b98c6b91a14f084333ce16848
2020-03-26 17:11:47 -07:00
Ricardo Correa
cc25d392fe Merge "Revert "Include an AppOp to allow dialer role app to record and play audio into calls"" into rvc-dev 2020-03-26 22:23:54 +00:00
Eugene Susla
c5a50213f1 Re-introduce dummy autoRevok manifest attr as padding
See attached bug

Fixes: 152433087
Test: ensure current.txt values change reverts that from ag/10814417
Change-Id: I5b9c8d0fa1e794137b354d2a238a3f1171a0f89c
2020-03-26 15:09:54 -07:00
Sarah Chin
854fc2ca64 Update Bands API
Test: build
Bug: 151842542
Change-Id: Ib033758d469b9b485eb7cce6c026b5a649e6a6fa
2020-03-26 15:02:29 -07:00
Sarah Chin
85e3140365 Merge "Un-deprecate SmsManager APIs" into rvc-dev 2020-03-26 21:53:51 +00:00
Todd Kennedy
fb590035e1 Merge "Define permission for installer API v2" into rvc-dev 2020-03-26 21:50:17 +00:00
Michael Wright
8d761db1e4 Make vibrator effect queries an @IntDef.
Rather than tri-state enums, which aren't as clear and easy to
mis-interpret, switch the return values to an explicit tri-state
@IntDef.

Bug: 150958120
Test: atest VibratorTest
Change-Id: I3a5daa4078a21008664ea14d45a5c5284c1224ed
2020-03-26 21:39:17 +00:00
Nicholas Ambur
1e43767f10 remove SoundTrigger public member variables
Bug: 150127026
Test: boot and verify soundtrigger hotword is functional

Change-Id: I04061cdb3eba02aac0f08de96f957e2b74c70a12
2020-03-26 19:44:31 +00:00
Michael Wright
f7eb2d82a7 Address API Council feedback.
- Make VibrationEffect.Composition final
- Hide the VibrationEffect.Composition default constructor
- Fix doc and nullability annotation bugs on
  VibrationEffect.Composition#addPrimiritive
- Make Vibrator#areAllEffectsSupported and
  Vibrator#areAllPrimitivesSupported

Fixes: 150958120
Test: build
Change-Id: I0d9a782fd4130639ad99179d7770dcde1a2afba5
2020-03-26 19:29:54 +00:00
Kenny Root
625bcd2eeb Resume-on-Reboot: change SystemApi calls slightly
In response to feedback, remove boolean returns and rely on exceptions
to provide detail descriptions.

Test: make # using a test app that calls the API using old signature
Test: atest FrameworksServicesTests:RecoverySystemServiceTest
Bug: 150205125
Change-Id: I95930078df9c88194f21b38ff7d96b425db47d56
2020-03-26 12:23:11 -07:00
Ricardo Correa
acdc827501 Revert "Include an AppOp to allow dialer role app to record and play audio into calls"
This reverts commit e96b5668b3.

Reason for revert: Feature has been postponed
Bug: 151761909

Change-Id: I7db5fb79d52b3da33b84bb07d1f612be760299c2
2020-03-26 11:57:01 -07:00
Santiago Seifert
fc5e4f9f58 Add special value for unknown current parser name
Bug: 150855259
Test: atest CtsMediaParserTestCases
Change-Id: I9328104875e3daeeb1a9f0ac3e47ca5df8acea14
2020-03-26 13:10:51 +00:00
Sarah Chin
ac3eb46325 Un-deprecate SmsManager APIs
MmsManager methods were removed for mainline, so unexposing these

Test: build
Bug: 144004293
Change-Id: I9714719f2d922cb027fa42a1aa535006dce7342c
2020-03-25 23:33:15 -07:00
Tyler Gunn
f0edfb41f3 Merge "Hide adhoc conference APIs." into rvc-dev 2020-03-25 20:36:59 +00:00
Todd Kennedy
66ed8dff37 Define permission for installer API v2
The package installer v2 APIs were marked as @SystemApi merely as
a convenience for development. These APIs may change in the next
version of Android and their usage must be strictly controlled.

Bug: 151716357
Test: Manual. Use old Shell and see that incremental installation fails with a SecurityException
Test: Manual. Request INSTALLER_V2 permission for shell and see that incremental installation succeeds
Change-Id: I9612dc145eadda20083bcc43e7a35ef3cd90aa40
2020-03-25 12:57:05 -07:00
Eugene Susla
2f54a864d5 Merge "Switch auto-revoke manifest flag to a tri-state" into rvc-dev 2020-03-25 17:03:32 +00:00
Tyler Gunn
703dd182fd Hide adhoc conference APIs.
Most of this was previously hidden; these last stragglers were missed.

Test: make update-api ; verify hidden
Fixes: 152394802
Change-Id: I41bda5b8ad368e1c88e4dd9e45d978a111a22e53
2020-03-25 08:50:48 -07:00
Chalard Jean
1d2d35d049 Update NetworkAgentConfig API for council comments
Bug: 152238712
Test: FrameworksNetTests NetworkStackTests
Change-Id: Idca9f243a5c955f4caa30921ee520e1a93b0d11a
2020-03-25 22:43:13 +09:00
Chalard Jean
f1dec6101b Update the NetworkAgent API for council comments
Bug: 152238712
Test: FrameworksNetTests NetworkStackTests
Change-Id: I9a2691f783f4449348c3f767568e05620f0b9df5
2020-03-25 22:35:41 +09:00
Galia Peycheva
389580c7da Merge "Create ACTIVITY_TYPE_DREAM" into rvc-dev 2020-03-25 10:23:47 +00:00
Aaron Huang
fbb485a4b3 API review: make exception class and Builder final
- InvalidPacketException exception class should be final
- NetworkCapabilities.Builder should be final

Bug: 152203926
Test: atest FrameworksNetTests
Change-Id: If9b799151aff6d41c9bcd8bb86c65a58e46bad73
2020-03-25 13:36:38 +08:00
Jean-Michel Trivi
6abd17edc8 MediaCodec: LinearBlock API for optional crypto
Split setter for LinearBlock in QueueRequest between:
- setLinearBlock for unencrypted streams
- setEncryptedLinearBlock with non-null crypto info

Bug: 149487982
Test: atest CtsMediaTestCases -- --module-arg CtsMediaTestCases:size:small
Change-Id: I7d147b3963febeb431b268262343c782f2c1e3e9
2020-03-24 15:22:01 -07:00
Eugene Susla
49b84c3495 Switch auto-revoke manifest flag to a tri-state
Test: presubmit
Bug: 146513245
Change-Id: I179f91d10d1de7f2907cebe3e2bc0cfb0ab2300d
2020-03-24 11:54:01 -07:00
Sudheer Shanka
082b1f7bed Merge "Promote getLeasedBlobs() to be a public API." into rvc-dev 2020-03-24 17:27:23 +00:00
Galia Peycheva
45f48d3082 Create ACTIVITY_TYPE_DREAM
Previously the dream activity was of a standard activity type. This
allows other activities to be started in front of it, which should not
happen.

This CL adds a new ACTIVITY_TYPE_DREAM and makes dream activities to be
attached on top of all other activities. It also adds activities of type
dream to be one of the always on top activities.

Bug: 150749838

Test: make && flash; start PiP and then start the screensaver. Verify
      that PiP is hidden by the dream.

Change-Id: I852db2455d580d5c99aca3dbbd1ee3bea20aa7ae
2020-03-24 15:31:25 +01:00
Andrii Kulian
0be1d67b68 Report bounds instead of size in WindowMetrics
Use case: Jetpack WM will use them to get the location of windows on
screen and compute the display feature positions in window coordinate
space.

Bug: 150908045
Test: atest FrameworksCoreTests:WindowMetricsTest
Test: atest CtsWindowManagerDeviceTestCases:WindowMetricsTests
Change-Id: Ia08950cd5df35971408e8b17bb27d97d29d0ab9b
Exempt-From-Owner-Approval: API change
2020-03-24 17:05:50 +08:00
Sudheer Shanka
e75dcfbdfd Promote getLeasedBlobs() to be a public API.
This would allow apps to know which blobs they currently
hold a lease on and release any if they are running out
of lease quota.

Bug: 152219149
Test: atest --test-mapping apex/blobstore
Change-Id: I0141cfcd7cdbb83dbc75be11463ab90ee3c3f7cc
2020-03-24 00:22:59 -07:00
TreeHugger Robot
393c9121ce Merge "Hide CellularBatteryStats#getTxTimeMillis." into rvc-dev 2020-03-24 00:09:05 +00:00
Amit Mahajan
9bfde0e1fd Hide CellularBatteryStats#getTxTimeMillis.
Will be re-exposed as SystemApi in S.

Test: TH
Bug: 152247297
Change-Id: Ifb87676fa5afd2720dd09f36f3ff67c1b215b676
2020-03-23 15:15:17 -07:00