OSDN Git Service
Hugo Benichi [Thu, 23 Mar 2017 03:32:27 +0000 (12:32 +0900)]
Fix NetworkNotificationManagerTest
The testNotificationsShownAndCleared test was not doing anything
because the list of notification to show was always empty.
This patch fixes this issue and actually makes the test loop on
non-empty collections, and also fixes another ordering issue in
assertions themselves, hidden until now by the first issue.
Test: runtest -x frameworks/base/tests/net/java/com/android/server/connectivity/NetworkNotificationManagerTest.java
Change-Id: I4837b1175d7c9133e9156e33acaa1e7e3341cc62
TreeHugger Robot [Fri, 17 Mar 2017 06:42:58 +0000 (06:42 +0000)]
Merge "Sets accessibility title for autofill dataset picker."
Jakub Pawlowski [Fri, 17 Mar 2017 05:31:07 +0000 (05:31 +0000)]
Merge "LE Maximum Advertising Data Length (1/4)" am:
74f2e1a303 am:
2fc3834f4d
am:
066e8551f1
Change-Id: If9ee85705e7c47820e23ad79a048e4c04c4cc11a
Jakub Pawlowski [Fri, 17 Mar 2017 05:26:26 +0000 (05:26 +0000)]
Merge "LE Maximum Advertising Data Length (1/4)" am:
74f2e1a303
am:
2fc3834f4d
Change-Id: Iad555280f5d702c63c76a2399c8d02ac39749a77
Jakub Pawlowski [Fri, 17 Mar 2017 05:19:57 +0000 (05:19 +0000)]
Merge "LE Maximum Advertising Data Length (1/4)"
am:
74f2e1a303
Change-Id: I3b6599937ddd04a9c13573d156cc721152c0005a
Jakub Pawlowski [Fri, 17 Mar 2017 05:13:44 +0000 (05:13 +0000)]
Merge "LE Maximum Advertising Data Length (1/4)"
TreeHugger Robot [Fri, 17 Mar 2017 04:09:50 +0000 (04:09 +0000)]
Merge "Added a new AutofillCallback.EVENT_INPUT_UNAVAILABLE event."
TreeHugger Robot [Fri, 17 Mar 2017 04:06:46 +0000 (04:06 +0000)]
Merge "WifiConfiguration: Correct documentation for priority"
Roshan Pius [Fri, 17 Mar 2017 03:59:36 +0000 (03:59 +0000)]
Merge "WifiConfiguration: Update psk documentation"
Joel Scherpelz [Fri, 17 Mar 2017 03:05:45 +0000 (03:05 +0000)]
Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces" am:
52f8421b77 am:
b8933942fc
am:
f9cd5cd81b
Change-Id: I5ebbe1a63da43f28b0d582bc7e6480ffe74195b7
Joel Scherpelz [Fri, 17 Mar 2017 02:59:11 +0000 (02:59 +0000)]
Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces" am:
52f8421b77
am:
b8933942fc
Change-Id: Ic1b6226da3cfb68eeb352c1f81df09733ab52e4d
Joel Scherpelz [Fri, 17 Mar 2017 02:53:11 +0000 (02:53 +0000)]
Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"
am:
52f8421b77
Change-Id: I5b5d5460f9fe7ed228ab32b2c63cb601be5e1edb
Treehugger Robot [Fri, 17 Mar 2017 02:44:07 +0000 (02:44 +0000)]
Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"
Felipe Leme [Wed, 15 Mar 2017 19:33:01 +0000 (12:33 -0700)]
Added a new AutofillCallback.EVENT_INPUT_UNAVAILABLE event.
This event is called when:
- After notifyViewEntered() when autofill is disabled.
- After service returns an "empty" FillResponse to FillCallback.onSuccess().
BUG:
36056207
Test: LoginActivityTest.testAutofillCallbackDisabled
Test: LoginActivityTest.testAutofillCallbackNoDatasets
Test: VirtualContainerActivityTest.testAutofillCallbackDisabled
Test: VirtualContainerActivityTest.testAutofillCallbackNoDatasets
Change-Id: I7b8636473f738bf600aa96b28c77827b2cc78815
Karthik Ravi Shankar [Fri, 17 Mar 2017 02:34:02 +0000 (02:34 +0000)]
Merge "Add API to get compatibility display id"
Philip P. Moltmann [Fri, 17 Mar 2017 02:23:29 +0000 (02:23 +0000)]
Merge "TRON log important auto-fill events"
Jakub Pawlowski [Fri, 17 Mar 2017 01:22:36 +0000 (18:22 -0700)]
LE Maximum Advertising Data Length (1/4)
Add ability to check maximum advertising data length.
Bug:
30622771
Test: manual
Change-Id: I281f7e9f294c40a47a67a22809cc753b6693f7c4
Jakub Pawlowski [Fri, 17 Mar 2017 01:21:38 +0000 (01:21 +0000)]
Merge "Bluetooth 5 AdvertisingSet implementation (1/4)" am:
15e69df921 am:
45e0c6ea7f
am:
d2da3a7874
Change-Id: I3b14feb1d470f818b48acf99b32785f653790cc2
TreeHugger Robot [Fri, 17 Mar 2017 01:19:45 +0000 (01:19 +0000)]
Merge "IBiometricsFingerprint uses "default" service name"
TreeHugger Robot [Fri, 17 Mar 2017 01:15:07 +0000 (01:15 +0000)]
Merge "Change vold cryptkeeper permissions to be more sensible"
Jakub Pawlowski [Fri, 17 Mar 2017 01:15:08 +0000 (01:15 +0000)]
Merge "Bluetooth 5 AdvertisingSet implementation (1/4)" am:
15e69df921
am:
45e0c6ea7f
Change-Id: I6975c6629e8c4a7be20f355fdeaba268b33396a2
Jakub Pawlowski [Fri, 17 Mar 2017 01:09:02 +0000 (01:09 +0000)]
Merge "Bluetooth 5 AdvertisingSet implementation (1/4)"
am:
15e69df921
Change-Id: I585fc900b4a153744116fa87764db98b038184d5
Felipe Leme [Thu, 16 Mar 2017 21:36:47 +0000 (14:36 -0700)]
Sets accessibility title for autofill dataset picker.
Bug:
34219631
Test: CtsAutoFillServiceTestCases (with new tests) pass
Change-Id: I9bda820a41ef82e008f2a1ffd32c286b91841c10
Treehugger Robot [Fri, 17 Mar 2017 01:01:15 +0000 (01:01 +0000)]
Merge "Bluetooth 5 AdvertisingSet implementation (1/4)"
Yifan Hong [Fri, 17 Mar 2017 00:58:10 +0000 (00:58 +0000)]
Merge "Start android.frameworks.sensorservice@1.0 in system_server"
Joel Scherpelz [Wed, 15 Mar 2017 06:32:33 +0000 (15:32 +0900)]
Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces
This patch tries to change accept_ra_rt_info_max_plen to 64 from its
default value of 0 on kernels that support router advertisements with
route information options. The code fails silently on older unsupported
platforms.
Also factor existing startIPv6() code into a self documenting function
enableInterfaceIpv6PrivacyExtensions()
Bug:
33333670
Test: as follows
- build sailfish
- flashed
- booted
- runtest frameworks-net passes
- runtest frameworks-wifi passes
Change-Id: I10ec83b9e04836089477d74417b7222499820066
Derek Sollenberger [Fri, 17 Mar 2017 00:41:12 +0000 (00:41 +0000)]
Merge "Remove usage of deprecated makeImageSnapshot parameter Test: Does it compile?"
TreeHugger Robot [Fri, 17 Mar 2017 00:32:48 +0000 (00:32 +0000)]
Merge "Camera: Enable batching for constrained high speed recording"
Chris Craik [Fri, 17 Mar 2017 00:32:15 +0000 (00:32 +0000)]
Merge "Expose color filter mutate methods"
Jack He [Fri, 17 Mar 2017 00:21:31 +0000 (00:21 +0000)]
Merge "Add a flag that indicates whether in-band ringing is avalable" am:
41f5b61f5d am:
592d78238d
am:
90397ba054
Change-Id: I11c594bb6da104a85a1fd05138e7f224a3d18b09
Jack He [Fri, 17 Mar 2017 00:14:57 +0000 (00:14 +0000)]
Merge "Add a flag that indicates whether in-band ringing is avalable" am:
41f5b61f5d
am:
592d78238d
Change-Id: I47b79c0113f3452df40325df4d96952aa1c7d835
Fyodor Kupolov [Fri, 17 Mar 2017 00:13:58 +0000 (00:13 +0000)]
Merge "Handle stopped users in onCleanupUser"
Jack He [Fri, 17 Mar 2017 00:09:58 +0000 (00:09 +0000)]
Merge "Add a flag that indicates whether in-band ringing is avalable"
am:
41f5b61f5d
Change-Id: I25931f4ed056f6990c6ecb2d9f6629d89610c072
Treehugger Robot [Fri, 17 Mar 2017 00:00:16 +0000 (00:00 +0000)]
Merge "Add a flag that indicates whether in-band ringing is avalable"
Android Build Merger (Role) [Thu, 16 Mar 2017 23:55:57 +0000 (23:55 +0000)]
Merge "Merge "Merge "wifi: add a flag indicating legacy Passpoint configuration" am:
2d87679a11 am:
1228b6cdec" into nyc-mr2-dev-plus-aosp am:
01213393fb"
Yohei Yukawa [Thu, 16 Mar 2017 23:54:19 +0000 (23:54 +0000)]
Merge "Add a compat hack into SurfaceView#setWindowType()"
Peter Qiu [Thu, 16 Mar 2017 23:54:12 +0000 (23:54 +0000)]
Merge "Merge "wifi: add a flag indicating legacy Passpoint configuration" am:
2d87679a11 am:
1228b6cdec" into nyc-mr2-dev-plus-aosp
am:
01213393fb
Change-Id: Ic5ea3f8c8521e818ee771b20cdb4d43875d6daa7
Andrew Zeng [Thu, 16 Mar 2017 23:52:44 +0000 (23:52 +0000)]
Merge "Fix NPE in LockSettingsService." into cw-f-dev am:
4aff3d53ef am:
a01e2212c8
am:
d4e88e2642
Change-Id: Ie7d409e8ef3ec5c3201bcaf0ae125ca71dc10c08
Android Build Merger (Role) [Thu, 16 Mar 2017 23:41:29 +0000 (23:41 +0000)]
Merge "Merge "wifi: add a flag indicating legacy Passpoint configuration" am:
2d87679a11 am:
1228b6cdec" into nyc-mr2-dev-plus-aosp
Roshan Pius [Thu, 16 Mar 2017 18:07:07 +0000 (11:07 -0700)]
WifiConfiguration: Correct documentation for priority
Addressing the concerns raised by API council for deprecating this
field.
Bug:
35854198
Test: make update-api
Change-Id: If9ca582f5d3bd8539a226b425662832241a447cc
Roshan Pius [Thu, 16 Mar 2017 17:59:58 +0000 (10:59 -0700)]
WifiConfiguration: Update psk documentation
Adding some documentation to explain the expected contents of this
field.
Bug:
35967623
Test: make update-api
Change-Id: Ia28e2c79834c4d7b0de7350c18d5f32633e6309d
Andrew Zeng [Thu, 16 Mar 2017 23:40:09 +0000 (23:40 +0000)]
Merge "Fix NPE in LockSettingsService." into cw-f-dev am:
4aff3d53ef
am:
a01e2212c8
Change-Id: Id333403e3a989e233a97760b716055b3abd186d6
Peter Qiu [Thu, 16 Mar 2017 23:39:52 +0000 (23:39 +0000)]
Merge "wifi: add a flag indicating legacy Passpoint configuration" am:
2d87679a11
am:
1228b6cdec
Change-Id: Ifc293108dfdfb503ab7596da657e9768a8fea25d
Glenn Kasten [Thu, 16 Mar 2017 23:37:36 +0000 (23:37 +0000)]
Merge "USB audio: fix imports"
Peter Qiu [Thu, 16 Mar 2017 23:32:33 +0000 (23:32 +0000)]
Merge "wifi: add a flag indicating legacy Passpoint configuration"
am:
2d87679a11
Change-Id: I12bc10c8bf51df93ee7c2c7b770820ca7189527d
Andrew Zeng [Thu, 16 Mar 2017 23:22:05 +0000 (23:22 +0000)]
Merge "Fix NPE in LockSettingsService." into cw-f-dev
am:
4aff3d53ef
Change-Id: I17880622c489df79eeea5116b3afe3c462b06554
Treehugger Robot [Thu, 16 Mar 2017 23:20:44 +0000 (23:20 +0000)]
Merge "wifi: add a flag indicating legacy Passpoint configuration"
Tadashi G. Takaoka [Thu, 16 Mar 2017 23:17:11 +0000 (23:17 +0000)]
Merge "Add has-feature shell command to PackageManagerService"
TreeHugger Robot [Thu, 16 Mar 2017 23:16:28 +0000 (23:16 +0000)]
Merge "Dont send broadcasts to manifest-receivers in IA"
Andrew Zeng [Thu, 16 Mar 2017 23:03:02 +0000 (23:03 +0000)]
Merge "Fix NPE in LockSettingsService." into cw-f-dev
Glenn Kasten [Thu, 16 Mar 2017 23:00:25 +0000 (23:00 +0000)]
Merge "Add units to variable names"
Hyunyoung Song [Thu, 16 Mar 2017 22:51:40 +0000 (22:51 +0000)]
Merge "Add LauncherIcons.AdaptiveIconDrawableWithShadow class to support shadow b/
36088922"
Chris Craik [Wed, 8 Mar 2017 18:55:30 +0000 (10:55 -0800)]
Expose color filter mutate methods
Bug:
36025103
Test: cts-tradefed run singleCommand cts-dev --module CtsGraphicsTestCases
Now, similar to Shaders, we defer native creation until Paint is being
used, and ensure that we have an up to date filter when drawing.
Also implements ColorMatrix#equals to behave like Matrix#equals.
Change-Id: I5f74addd97f5662800802e6f660fead58d518725
Philip P. Moltmann [Sat, 4 Mar 2017 01:22:57 +0000 (17:22 -0800)]
TRON log important auto-fill events
Example log from
android.autofillservice.cts.LoginActivityTest#testAutoFill#testAutoFillOneDatasetAndSave
(translated from numbers of human readable string):
AUTOFILL_SESSION_STARTED
package=android.autofillservice.cts
AUTOFILL_REQUEST
type=TYPE_SUCCESS
package=android.autofillservice.cts
FIELD_AUTOFILL_SERVICE=android.autofillservice.cts
FIELD_AUTOFILL_NUM_DATASETS=1
AUTOFILL_FILL_UI
type=TYPE_ACTION
package=android.autofillservice.cts
FIELD_AUTOFILL_NUM_DATASETS=1
FIELD_AUTOFILL_FILTERTEXT_LEN=0
AUTOFILL_DATASET_APPLIED
package=android.autofillservice.cts
FIELD_AUTOFILL_NUM_VALUES=2
FIELD_AUTOFILL_NUM_VIEWS_FILLED=2
AUTOFILL_SAVE_UI
package=android.autofillservice.cts
FIELD_AUTOFILL_NUM_IDS=2
AUTOFILL_DATA_SAVE_REQUEST
type=TYPE_SUCCESS
package=android.autofillservice.cts
FIELD_AUTOFILL_SERVICE=android.autofillservice.cts
AUTOFILL_SESSION_FINISHED
package=android.autofillservice.cts
Test: Ran auto-fill tests and looked at event log.
Change-Id: I58aaa58e4435e7d04c8cd91878411943d3eb13de
Yohei Yukawa [Thu, 16 Mar 2017 22:34:12 +0000 (15:34 -0700)]
Add a compat hack into SurfaceView#setWindowType()
This is a follow up CL to a previous CL [1] that removed an @hide method
SurfaceView#setWindowType(int).
It turns out that at least one application has relied on this @hide method
via refection to set TYPE_APPLICATION_PANEL to the internal Window object
for some reasons. Such an operation has never ever been allowed to the
application developers.
To minimize the risk of compatibility issues and to help developers and
QA teams figure out what is going on, this CL re-introduces the method in
question to do three things:
1. Show an error message with stack trace in logcat if this method was
still called.
2. To emulate the previous behavior for applications that set
TYPE_APPLICATION_PANEL, call SurfaceView#setZOrderOnTop(true) on behalf
of them as a stop-gap, short-term solution until application developers
are notified that their products are doing something unsupported.
3. Throw an exception if the targetApi is Android O or later.
[1]: Ie56b6f7ab16f32d7fc459b8eba26594337ad55de
d5c7dd6da810a6b89151b337bea79fd817e6b72a
Test: Manually verified that the complaint in Bug
36345857 disappeared
Bug:
36345857
Change-Id: I5217f6417a73690ae8a978754218b7b089070fdd
Todd Kennedy [Thu, 16 Mar 2017 16:51:11 +0000 (09:51 -0700)]
Add new metrics tags
Change-Id: I79c5609237246a2835c41fffed1092f859cbd4d8
Fixes:
35431326
Fixes:
35430849
Test: Manual; the tree builds and the constants can be accessed by other classes
Jack He [Thu, 16 Mar 2017 22:20:41 +0000 (15:20 -0700)]
Add a flag that indicates whether in-band ringing is avalable
* Add a flag in config.xml and symbols.xml to indicate whether in-band
ringing is available on current platform
Bug:
19171297
Test: make, testplans/79248
Change-Id: I7eaa0d838ae25184502587d0bcc73f055d62170d
Yifan Hong [Thu, 16 Mar 2017 22:25:43 +0000 (15:25 -0700)]
IBiometricsFingerprint uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.
Test: fingerprint works
Bug:
33844934
Change-Id: Ie5c03ff0e2fc38a1e41e2c292fc76b7592c33eb7
Jakub Pawlowski [Wed, 15 Mar 2017 19:34:03 +0000 (12:34 -0700)]
Bluetooth 5 AdvertisingSet implementation (1/4)
This patch wires up fist methods of AdvertisingSet, making it possible
to start advertising and stop advertising. It also replaces legacy
implemementation with calls to new implementation.
Bug:
30622771
Test: sl4a ConcurrentBleAdvertisingTest
Change-Id: I80a4b1b2b632d5ef8a80d958615897684cfa0c16
TreeHugger Robot [Thu, 16 Mar 2017 22:16:12 +0000 (22:16 +0000)]
Merge "Don't announce state changes in QS"
Calin Juravle [Thu, 16 Mar 2017 22:03:54 +0000 (22:03 +0000)]
Merge "Register secondary dex files for JIT profiling"
TreeHugger Robot [Thu, 16 Mar 2017 21:48:31 +0000 (21:48 +0000)]
Merge "Clean up some QS user switcher colors"
Android Build Merger (Role) [Thu, 16 Mar 2017 21:41:45 +0000 (21:41 +0000)]
Merge "Merge "Added configuration for VT downgrade/tear down when data disabled" am:
0463a7d38e am:
55f8fb4ec9 am:
8ade276115"
Brad Ebinger [Thu, 16 Mar 2017 21:40:49 +0000 (21:40 +0000)]
Merge "Added configuration for VT downgrade/tear down when data disabled" am:
0463a7d38e am:
55f8fb4ec9
am:
8ade276115
Change-Id: I7499b245fcc5ad7b475b66df38357a0a5b424080
Fyodor Kupolov [Thu, 16 Mar 2017 21:40:28 +0000 (21:40 +0000)]
Merge "Clear mGuestRestrictions before loading from disk"
Bryce Lee [Thu, 16 Mar 2017 21:39:16 +0000 (21:39 +0000)]
Merge "Fix AppWindowTokenTests#testLandscapeSeascapeRotationByPolicy"
TreeHugger Robot [Thu, 16 Mar 2017 21:38:16 +0000 (21:38 +0000)]
Merge "UI updates to dual target tiles"
Brad Ebinger [Thu, 16 Mar 2017 21:34:47 +0000 (21:34 +0000)]
Merge "Added configuration for VT downgrade/tear down when data disabled" am:
0463a7d38e
am:
55f8fb4ec9
Change-Id: Id32407e4ba02989414d393c61661916453a42732
Brad Ebinger [Thu, 16 Mar 2017 21:28:37 +0000 (21:28 +0000)]
Merge "Added configuration for VT downgrade/tear down when data disabled"
am:
0463a7d38e
Change-Id: I4cdb29ef1d2dfd79bb9cf567fda83d56e6f658e4
TreeHugger Robot [Thu, 16 Mar 2017 21:27:35 +0000 (21:27 +0000)]
Merge "Avoid trying to grant non-ephemeral permissions to instant apps"
TreeHugger Robot [Thu, 16 Mar 2017 21:15:12 +0000 (21:15 +0000)]
Merge "Bowing my head in shame, going back to gamma interpolated gradients"
Chad Brubaker [Thu, 16 Mar 2017 18:24:16 +0000 (11:24 -0700)]
Dont send broadcasts to manifest-receivers in IA
Instant Apps should only be started via user interaction and only
support having runtime receivers.
Test: Broadcast not sent to an Instant App
Change-Id: Ic2cfb33e8ca6a99045ad1cfd6c79f7d3e8d41001
Calin Juravle [Thu, 16 Mar 2017 21:02:44 +0000 (21:02 +0000)]
Merge "Move DexLoadReporter out of LoadedApk"
Hyunyoung Song [Mon, 13 Mar 2017 08:23:15 +0000 (01:23 -0700)]
Add LauncherIcons.AdaptiveIconDrawableWithShadow class to support shadow
b/
36088922
Test: Settings app
This utility class can be used to bake shadow in drawable level in
system ui surfaces such as Settings, Overview and ShareSheet.
Change-Id: Iaec867d9ce5b949380c1e5004b68269d1bbeacd4
TreeHugger Robot [Thu, 16 Mar 2017 20:27:59 +0000 (20:27 +0000)]
Merge "Add feature tag android.hardware.vr.headtracking."
TreeHugger Robot [Thu, 16 Mar 2017 20:27:35 +0000 (20:27 +0000)]
Merge "Fixing issue with IME not showing after PiP menu is shown."
Selim Cinek [Thu, 16 Mar 2017 20:24:59 +0000 (20:24 +0000)]
Merge changes I414b9a5f,I0a08b06b
* changes:
Fixed a bug where the notifications could get stuck animating
Better messaging style wrapping
Doris Liu [Thu, 16 Mar 2017 20:10:40 +0000 (20:10 +0000)]
Merge "Fix 0 duration scale for pre-O apps"
Felipe Leme [Thu, 16 Mar 2017 20:03:33 +0000 (20:03 +0000)]
Merge "Temporarily removed check for null requiredIds on SaveInfo builder."
Fyodor Kupolov [Thu, 16 Mar 2017 20:01:12 +0000 (13:01 -0700)]
Handle stopped users in onCleanupUser
This will also take care of the case when the user is removed.
Previously CE database wasn't closed after user was stopped.
Bug:
35988361
Test: Create u10 - switch - add account - switch to u0 - stop u10
Test: Create u10 - switch - add account - switch to u0 - remove u10
Change-Id: I6df61a8b1d00b28f2985d60861dd1b74e3e5942b
Calin Juravle [Tue, 14 Mar 2017 06:30:30 +0000 (23:30 -0700)]
Register secondary dex files for JIT profiling
Test: boot, and check that profiles get recorded for secondary dex files
Bug:
32871170
Bug:
26719109
Change-Id: I2de23ef44eee3f1783ae698821f1c6d88c66c9a6
Martijn Coenen [Thu, 16 Mar 2017 19:53:49 +0000 (19:53 +0000)]
Merge "Add HwParcel::releaseParcel()" am:
210b9afe64 am:
cea6624ffa
am:
388af9c9db
Change-Id: Idadca897d444807dbb037eee33d8485717ceaae3
Brad Ebinger [Thu, 16 Mar 2017 19:52:08 +0000 (19:52 +0000)]
Merge "Added configuration for VT downgrade/tear down when data disabled"
Martijn Coenen [Thu, 16 Mar 2017 19:48:10 +0000 (19:48 +0000)]
Merge "Add HwParcel::releaseParcel()" am:
210b9afe64
am:
cea6624ffa
Change-Id: I7c2fec857575342738f7b5d9d04a4d796c4e8fe5
Martijn Coenen [Thu, 16 Mar 2017 19:42:45 +0000 (19:42 +0000)]
Merge "Add HwParcel::releaseParcel()"
am:
210b9afe64
Change-Id: If08cb12187e9694144d5c07d9f6fcd67142b8af9
Felipe Leme [Thu, 16 Mar 2017 19:37:17 +0000 (12:37 -0700)]
Temporarily removed check for null requiredIds on SaveInfo builder.
Bug:
36076444
Test: manual verification
Change-Id: I8fc5ef537d229d9eda78d458a71d85ac69440c94
Martijn Coenen [Thu, 16 Mar 2017 19:35:56 +0000 (19:35 +0000)]
Merge "Add HwParcel::releaseParcel()"
Romain Guy [Thu, 16 Mar 2017 19:24:55 +0000 (12:24 -0700)]
Bowing my head in shame, going back to gamma interpolated gradients
Frankengradients (linearly interpolated RGB, gamma interpolated alpha) look
fantastic but unfortunately create sligh compatibility issues. For instance,
a gradient from 0xffea1030 to 0x00ea1030 (opaque to alpha, with a single
color) blended on top of 0xff101010 would not look the same as a single
opaque gradient from 0xffea1030 to 0xff101010. The difference is hardly
noticeable on simple gradients but it could cause confusion amongst app
developers. Their life is hard enough as it is, let's be good to them.
My crusade against the gamma world is not over and one day I shall
be the victor. I am patience.
Bug:
35485208
Test: UiRendering.ShaderTests, UiRendering.GradientTests, manual testing
Change-Id: I8204e60cdf0a6b12dfe22638d30ca9622687000e
Yifan Hong [Fri, 10 Mar 2017 21:41:11 +0000 (13:41 -0800)]
Start android.frameworks.sensorservice@1.0 in system_server
Bug:
35219747
Test: marlin boots
Test: lshal -ipm | grep android.frameworks.sensorservice@1.0
Change-Id: I67dfb217d1b568e140cefce0bdba3f8f4dbe679c
Robert Phillips [Thu, 16 Mar 2017 18:42:00 +0000 (14:42 -0400)]
Remove usage of deprecated makeImageSnapshot parameter
Test: Does it compile?
Change-Id: Ia51ad621daa3409f65b2f3e4d5691891271918a2
TreeHugger Robot [Thu, 16 Mar 2017 19:02:34 +0000 (19:02 +0000)]
Merge "Add TRON Events for app-ops permissions."
Craig Donner [Thu, 16 Mar 2017 00:10:50 +0000 (17:10 -0700)]
Add feature tag android.hardware.vr.headtracking.
Different versions of this feature specify different levels of
headtracking capability.
Bug:
36294374
Test: build
Change-Id: I00273c9093321661b5ca519d7cd065ae0105c3b2
TreeHugger Robot [Thu, 16 Mar 2017 18:29:24 +0000 (18:29 +0000)]
Merge "Allow non-fullscreen activities to set requested orientation."
TreeHugger Robot [Thu, 16 Mar 2017 18:22:28 +0000 (18:22 +0000)]
Merge "Ensuring that we remove the input consumer after moving expanded PiP"
Winson Chung [Wed, 15 Mar 2017 23:07:53 +0000 (16:07 -0700)]
Fixing issue with IME not showing after PiP menu is shown.
- Because the PiP menu activity needs to be always-focusable, it would
always be found as the input focus target even after the menu is
animated away. This CL ensures that main activity window is hidden
when the menu is also hidden so that we don't prevent the new focused
app windows from getting focus
- This also allows us to not finish the activity when accessibility is
enabled as the hidden window will not be reported to accessibility
services
Bug:
36225602
Test: Expand pip, tap on qsb
Change-Id: Ifa4f47ef25afc0ff73a9206e3c8bc45277d274f6
TreeHugger Robot [Thu, 16 Mar 2017 18:08:07 +0000 (18:08 +0000)]
Merge "Fix QS editing from lock screen"
Doris Liu [Thu, 16 Mar 2017 17:58:47 +0000 (10:58 -0700)]
Fix 0 duration scale for pre-O apps
This CL fixed an issue where pre-O apps receive animation
end callbacks before all animations have ended.
BUG:
36157561
Change-Id: Id0ea05e76c91a21a678ec05b1ed0c898ee36ee43
Workaround:
36241584
Test: repro steps in comment #1
Calin Juravle [Thu, 16 Mar 2017 17:59:28 +0000 (17:59 +0000)]
Merge "Set pm.BackgroundDexOptService as the source of true"
Martijn Coenen [Thu, 16 Mar 2017 17:46:42 +0000 (18:46 +0100)]
Add HwParcel::releaseParcel()
To be able to free native Parcel objects as soon
as a transaction is done.
Test: hidl_test_java
Bug:
36088202
Change-Id: I50b3eb7e9fe06958c64575923730d3467e73b9a5
TreeHugger Robot [Thu, 16 Mar 2017 17:41:40 +0000 (17:41 +0000)]
Merge "Improve dithering of alpha gradients"