Commit Graph

72924 Commits

Author SHA1 Message Date
Bryce Lee
4e0acc40f2 Merge "Limit creating new surface for legacy apps to size changes." into oc-dev am: d523125679 am: 80e1d8eb9a
am: 9a5595ef32

Change-Id: I7b59e572542449b54c835688cf8c9c0e2e5c74b0
2017-06-20 22:48:15 +00:00
TreeHugger Robot
31c8e08e9d Merge "Add 'bmgr' command to synchronously init transports" 2017-06-20 22:36:43 +00:00
Bryce Lee
9a5595ef32 Merge "Limit creating new surface for legacy apps to size changes." into oc-dev am: d523125679
am: 80e1d8eb9a

Change-Id: If075db13918bc53ac4f51c3159b16582b0740fbe
2017-06-20 22:33:19 +00:00
Bryce Lee
80e1d8eb9a Merge "Limit creating new surface for legacy apps to size changes." into oc-dev
am: d523125679

Change-Id: Ie1c199bbc721f282dc0de788d36481fef9530460
2017-06-20 22:17:39 +00:00
Bryce Lee
d523125679 Merge "Limit creating new surface for legacy apps to size changes." into oc-dev 2017-06-20 22:05:29 +00:00
Christopher Tate
924afe2b0f Add 'bmgr' command to synchronously init transports
bmgr init TRANSPORT [...]

will run an init operation on each named transport, blocking
until the operations have all completed.

Bug 62253989
Test: manual

Change-Id: I7dbd94293738d5ecf195764f5b28905253819791
2017-06-20 13:28:56 -07:00
Mathieu Chartier
1cd93b8f75 Merge "Disable activity leak detection by default for userdebug" into oc-dev am: 956ea5f09d am: 8d189593b8
am: 0681ebd58c

Change-Id: Ic0510ef945839d99ec27857b59e25d4e1cd8a911
2017-06-20 20:25:09 +00:00
Mathieu Chartier
0681ebd58c Merge "Disable activity leak detection by default for userdebug" into oc-dev am: 956ea5f09d
am: 8d189593b8

Change-Id: I8a24342b3c444072cc4cdcd8331fc7d78c804438
2017-06-20 20:12:04 +00:00
Mathieu Chartier
490bfbbc27 Merge "Disable activity leak detection by default for userdebug" into oc-dev
am: 956ea5f09d

Change-Id: I71d5feb7f558347ddb21dc53e7a7d5b9eda9db6d
2017-06-20 20:06:32 +00:00
Mathieu Chartier
8d189593b8 Merge "Disable activity leak detection by default for userdebug" into oc-dev
am: 956ea5f09d

Change-Id: Iadacd64e92c1963b2417bad96838ba2c128ec8cb
2017-06-20 20:05:29 +00:00
Mathieu Chartier
956ea5f09d Merge "Disable activity leak detection by default for userdebug" into oc-dev 2017-06-20 19:55:24 +00:00
Makoto Onuki
fc55d338ae Merge "Enhance recent sync log in dumpsys content" into oc-dr1-dev am: a014ce292a
am: cfa771ef01

Change-Id: Ie6a02be9d11bbb3b3f58696261b4c1277d30c5fa
2017-06-20 19:36:44 +00:00
Makoto Onuki
cfa771ef01 Merge "Enhance recent sync log in dumpsys content" into oc-dr1-dev
am: a014ce292a

Change-Id: I37135899d96cbd0eed2df224aef061d1f02857ec
2017-06-20 19:26:49 +00:00
Makoto Onuki
a014ce292a Merge "Enhance recent sync log in dumpsys content" into oc-dr1-dev 2017-06-20 19:20:09 +00:00
TreeHugger Robot
6d81ed4c34 Merge "Do not restore same autofill id twice" 2017-06-20 19:15:34 +00:00
TreeHugger Robot
8446a3005f Merge "Add support for ACTION_OUTSIDE to Dialog" 2017-06-20 18:08:10 +00:00
Bryce Lee
453fc364c3 Limit creating new surface for legacy apps to size changes.
Creating the surface for every change (such as creation and
visibility) can lead to issues swapping buffers. This
changelist limits the action to only when the size changes.

Change-Id: Ic549d244613a93a43a9f4ddf284bbfb0c13300fa
Fixes: 62801621
Test: follow repro steps in bug, verified no crash.
Test: go/wm-smoke
2017-06-20 10:47:55 -07:00
TreeHugger Robot
101ba665dd Merge "Document what ALL_PAGES returning from onWrite means" 2017-06-20 17:37:22 +00:00
Makoto Onuki
15e7a256e1 Enhance recent sync log in dumpsys content
- Add "Per Adapter History" section that has recent activities per adapter. Example:
  mxxxx@gmail.com/com.google u0 [com.android.calendar]
    2017-06-19 14:19:07 success Source=LOCAL Elapsed=0s Reason=10014 Extras=[upload=true ]
    2017-06-19 14:19:06 success Source=SERVER Elapsed=16s Reason=10014 Extras=[feed=#contacts@group.v.calendar.google.com ]
  mxxxx@gmail.com/com.google u0 [com.android.chrome]
    2017-06-19 13:26:25 canceled Source=POLL Elapsed=0s Reason=AccountsUpdated Extras=[initialize=true ]
  mxxxx@gmail.com/com.google u0 [com.android.contacts]

- Improve pending/periodic syncs with better formatting, and sort them in a sane order.

Bug: 38498544
Bug: 62391411
Test: manual test with "dumpsys content"
Change-Id: I947a9255230f27a7f438d648da324787fdf16f55
2017-06-20 17:14:06 +00:00
Philip P. Moltmann
cb79781356 Do not restore same autofill id twice
View's are restored based on their id. The autofill id is part of the
id's state. Unfortunately the ids of the view are not neccessary
unique. In this case two views would store state of for the same id.
Also two views would be restored frome the same state. This causes
duplicate autofill ids which is not allowed. Hence make sure that for a
single state, the autofill id is only restored once.

Change-Id: I8d950486cb21d9f6afe6d0f5f668799305ae73e7
Fixes: 62658714
Test: cts-tradefed run cts-dev -m CtsAutoFillServiceTestCases
2017-06-20 10:08:21 -07:00
Jonathan Solnit
30f4c97aaa Merge "Check for keyguard occlusion on camera lift" into oc-dr1-dev am: e07567cc0b
am: 9a0894b930

Change-Id: I1e4a944ff83e46978cc4d15175347d0a44019ae5
2017-06-20 16:36:49 +00:00
Yohei Yukawa
784989f06d Merge "Use TEXT_HANDLE_MOVE in TextView behind the flag" 2017-06-20 16:30:02 +00:00
Jonathan Solnit
9a0894b930 Merge "Check for keyguard occlusion on camera lift" into oc-dr1-dev
am: e07567cc0b

Change-Id: I75f221c9fe2d869e269b2ff375456041c973166b
2017-06-20 16:29:02 +00:00
Jonathan Solnit
e07567cc0b Merge "Check for keyguard occlusion on camera lift" into oc-dr1-dev 2017-06-20 16:24:28 +00:00
Philip P. Moltmann
9ae186e577 Merge "Correct lastId on onCreate with unexpected state" into oc-dev am: aed0c10d52
am: fd5c4dd477

Change-Id: Iae8f67a95e708d53a57c0e5f443c7387670e5721
2017-06-20 15:55:46 +00:00
Philip P. Moltmann
fd5c4dd477 Merge "Correct lastId on onCreate with unexpected state" into oc-dev
am: aed0c10d52

Change-Id: I2197920ee7d6483276473129e74fd9527162dc0a
2017-06-20 15:48:54 +00:00
Philip P. Moltmann
d1942b3abe Merge "Correct lastId on onCreate with unexpected state" into oc-dev
am: aed0c10d52

Change-Id: I821aba22236152a8a0230a0db7a3710ad7731d12
2017-06-20 15:48:50 +00:00
Philip P. Moltmann
aed0c10d52 Merge "Correct lastId on onCreate with unexpected state" into oc-dev 2017-06-20 15:42:17 +00:00
Michael Wright
ddec8fb43c Add support for ACTION_OUTSIDE to Dialog
Historically, Dialogs expected to be fullscreen in order to know when to
close.  By adding support for ACTION_OUTSIDE, they can now close when
the user touches outside of them without actually having to be
fullscreen

Bug: 62373955
Test: cts-tradefed run commandAndExit cts-dev \
      -m CtsAutoFillServiceTestCases -t \
      android.autofillservice.cts.LoginActivityTest#testSaveGoesAwayWhenTouchingOutside
Change-Id: I9cd2afc093ee6f252aaf6c23c029059584879004
2017-06-20 14:15:48 +00:00
Hugo Benichi
c649a9978a Merge changes I4d2be5d9,I34706201 into oc-dr1-dev
* changes:
  Better errors from unregisterNetworkCallback
  CaptivePortalLogin correctly unregisters callbacks
2017-06-20 08:38:33 +00:00
Hugo Benichi
32790c9af5 Merge "Better errors from unregisterNetworkCallback" am: 04e89ad631 am: ca6ebb0f39 am: 6531ea25cd
am: 6210be1000

Change-Id: Ifeb8f83e9db3b7950d2d3ca533ca863823442a78
2017-06-20 05:33:36 +00:00
Hugo Benichi
6210be1000 Merge "Better errors from unregisterNetworkCallback" am: 04e89ad631 am: ca6ebb0f39
am: 6531ea25cd

Change-Id: Ia959388c875c22e56f5f2867f33a7329ce4b3535
2017-06-20 05:26:40 +00:00
Hugo Benichi
6531ea25cd Merge "Better errors from unregisterNetworkCallback" am: 04e89ad631
am: ca6ebb0f39

Change-Id: Ib380ee7c3fc85db353682ee7abfe97842eaeeb29
2017-06-20 05:19:46 +00:00
Hugo Benichi
04e89ad631 Merge "Better errors from unregisterNetworkCallback" 2017-06-20 05:03:24 +00:00
Nate Fischer
5c937a4b6a Merge "Add WebViewClient#onSafeBrowsingHit() API" 2017-06-20 03:01:39 +00:00
Mathieu Chartier
ca8c1051ed Disable activity leak detection by default for userdebug
Causes too many GCs and related slowdowns.
Verified that assistant launch from holding down home button is now
faster than N.

Test: make and flash
Bug: 62769566

Change-Id: Ib0c1f7a45831b241d3376d1e56db3c6937913b1b
2017-06-20 02:51:31 +00:00
Jakub Pawlowski
50bad313e4 Merge "Remove legacy advertiser from map after it's no longer used" into oc-dev
am: 271e0aa02a

Change-Id: I9e8645c808d1b1cbee242e8a953be93fbf71e4e1
2017-06-20 01:47:01 +00:00
TreeHugger Robot
271e0aa02a Merge "Remove legacy advertiser from map after it's no longer used" into oc-dev 2017-06-20 01:38:42 +00:00
Yohei Yukawa
c9cd9db4bb Use TEXT_HANDLE_MOVE in TextView behind the flag
This CL enables TextView to trigger
HapticFeedbackConstants.TEXT_HANDLE_MOVE on devices that explicitly
enable this feature with resource overlay.  This CL should have no
behavior change and no performance impact by default.

Since the use case of HapticFeedbackConstants.TEXT_HANDLE_MOVE is
when the user is manually moving the text insertion/selection handle
on the touch screen, it is intentional that text handle move
triggered by hardware keyboard, mouse, TextView APIs, IME APIs, and
any other internal API calls do not trigger the haptic feedback
even if the feature is enabled with resource overlay.

Bug: 62454887
Test: Manually done as follows.
  * Not triggered on cursor move by mouse
  * Not triggered on cursor move by hardware keyboard
  * Not triggered on cursor move by IME
  * Triggered on cursor move by touch screen
Change-Id: I5e78aafb065378ca88ba39ec507b121c8baa3631
2017-06-19 18:27:34 -07:00
Adam Lesinski
3daa24ac14 Merge "Fix potential race in Theme creation" into oc-dev am: b0a5fd0384 am: 185285592f
am: 4c07134a32

Change-Id: I425a1f59b1f08cee1afaa5f5ba1394deb6bb3b23
2017-06-20 01:23:49 +00:00
Adam Lesinski
4c07134a32 Merge "Fix potential race in Theme creation" into oc-dev am: b0a5fd0384
am: 185285592f

Change-Id: I080662459cbf6eeca9c4d6e4e80459efcbf83258
2017-06-20 01:17:49 +00:00
Adam Lesinski
cfedad3c2f Merge "Fix potential race in Theme creation" into oc-dev
am: b0a5fd0384

Change-Id: I9044d46d68f7fcb471f584d75225137c3b6f171b
2017-06-20 01:11:20 +00:00
Adam Lesinski
185285592f Merge "Fix potential race in Theme creation" into oc-dev
am: b0a5fd0384

Change-Id: I964d23b0daad2326989ece5f8ffc086b6286cb44
2017-06-20 01:11:19 +00:00
Adam Lesinski
b0a5fd0384 Merge "Fix potential race in Theme creation" into oc-dev 2017-06-20 01:07:11 +00:00
Hugo Benichi
9c2acc1760 Better errors from unregisterNetworkCallback
This patch changes the validation of unregisterNetworkCallback in
ConnectivityManager so that the caller can better distinguish the case
of a callback that was never registered from the case of a callback that
has already been unregistered.

Bug: 62497809
Test: runtest frameworks-net passes
Merged-In: I58eda22725dd4e67dc4b64207e38cf482032df10

(cherry picked from commit 605b295011)

Change-Id: I4d2be5d9037cfec03218b702d707f50808ee0694
2017-06-20 10:06:44 +09:00
Felipe Leme
d10a1a372f Merge "Fixed updateAutofillValue() when mText is not set." into oc-dev am: 4eaba84065 am: b7e80c9350
am: 26474a4043

Change-Id: I7180414c0296c45852c63710021d8edc8ee11e83
2017-06-20 00:48:15 +00:00
Felipe Leme
26474a4043 Merge "Fixed updateAutofillValue() when mText is not set." into oc-dev am: 4eaba84065
am: b7e80c9350

Change-Id: Ib6724e4d13dc9a0e29605513addd7c2f1591c3cc
2017-06-20 00:40:26 +00:00
Felipe Leme
51ed7f4e6b Merge "Fixed updateAutofillValue() when mText is not set." into oc-dev
am: 4eaba84065

Change-Id: I7603a791f8c149799a0adf9e0fe735483ce1be1a
2017-06-20 00:36:12 +00:00
Felipe Leme
b7e80c9350 Merge "Fixed updateAutofillValue() when mText is not set." into oc-dev
am: 4eaba84065

Change-Id: Ia00eb87f13de85ee652aa5cbab290dd98d817399
2017-06-20 00:34:31 +00:00
TreeHugger Robot
4eaba84065 Merge "Fixed updateAutofillValue() when mText is not set." into oc-dev 2017-06-20 00:27:37 +00:00