16560 Commits

Author SHA1 Message Date
Jeff Sharkey
4b32f7c676 Merge "Fix code accounting bugs, track external app data." into oc-dev 2017-04-21 20:01:43 +00:00
TreeHugger Robot
eedceb5721 Merge "Add transfer mode support to ColorDrawable" into oc-dev 2017-04-21 19:29:07 +00:00
TreeHugger Robot
649040c7f6 Merge "Update HardwareBuffer API." into oc-dev 2017-04-21 19:28:32 +00:00
TreeHugger Robot
ab7a2879eb Merge "Support fraction type for inset* for InsetDrawable. b/36024318" into oc-dev 2017-04-21 15:14:27 +00:00
Hassan Shojania
652d006d6b Merge "MediaPlayer/ModularDrm API review: Document/runtime exception update" into oc-dev 2017-04-21 02:58:25 +00:00
TreeHugger Robot
0e6cce9de1 Merge "media: Change setNextOutputFile to address API review comments." into oc-dev 2017-04-21 02:06:18 +00:00
TreeHugger Robot
82629345c8 Merge "Renaming setAsyncExecutor to setExecutor" into oc-dev 2017-04-21 00:31:11 +00:00
Phil Weaver
4a5ea54710 Merge "Hide API to listen to a11y service state" into oc-dev 2017-04-21 00:11:08 +00:00
Michael Plass
5fc916d852 Merge "Deprecate BSSID Hostlist system API" into oc-dev 2017-04-20 23:37:53 +00:00
Hyunyoung Song
d0dfe3008d Support fraction type for inset* for InsetDrawable.
b/36024318

Test: manually tested on default icons.
Test: $ runtest --path=cts/tests/tests/graphics/src/android/graphics/drawable/cts/InsetDrawableTest.java

adb  shell am instrument -e class 'android.graphics.drawable.cts.InsetDrawableTest' -w 'android.graphics.cts/android.support.test.runner.AndroidJUnitRunner'

android.graphics.drawable.cts.InsetDrawableTest:........................

Time: 0.132

OK (26 tests)

Change-Id: Ie8d24680b6884e65017f07723a371120f5ae610c
2017-04-20 16:23:40 -07:00
Craig Donner
fd5d331efb Update HardwareBuffer API.
Bug: 37514517
Test: cts-tradefed run cts -t CtsHardwareTestCases -t android.hardware.cts.HardwareBufferTest
Change-Id: I5e381964b780472081ef9a65c3c37f63dbaf1e51
2017-04-20 15:47:49 -07:00
Sunny Goyal
0ddf6aa0a4 Renaming setAsyncExecutor to setExecutor
Bug: 37534990
Test: Tests updated
Change-Id: I9ea467d05b4ac4d96c23d53750727096a511686d
2017-04-20 15:27:08 -07:00
Lucas Dupin
b27b47df6b Add transfer mode support to ColorDrawable
Test: runtest --path cts/tests/tests/graphics/src/android/graphics/drawable/cts/ColorDrawableTest.java
Change-Id: Ice87f248e307710315304fc191cb58ee7142e525
2017-04-20 13:57:01 -07:00
Hangyu Kuang
c481c50a42 media: Change setNextOutputFile to address API review comments.
Bug: 37514763
Test: CTS test
Change-Id: If0fb59f26ecf3882600ca7a8b26b6c248615bbd0
2017-04-20 13:53:48 -07:00
Chad Brubaker
1f4e053aef Merge "Address API review comments for registerReceiver" into oc-dev 2017-04-20 19:52:51 +00:00
TreeHugger Robot
4e45b1491a Merge "Stop fetching font data if the context is restricted." into oc-dev 2017-04-20 18:56:46 +00:00
TreeHugger Robot
f4af35a5fe Merge "Moved getAutofillOptions() logic from SpinnerAbs to AdapterView and Adapter." into oc-dev 2017-04-20 17:25:19 +00:00
Jordan Liu
8079a69eba Merge "Use SubscriptionId instead of SubId" into oc-dev 2017-04-20 17:02:54 +00:00
Sudheer Shanka
8f40881e3e Merge "Revert "Add new api Activity.getStartInitiatedTime."" into oc-dev 2017-04-20 16:32:37 +00:00
Jean-Michel Trivi
ac7f215124 Merge "Revert "Revert "AudioAttributes: remove static getVolumeControlStream method""" into oc-dev 2017-04-20 15:45:11 +00:00
Bryce Lee
e4b6441198 Merge "Deprecate Activity#requestVisibleBehind" into oc-dev 2017-04-20 14:19:16 +00:00
Abodunrinwa Toki
06a53d4729 Merge changes from topics 'smartselectconfig', 'langidconfig' into oc-dev
* changes:
  SmartSelection Config installer.
  LangId Config installer.
2017-04-20 13:30:35 +00:00
Andrei Stingaceanu
635d9dd864 Merge "AutoSize TextView - API polish - no RuntimeException in signature" into oc-dev 2017-04-20 13:14:06 +00:00
TreeHugger Robot
1ef45a8bed Merge "Api Council: hide FontsContract.Columns constructor" into oc-dev 2017-04-20 12:52:43 +00:00
Andrei Stingaceanu
1b59a21c5c AutoSize TextView - API polish - no RuntimeException in signature
Do not mention RuntimeException subclasses in throws clauses in
method signatures.

Bug: 37514926
Test: cts-tradefed run cts-dev -m CtsWidgetTestCases -t \
      android.widget.cts.TextViewTest

Change-Id: Ia5bf4cd64e12c53dd7c409b6e44efec4983ae62e
2017-04-20 12:09:11 +01:00
Clara Bayarri
7fea2e264e Api Council: hide FontsContract.Columns constructor
Bug: 37515256
Test: none
Change-Id: I2a9de7ea30ffa39af5104977f6604ce3bda220fb
2017-04-20 11:56:09 +01:00
TreeHugger Robot
fb4fb03cc3 Merge "Address API council comments" into oc-dev 2017-04-20 03:53:37 +00:00
Ashutosh Joshi
bf2e5bd0f9 Merge "Ensure that LLOB sensor is names similr to other android sensors." into oc-dev 2017-04-20 03:10:26 +00:00
Hassan Shojania
5167ede2af MediaPlayer/ModularDrm API review: Document/runtime exception update
Bug:  36790220
Bug:  37514763
Test: GTS tests
Change-Id: I264f6cf66dd09e94720edcf22110240be61e9702
2017-04-19 19:35:02 -07:00
TreeHugger Robot
aa6b649a35 Merge "Revert "Introduce PACKAGE_FIRST_ADDED broadcast"" into oc-dev 2017-04-20 02:15:14 +00:00
TreeHugger Robot
232ff0bdc8 Merge "Fix issue #37470038: API Review: ServiceConnection.onBindingDead()" into oc-dev 2017-04-19 23:55:40 +00:00
Phil Weaver
4cab9308fc Hide API to listen to a11y service state
Hiding and adding the requested return value, so if we
later decide to unhide it we'll be up to snuff for API
review.

Bug: 35764675
Test: Verified that the two features that listen, a11y
volume and the accessibility button on the nav bar, work
properly. Also ran accessibility CTS.
Merged-In: I47b62f2b4fd1ea4a7e697d20a3bb2c3201f6bcce
Change-Id: I4df6164772eb01b4f988c201f46c788eb7124511
2017-04-19 16:19:53 -07:00
Christopher Tate
94b91dbbb8 Revert "Introduce PACKAGE_FIRST_ADDED broadcast"
This reverts commit ee3b42af3f23c37cbd2799c1527f89ac623844be.

Bug 37219124
Test: manual
2017-04-19 15:49:17 -07:00
Chad Brubaker
6d6015f652 Address API review comments for registerReceiver
Bug: 37465538
Test: manual; Verified that Instant Apps can send broadcasts to
receivers still via the changed API.

Change-Id: Ib0f3d0c8ee71234288ccecd07e621554eb9b70ac
2017-04-19 15:06:35 -07:00
Dianne Hackborn
ac26534996 Fix issue #37470038: API Review: ServiceConnection.onBindingDead()
Renamed.

Test: booted and ran.

Change-Id: Ic21f7ef66d43fb6db9f7ebbc833f28c09474ea59
2017-04-19 14:53:43 -07:00
Jordan Liu
0f332523b2 Use SubscriptionId instead of SubId
Rename the methods and arguments in ServiceStateTable to use
SubscriptionId instead of SubId.

Change-Id: I6f99da3bf533cab74f5ec81aac4f62e63d55378a
Fixes: 35766624
Test: Existing unit tests pass
2017-04-19 14:40:23 -07:00
Abodunrinwa Toki
bb957d12ba SmartSelection Config installer.
Test: none
Bug: 34780396
Change-Id: I9cb04e7b20b565ac5d128475a90bd065c805e95e
2017-04-19 21:39:41 +01:00
Abodunrinwa Toki
51c4203ab4 LangId Config installer.
Test: none
Bug: 34780396
Change-Id: I6cdd608ea9a41041d03640997c076c6e6fea0129
2017-04-19 21:35:07 +01:00
Sudheer Shanka
55337a831a Revert "Add new api Activity.getStartInitiatedTime."
This reverts commit bc308988bdcb76d67c80e85183bcfa8128f73890.

Change-Id: Ieaca7c9ec8b4affbb8ce98ebbcb663a531904bf8
2017-04-19 20:32:14 +00:00
Jean-Michel Trivi
fa97222e87 Revert "Revert "AudioAttributes: remove static getVolumeControlStream method""
This reverts commit e4a9911b68d847cd720a7b506dc705f97bd1c3f0.

Change-Id: Id260024dbf926a1defc1c5302a86b694e3c7f8c9

Bug: 36724262
2017-04-19 18:37:27 +00:00
TreeHugger Robot
f3ff7b8207 Merge "Adds getLayoutInflater() to return a cached value." into oc-dev 2017-04-19 18:15:36 +00:00
Winson Chung
d1a1c8004e Merge "Adding consistent platform PiP action asset." into oc-dev 2017-04-19 18:10:20 +00:00
Sunny Goyal
7790695bf2 Merge "Adding API AppWidgetHost.getAppWidgetIds() to get active widgets of the host" into oc-dev 2017-04-19 17:10:42 +00:00
Tao Bao
e3872a4fc9 Merge "RecoverySystem: Verify the package compatibility." into oc-dev 2017-04-19 15:54:24 +00:00
Felipe Leme
fe1bddfbb5 Merge "Some Autofill API changes." into oc-dev 2017-04-19 05:05:48 +00:00
Ashutosh Joshi
a105c7b1a8 Ensure that LLOB sensor is names similr to other android sensors.
Ensuring that the LLOB sensos naming style is consistent with other
sensor naming styles.

Bug: 36554362
Test: Verify that the sensor shows up with the appropriate name
      string.

Change-Id: I904bd067e8a427ef32a45f19c6bff29afb69bec3
2017-04-18 21:30:44 -07:00
Jeff Sharkey
0034788844 Fix code accounting bugs, track external app data.
When counting code size, don't include APKs baked into the system.

Settings already accounts external storage used by apps, so they
need a way to exclude that from the total space used by external
storage; give them new getAppSize() API.

Refine docs to explain that emulated storage might be included in
measured statistics.

Resolve symlinks as part of matching getUuidForPath().

Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Bug: 35812899, 35844919, 37193650
Change-Id: Iec3ce8b336b71dc98a7d25fdd30fa78e9ee826dc
2017-04-18 21:00:13 -06:00
Svetoslav Ganov
57ed0ba69d Merge "Address API council comments" into oc-dev 2017-04-19 02:44:18 +00:00
TreeHugger Robot
42775f2a89 Merge "Add a way to read the last AutofillSelection." into oc-dev 2017-04-19 02:43:08 +00:00
Felipe Leme
e5f9c30688 Some Autofill API changes.
- Added View.IMPORTANT_FOR_AUTOFILL_YES_INCLUDE_DESCENDANTS
- Added View.IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS
- Added FillResponse.Builder.setIgnoredIds()
- Fixed javadoc links.

These changes are not implemented yet....

Bug: 37424141
Bug: 36171235
Test: m update-api

Change-Id: I604960443ab08cd3f2a84a70b0a2cece7cb0a00c
2017-04-18 19:27:58 -07:00