Commit Graph

326561 Commits

Author SHA1 Message Date
Felipe Leme
5013f9feb2 Ignore dispatchProvideStructureForAutofill() when layout is being updated.
View already checks if its layout is being updated when calling
notifyEnterOrExitForAutoFillIfNeeded(), but that doesn't prevent apps crashing
when the autofill process was triggered by another view.

Test: existing CtsAutoFillServiceTestCases pass
Fixes: 38198484

change-Id: I8e9435ddc4cf21fb648d39aace93f3af0e1fdf4f
2017-06-08 18:45:11 -07:00
Romain Guy
8ab1b6f8bc Fix CTS : BitmapRGBAF16Test#testSetPixel failure
Don't grab a pointer to a temporary object on the stack!

Bug: 62458021
Test: CtsGraphicsTestCase
Change-Id: Ic9662e76c9064b3f3af6f8a4534d2ef56f9c5eea
2017-06-08 18:24:25 -07:00
Adrian Roos
ed9d7e2c98 Merge "AOD: Move clock to prevent burn in" into oc-dr1-dev
am: 63f23f8dd7

Change-Id: Idfe377248ce22f16da0801111706fe936cf1cd8d
2017-06-09 00:44:30 +00:00
Adrian Roos
63f23f8dd7 Merge "AOD: Move clock to prevent burn in" into oc-dr1-dev 2017-06-09 00:38:42 +00:00
Svetoslav Ganov
2ee821b675 Protect autofill UI against redressing
Test: LoginActivityTest#testAutoFillOneDatasetAndSaveHidingOverlays

bug:62357517

Change-Id: Idcac67e1013178ba6c0d83994d49f8b485b2d334
2017-06-08 17:22:49 -07:00
Jorim Jaggi
34a0cdb98e Properly run window animations at vsync-sf (1/2)
- Add new Choreographer instance that runs on vsync-sf
- Use this new Choreographer for WindowAnimator, and remove all
the hacks around it

Test: Open apps and close apps, notice no stutter
Test: Screen zoom animations
Test: go/wm-smoke
Bug: 36631902
Change-Id: I988ae25645effc3ac20efa7cb9b68f23444da0d0
2017-06-08 17:22:43 -07:00
Siyamed Sinir
484c2e2fbe Force Autofill in FloatingToolbar overflow menu
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
bit CtsWidgetTestCases:android.widget.cts.EditTextTest

Bug: 62271937
Change-Id: Ib3447281f3bd1abc811a25fc55ad55e34e155bbb
2017-06-08 17:16:26 -07:00
Android Build Merger (Role)
c7f3ea7f6c Merge "Merge "Bluetooth: fix connectGatt overload invocations" into oc-dev am: 556b10a4e6 am: 25278b0197" into oc-dr1-dev-plus-aosp 2017-06-09 00:12:30 +00:00
Jakub Pawlowski
639e871375 Merge "Bluetooth: fix connectGatt overload invocations" into oc-dev am: 556b10a4e6
am: 25278b0197

Change-Id: I5b560a7ff1036068c58e0bb0da1e43c0f7c56106
2017-06-09 00:11:17 +00:00
Jakub Pawlowski
b203d8cad2 Merge "Bluetooth: fix connectGatt overload invocations" into oc-dev am: 556b10a4e6
am: 232108bafb

Change-Id: I859c30a21d87dac7b58b483a4469e9627e14cc55
2017-06-09 00:09:19 +00:00
Jakub Pawlowski
25278b0197 Merge "Bluetooth: fix connectGatt overload invocations" into oc-dev
am: 556b10a4e6

Change-Id: I9477ac6e3990a4e2db4a8254f11702b1557591f3
2017-06-09 00:03:31 +00:00
Jakub Pawlowski
232108bafb Merge "Bluetooth: fix connectGatt overload invocations" into oc-dev
am: 556b10a4e6

Change-Id: I92c46f849d80794d6c658b4ec0cfd071bf89a7bf
2017-06-09 00:01:44 +00:00
Matthew Ng
14e2bc32ed Merge "Merge "Fixes the animation and state when docking a task by drag" into oc-dev am: 008e620153" into oc-dev-plus-aosp
am: ccf45069c0

Change-Id: Ib2ae2bfeb84e999696a04ea2ffdee93872564edf
2017-06-08 23:52:51 +00:00
Wale Ogunwale
4cd3f5c519 Fix deadlock when create alert window notification
Don't hold WM lock when calling into notification manager which
can call into activity manager.

Test: Make sure alert window notification is displayed
Change-Id: Id8831878093f8079f815a830ff8acdfad99d48cb
Fixes: 62458061
2017-06-08 16:51:48 -07:00
Jakub Pawlowski
556b10a4e6 Merge "Bluetooth: fix connectGatt overload invocations" into oc-dev 2017-06-08 23:51:27 +00:00
Matthew Ng
7f40766c25 Merge "Fixes the animation and state when docking a task by drag" into oc-dev am: 008e620153
am: 71e5f8f64d

Change-Id: I5cc1c3d12ae1475d81bf6cb6ae6fff529a30839d
2017-06-08 23:48:34 +00:00
Android Build Merger (Role)
ccf45069c0 Merge "Merge "Fixes the animation and state when docking a task by drag" into oc-dev am: 008e620153" into oc-dev-plus-aosp 2017-06-08 23:44:45 +00:00
Matthew Ng
5305c575c7 Merge "Fixes the animation and state when docking a task by drag" into oc-dev
am: 008e620153

Change-Id: If6a7101ba7055e23562b87195f35f1e068048389
2017-06-08 23:43:49 +00:00
Android Build Merger (Role)
338e84793b Merge "Merge "Fixes the animation and state when docking a task by drag" into oc-dev am: 008e620153 am: afa235e444" into oc-dr1-dev-plus-aosp 2017-06-08 23:34:33 +00:00
Matthew Ng
86113d9f37 Merge "Fixes the animation and state when docking a task by drag" into oc-dev am: 008e620153
am: afa235e444

Change-Id: I7644257bc94951f9e918aae009431a8ad0cf0de4
2017-06-08 23:33:39 +00:00
Matthew Ng
71e5f8f64d Merge "Fixes the animation and state when docking a task by drag" into oc-dev
am: 008e620153

Change-Id: If1947aac627b92213202b22b721a397492173508
2017-06-08 23:31:02 +00:00
Bill Yi
333a0747a1 Merge "Import translations. DO NOT MERGE" into oc-dev am: dd5886bc5b -s ours
am: 71713e846c  -s ours

Change-Id: I602a57140ca17d6a15cac0a39b5565e8657fc12f
2017-06-08 23:30:52 +00:00
Bookatz
17d7d9dcdf Batterystats logs smeared power model values
Fixes: 62302932
Test: cts-tradefed run cts-dev -m CtsDumpsysHostTestCases -t android.dumpsys.cts.BatteryStatsDumpsysTest
Change-Id: I8942aa9bc557fada4cf0be76aee6bd0bcee9ebb6
2017-06-08 23:29:13 +00:00
Matthew Ng
afa235e444 Merge "Fixes the animation and state when docking a task by drag" into oc-dev
am: 008e620153

Change-Id: Id626a44a564ae0811338bb04c3c6efb698d07b37
2017-06-08 23:25:36 +00:00
Android Build Merger (Role)
49bd4748e3 Merge "Merge "Import translations. DO NOT MERGE" into oc-dev am: dd5886bc5b -s ours am: 4ec78fa17b -s ours" into oc-dr1-dev-plus-aosp 2017-06-08 23:25:26 +00:00
Bill Yi
4ac28e513f Merge "Import translations. DO NOT MERGE" into oc-dev am: dd5886bc5b -s ours
am: 4ec78fa17b  -s ours

Change-Id: I859e5d2bbdc071565c6be82e8353e9bc18141c86
2017-06-08 23:24:17 +00:00
Android Build Merger (Role)
748604c1ab Merge "Merge "Import translations. DO NOT MERGE" into oc-dev am: 67a947b636 -s ours am: 95657195ca -s ours" into oc-dr1-dev-plus-aosp 2017-06-08 23:23:58 +00:00
Jason Monk
98bf8ba30c Add notification listener plugin hook
Allows plugin control over notifications right at the entrance
to sysui and gives them the opportunity to mess with them how
they see fit.

Test: manual
Change-Id: I569bf37138da66d0524acecfa36ceb409f98fbb4
2017-06-08 19:23:11 -04:00
Bill Yi
71713e846c Merge "Import translations. DO NOT MERGE" into oc-dev
am: dd5886bc5b  -s ours

Change-Id: I99f7800bccdd03503185c593f86c1daab328c7f5
2017-06-08 23:23:02 +00:00
Bill Yi
355ce9eb98 Merge "Import translations. DO NOT MERGE" into oc-dev am: 67a947b636 -s ours
am: 3183fb75ac  -s ours

Change-Id: Ia39368e2fdcaeabe757a02b740ea9a1dab6eb653
2017-06-08 23:21:33 +00:00
Bill Yi
f1e34e98f9 Merge "Import translations. DO NOT MERGE" into oc-dev am: 67a947b636 -s ours
am: 95657195ca  -s ours

Change-Id: I46e87727da55349410a0ef208a4dac8ae41c2aa5
2017-06-08 23:21:30 +00:00
TreeHugger Robot
008e620153 Merge "Fixes the animation and state when docking a task by drag" into oc-dev 2017-06-08 23:21:11 +00:00
Bill Yi
4ec78fa17b Merge "Import translations. DO NOT MERGE" into oc-dev
am: dd5886bc5b  -s ours

Change-Id: I62a7f882d68c02075e41e2c9da475a75af113b0f
2017-06-08 23:15:04 +00:00
Bill Yi
3183fb75ac Merge "Import translations. DO NOT MERGE" into oc-dev
am: 67a947b636  -s ours

Change-Id: I87e77b18f173d20154743daf5e735bf72bfc685f
2017-06-08 23:14:52 +00:00
Bill Yi
95657195ca Merge "Import translations. DO NOT MERGE" into oc-dev
am: 67a947b636  -s ours

Change-Id: If19e88be06d1d63955c7213c95dff59056a86c88
2017-06-08 23:12:30 +00:00
Bill Yi
dd5886bc5b Merge "Import translations. DO NOT MERGE" into oc-dev 2017-06-08 23:04:57 +00:00
Bill Yi
67a947b636 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-06-08 23:04:00 +00:00
Jorim Jaggi
245281c056 Boost android.anim and wm lock sections to -10 during transition
-4 is not enough if we have to compete against RT and main thread
from top app that have -10. Boost it more during app transitions

Test: Inspect systrace, make sure priorities are right, including
getting reset after the transition.
Test: Open Chrome 100x
Test: go/wm-smoke

Change-Id: Id6b060b8aafded67b4bae61b6e8960e37976b096
Fixes: 36631902
2017-06-08 15:57:44 -07:00
Jordan Liu
e5c7420f45 Add IApnSourceService.aidl
This service is bound to by TelephonyProvider on devices where we don't
use the apns-conf.xml file.

Bug: 37283190
Test: manual
Change-Id: I16da1c5acc5ba1fe0237cc0d37c73d831c2d1508
Merged-In: I16da1c5acc5ba1fe0237cc0d37c73d831c2d1508
2017-06-08 15:56:38 -07:00
Android Build Merger (Role)
ac1e953b78 Merge "Merge "Import translations. DO NOT MERGE" into oc-dev am: 75b5199e9d -s ours am: 5679e1cc6e -s ours" into oc-dr1-dev-plus-aosp 2017-06-08 22:53:21 +00:00
Bill Yi
01d103e684 Merge "Import translations. DO NOT MERGE" into oc-dev am: 75b5199e9d -s ours
am: 5679e1cc6e  -s ours

Change-Id: I62d5eaf20549840c1a4adab9f247b292e3505159
2017-06-08 22:52:21 +00:00
Bill Yi
7891c6111a Merge "Import translations. DO NOT MERGE" into oc-dev am: 75b5199e9d -s ours
am: 041f0dce8a  -s ours

Change-Id: Ic242af69e818aefb95a3b889294fb45240432a33
2017-06-08 22:49:33 +00:00
Bill Yi
5679e1cc6e Merge "Import translations. DO NOT MERGE" into oc-dev
am: 75b5199e9d  -s ours

Change-Id: I3393f85819b8ed0fec35cfa0cbea0899141d73dc
2017-06-08 22:45:15 +00:00
Bill Yi
041f0dce8a Merge "Import translations. DO NOT MERGE" into oc-dev
am: 75b5199e9d  -s ours

Change-Id: Ic7b1e9095cf413bd0401bd8d3cdfc469dd915988
2017-06-08 22:41:45 +00:00
Bill Yi
75b5199e9d Merge "Import translations. DO NOT MERGE" into oc-dev 2017-06-08 22:34:40 +00:00
jackqdyulei
5dad8068e2 Copy smearing method to BatteryStatsHelper
This cl adds the following data in BatterySipper
1. screenPowerMah: power smeared by screen
2. proportionalSmearMah: power need to smeared proportionally
3. displayPowerMah: smeared power usage

This cl also copies bunch of methods from BatteryUtils to
BatteryStatsHelper with minor changes, so we could log smearing
logic in BatteryStatsHelper

Bug: 62300864
Test: runtest -x BatteryStatsHelperTest
Change-Id: I9f92f5c1ac5fa483d0c15a3d5daad570da68a7ff
Merged-In: I9f92f5c1ac5fa483d0c15a3d5daad570da68a7ff
2017-06-08 15:10:34 -07:00
Mathieu Chartier
e4f07b2cb6 Merge "Add system property for hot startup method threshold" am: a370159592 am: 187b15bbd5
am: abb7782a4e

Change-Id: I0122af5a47614972dd5ba696f8a22bcae2625a1c
2017-06-08 22:06:08 +00:00
Mathieu Chartier
abb7782a4e Merge "Add system property for hot startup method threshold" am: a370159592
am: 187b15bbd5

Change-Id: Id56adbe39e8a81ef12c4b9d8fdcf65c94a316d6f
2017-06-08 22:00:09 +00:00
Mathieu Chartier
187b15bbd5 Merge "Add system property for hot startup method threshold"
am: a370159592

Change-Id: I271cf74364b7b9c2d16282ef6a9ab24b6d243e1e
2017-06-08 21:54:22 +00:00
Mathieu Chartier
a370159592 Merge "Add system property for hot startup method threshold" 2017-06-08 21:44:08 +00:00