16627 Commits

Author SHA1 Message Date
TreeHugger Robot
7dfa16c2ef Merge "Color management, the missing pieces" into oc-dev 2017-04-07 18:34:40 +00:00
Nathan Harold
c12d6c5983 Deprecate TelephonyManager.getCellLocation()
This API has been long-marked for deprecation. It has numerous problems:
-It does not support LTE
-It returns a limited subset of information
-It uses old (and poorly-chosen) sentinel values for fields that are
 not provided.

Bug: 36076138
Test: compilation
Change-Id: I87004710e5d046d4534ad3a0a938540440b0e83b
2017-04-07 11:31:41 -07:00
Chen Xu
6fd0d2b37f Merge "remove deprecated API sendDialerCode" into oc-dev
am: 31fcda576f

Change-Id: Ia1ca68529e16deaa990d07b651592a9a80806531
2017-04-07 16:03:02 +00:00
Chen Xu
31fcda576f Merge "remove deprecated API sendDialerCode" into oc-dev 2017-04-07 15:53:11 +00:00
Romain Guy
8242656f49 Color management, the missing pieces
Implement missing color management pieces for bitmaps:

- Bitmap.createBitmap(Bitmap src, ...) now creates a bitmap
  in the same color space as the source bitmap
- Bitmap.createScaledBitmap() now creates a bitmap in the
  same color space as the source bitmap
- Bitmap.createBitmap(..., ColorSpace colorSpace) to create
  bitmaps in a specific color space
- Fix copy from A8 to F16
- Copying bitmaps in F16 or with a color space does not work,
  it's currently a limitation in Skia

Bug: 36905374
Test: BitmapColorSpaceTest
Change-Id: I0092fe4432511db50daa3a9393389a9db05e0c2a
2017-04-07 07:56:14 -07:00
Philip P. Moltmann
a89137545b Merge "Change requestWait API according to request" into oc-dev
am: ca687ac39a

Change-Id: I19a3ca83efc1934448e1044b9be74087f89dd030
2017-04-07 13:27:33 +00:00
TreeHugger Robot
ca687ac39a Merge "Change requestWait API according to request" into oc-dev 2017-04-07 13:19:12 +00:00
Felipe Leme
7d5adb5b86 Autofill Partitioning: support multiple SaveInfos.
Bug: 35707731
Test: CtsAutoFillServiceTestCases (with new tests) pass

Change-Id: I2f234ca13c7e74f84c762473e38f938ed47f216f
2017-04-06 22:19:22 -07:00
Philip P. Moltmann
d45000c1a9 resolve merge conflicts of 3c002e45dda1 to oc-dev-plus-aosp
Test: Trivial resolution
Change-Id: Ifc41cc692406d52f508b595465f4f7469f74c6f5
2017-04-06 20:25:45 -07:00
Philip P. Moltmann
3c002e45dd Merge "Return inet addr for discoverable printers" into oc-dev 2017-04-07 03:04:17 +00:00
Chad Brubaker
49b607a61e Merge "Add UPDATE_TZDATA to config updater intents" into oc-dev
am: c56d782e13

Change-Id: I14d241e63ead50651ca21aa1d28bce3ba019b5fc
2017-04-07 02:37:36 +00:00
TreeHugger Robot
c56d782e13 Merge "Add UPDATE_TZDATA to config updater intents" into oc-dev 2017-04-07 02:28:23 +00:00
Tadashi G. Takaoka
46699675aa Remove supportsDismissingSelfWindow attribute of IME
This partially reverts CL I0f6b130a7df57557e40b52a7b7ac00be965a17c3.

Fixes: 34133139
Test: Confirm that unit test passed.
    adb install out/target/product/.../data/app/FrameworksCoreTests/FrameworksCoreTests.apk
    adb shell am instrument -w \
        -e class android.view.inputmethod.InputMethodInfoTest \
        com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I2b94263b2a0bf330bf9973567fea2d35176754d7
2017-04-07 10:43:43 +09:00
Tima Vaisburd
0b1023a263 Merge "Added onMovedToDisplay method to WebView" into oc-dev
am: be41b61216

Change-Id: Ib119a90509998347b6ad26862ddfdb2d5299fb42
2017-04-07 01:24:36 +00:00
TreeHugger Robot
be41b61216 Merge "Added onMovedToDisplay method to WebView" into oc-dev 2017-04-07 01:18:59 +00:00
Philip P. Moltmann
9b6dd2b2c1 Change requestWait API according to request
Test: USB Device CTSVerifier test
Change-Id: Ib55bed248d7b37c6f5f4a7be7ec2d90a7ac396c7
Fixes: 36555805
2017-04-06 18:13:53 -07:00
Suprabh Shukla
a1300c84f6 Renaming intent action for unknown sources
Renaming action MANAGE_EXTERNAL_SOURCES to MANAGE_UNKNOWN_APP_SOURCES to
be clearer about its purpose

Test: adb shell am instrument -w -e class \
com.android.settings.applications.ExternalSourcesSettingsTest \
com.android.settings.tests/android.support.test.runner.AndroidJUnitRunner

cts-tradefed run singleCommand cts -m ExternalSources

Bug: 35812498
Change-Id: If38349f349781541673f93638e536a4f2a184bf6
2017-04-06 18:06:33 -07:00
Brad Ebinger
7bb8587133 Move @SystemApi access to ImsService
Keeping a separate ImsServiceBase class for binding
is redundant. Moving @SystemApi access to ImsService
instead.

Test: Compile and Run
Change-Id: I95ed659efe1c74ccac321d1a9079f7c1b683c66b
2017-04-06 16:29:56 -07:00
Dongwon Kang
2b45152532 Merge "Add intent to intialize programs on APP installed" into oc-dev
am: 9c1e85384e

Change-Id: I806f2287b78670d3bcb8eef05c37e4581ad68985
2017-04-06 22:56:24 +00:00
Tima Vaisburd
134752b471 Added onMovedToDisplay method to WebView
Delegate the action to WebViewProvider, by default it is no-op.

Bug: 36006397
Test: There is no implementation yet to test.
Change-Id: Ib5101d3669a92ae81cfb34cc5db607c374712a3d
2017-04-06 15:50:05 -07:00
Dongwon Kang
9c1e85384e Merge "Add intent to intialize programs on APP installed" into oc-dev 2017-04-06 22:49:50 +00:00
Felipe Leme
3e91021212 Merge "Removed deprecated onFillRequest() method" into oc-dev
am: 7a7c0ace82

Change-Id: I538be771db63f10a6383495147c32848fabe55cd
2017-04-06 22:30:09 +00:00
TreeHugger Robot
7a7c0ace82 Merge "Removed deprecated onFillRequest() method" into oc-dev 2017-04-06 22:20:49 +00:00
Romain Guy
98e11587f2 Merge "Rename getIntent() to getRenderIntent()" into oc-dev
am: b2bb3bf268

Change-Id: I10652933266e3eb976244de9e7b1ddeab4fe7c87
2017-04-06 21:39:20 +00:00
TreeHugger Robot
b2bb3bf268 Merge "Rename getIntent() to getRenderIntent()" into oc-dev 2017-04-06 21:34:17 +00:00
Kang Li
461959d71f Merge "Add a service to rank apps for ResolverActivity." into oc-dev
am: 5a0ee44ce5

Change-Id: I36f8664480f8741dd4d755cfcc3cfa95d8e3d1ba
2017-04-06 20:37:09 +00:00
Chad Brubaker
df9bd4f7b3 Add UPDATE_TZDATA to config updater intents
Change-Id: I5fcd011e0ab030ebf1aa40818a05853117cc6811
Fixes: 36977046
Test: checkbuild
2017-04-06 13:35:23 -07:00
TreeHugger Robot
5a0ee44ce5 Merge "Add a service to rank apps for ResolverActivity." into oc-dev 2017-04-06 20:25:47 +00:00
Chad Brubaker
878331631e Merge "Expose ConfigUpdater Intents in SystemApi" into oc-dev
am: 6de4ea56f7

Change-Id: Ibdf483d6b40ac30f78e3e6e4a024c7da2354831d
2017-04-06 20:09:06 +00:00
TreeHugger Robot
6de4ea56f7 Merge "Expose ConfigUpdater Intents in SystemApi" into oc-dev 2017-04-06 19:40:25 +00:00
Romain Guy
1cf7b4fcb3 Rename getIntent() to getRenderIntent()
Bug: 37077433
Test: compile and ColorSpaceTests
Change-Id: I8eb1fa6136582eaac1d509ebfef7f67b0fffe1aa
2017-04-06 12:37:03 -07:00
Philip P. Moltmann
7e01895e69 Return inet addr for discoverable printers
... by extending the RecommendationInfo to store the inet addresses not
just the count. Thankfully the recommendation plugins already contained
all the printers, not only the count.

Also expose the print service state as system APIs as they will be used
by the default print service.

Bug: 35765644
Test: Ran AddPrinterActivity on network that had printers to discover
Change-Id: I929a177adb75f6848848ba30a472cf0343d2e67e
2017-04-06 11:54:53 -07:00
Kang Li
38a6da6473 Add a service to rank apps for ResolverActivity.
bug: 36952725,30982298

Test: used PTP before and after this fix.

Change-Id: I5b249af2dd0d9fe32d1e524e8d2675c863e92b5b
2017-04-06 18:08:14 +00:00
Rob Carr
1f3a56ef7e Merge "WindowManager.LayoutParams: Expose privateFlags for CTS" into oc-dev
am: 0b504559ee

Change-Id: I784b58f59acf7ed91e37d70e57c076734814aa9e
2017-04-06 18:07:50 +00:00
Rob Carr
0b504559ee Merge "WindowManager.LayoutParams: Expose privateFlags for CTS" into oc-dev 2017-04-06 18:00:55 +00:00
Chad Brubaker
19f98d9707 Expose ConfigUpdater Intents in SystemApi
The Intents are are in the android namespace and should have been
exposed as SystemApi, but were not previously.

Since there are no classes in the framework that reference these Intents
this adds android.os.ConfigUpdate to have them all in one place.

Test: builds
Change-Id: I2086945301f06b28b491ec876652c37e97315e8c
Fixes: 35252508
Fixes: 35266806
Fixes: 35266833
Fixes: 35271111
(cherry picked from commit 987b0fc4a57c8b8246b12069a5db06693bc3eea6)
2017-04-06 17:18:13 +00:00
Wei Jia
f3d93a0f69 MediaPlayer: hide BufferingParams API
Test: compiles
Bug: 36280094
Change-Id: I52f3e71fb0e090ac48711bbb8ea7cbdf8db00074
2017-04-06 10:09:05 -07:00
Chad Brubaker
57a9464831 Merge "Allow permissions to be runtime-only." into oc-dev
am: 941e9e2b38

Change-Id: I2b1b3a53e6609cc335b4efa9084e603986f58bbe
2017-04-06 16:54:50 +00:00
Chad Brubaker
941e9e2b38 Merge "Allow permissions to be runtime-only." into oc-dev 2017-04-06 16:44:11 +00:00
Julia Reynolds
fafcda882b Merge "Show a link to app settings in notification guts." into oc-dev
am: 0ff1b458ac

Change-Id: I27b70e04b9924c95dbd2f915d27c0e346f2f0a09
2017-04-06 16:06:09 +00:00
Julia Reynolds
0ff1b458ac Merge "Show a link to app settings in notification guts." into oc-dev 2017-04-06 15:55:36 +00:00
Conrad Chen
1f6d4b5c81 Add intent to intialize programs on APP installed
Adds a new broadcast intent for system APPs to send when some TV APP met
certain requirements is newly installed. The intent will wake up the APP
and notify it to initialize its channel and program list to the system
provider.

Test: build
Bug: 34739955
Change-Id: Ib172b40434db4a439ec0db7bf8b28037d0bfb8a8
2017-04-06 08:42:59 -07:00
Julia Reynolds
4c6d2c76a4 Merge "Remove unneeded methods" into oc-dev
am: 9a8f641801

Change-Id: I5532580c81fcb337bf7a7d22cf148b72f73ba8f6
2017-04-06 15:19:51 +00:00
Julia Reynolds
9a8f641801 Merge "Remove unneeded methods" into oc-dev 2017-04-06 15:13:13 +00:00
Przemyslaw Szczepaniak
b9a8fe0bd9 Merge "Track libcore change dfd104e99d15d91dc21137b190fb99cab8a1180b" am: 443af115ab am: 9bc30db050
am: 20d95d9ed9

Change-Id: Ib6e3e7184acc555295e9efd2a51c8744f80c9099
2017-04-06 15:09:33 +00:00
Przemyslaw Szczepaniak
1607b49d6b Track libcore change dfd104e99d15d91dc21137b190fb99cab8a1180b
Test: make -j 32
Bug: 36461944
Change-Id: I2075d03c3143d0582a76d91bcbaccd83c193a552
2017-04-06 09:58:18 +00:00
Lorenzo Colitti
46aa9c022e Add an API hint for metered multipath traffic.
This allows an application that knows how to provide seamless
network connectivity (e.g., using QUIC multipath) to find out if
doing so is desired.

(cherry picked from commit 2de4925f5cc64aeb92e02a8f740d3ff20f36dddd)

Test: builds, boots, runtest frameworks-net passes.
Bug: 34630278
Change-Id: Ic7fd0b9e1cd879fdfaf84009d7125391895e9087
2017-04-06 16:50:06 +09:00
Philip P. Moltmann
7e3af23cc3 Merge "Overlay a highlight over autofilled views" into oc-dev
am: 4ebafa8000

Change-Id: I0642ef746f9deeef58b3e689287b9378e14c038b
2017-04-06 06:28:33 +00:00
Etan Cohen
39c6014666 [CM] Unhide the NetworkSpecifier as object API
API visibility change: unhide allowing NetworkSpecifier
to be an arbitrary object.

Bug: 27533960
Bug: 36053921
Bug: 36275276
Test: builds and runs
Change-Id: I1d1705cca7ece077ef8d7c674c62d5369fedbb03
2017-04-05 21:16:18 -07:00
Philip P. Moltmann
b42d133c8b Overlay a highlight over autofilled views
Also clear this overlay once the data changes. Some views call
notifyValueUpdated even if the value did not change. Hence remeber the
data that was autofilled and check if the data really changed.

Make the autofilledDrawable publicly accessible so that virtual views
can use the same UI.

As the activity is not aware that the views were autofilled the state
has to be explicitly persisted over activity lifecycle events as part
of the view. The lifecyle does not work yet as the AutofillIds are not
stable over activity lifecycle events.

Fixes: 34946006
Test: Autofilled and changed all supported views.
      cts-tradefed run cts-dev -m CtsUiRenderingTestCases
Change-Id: I58b105bb221f1b6466dd136dfe5062d3babb5aa8
2017-04-06 03:57:54 +00:00