OSDN Git Service

android-x86/frameworks-base.git
7 years agoConnectivityServiceTest: remove remaining poll loops. am: d2706127d0 am: 54e9050710...
Lorenzo Colitti [Wed, 1 Feb 2017 03:18:46 +0000 (03:18 +0000)]
ConnectivityServiceTest: remove remaining poll loops. am: d2706127d0 am: 54e9050710 am: 67d6d41954
am: 6e7f7dc643

Change-Id: Idc5d60f9ed5fbbb39256b9983a5b292a0302b2f1

7 years agoRename AvoidBadWifiTracker to MultinetworkPolicyTracker am: 58ebe1c6f1 am: 0bc8070fce...
Lorenzo Colitti [Wed, 1 Feb 2017 03:17:19 +0000 (03:17 +0000)]
Rename AvoidBadWifiTracker to MultinetworkPolicyTracker am: 58ebe1c6f1 am: 0bc8070fce am: 338241de94
am: d526434f05

Change-Id: I5aefc453c022286e6ee2332a53e6c9f36472e9a5

7 years agoAttempt to make waitForIdleHandler reliable. am: ae3ce81cc3 am: 8780a8afeb am: 943808385a
Lorenzo Colitti [Wed, 1 Feb 2017 03:16:18 +0000 (03:16 +0000)]
Attempt to make waitForIdleHandler reliable. am: ae3ce81cc3 am: 8780a8afeb am: 943808385a
am: 8e3718459b

Change-Id: Ia2d7a4405ce60ca99b1ee6c80c0babf93983cf64

7 years agoMerge "Finish stopping activities if requested"
Andrii Kulian [Wed, 1 Feb 2017 03:07:43 +0000 (03:07 +0000)]
Merge "Finish stopping activities if requested"

7 years agoConnectivityServiceTest: remove remaining poll loops. am: d2706127d0 am: 54e9050710
Lorenzo Colitti [Wed, 1 Feb 2017 03:01:52 +0000 (03:01 +0000)]
ConnectivityServiceTest: remove remaining poll loops. am: d2706127d0 am: 54e9050710
am: 67d6d41954

Change-Id: I31681e1248721704a9b792962a2ef5955e375e93

7 years agoRemove assertEventuallyTrue as it's unnecessary. am: 30145d755c am: 90a70cac26
Lorenzo Colitti [Wed, 1 Feb 2017 03:00:41 +0000 (03:00 +0000)]
Remove assertEventuallyTrue as it's unnecessary. am: 30145d755c am: 90a70cac26
am: 90babed246

Change-Id: Ib16f54aeaa783a6e26a9d80e61388cbd9ecd9bd3

7 years agoRename AvoidBadWifiTracker to MultinetworkPolicyTracker am: 58ebe1c6f1 am: 0bc8070fce
Lorenzo Colitti [Wed, 1 Feb 2017 02:59:42 +0000 (02:59 +0000)]
Rename AvoidBadWifiTracker to MultinetworkPolicyTracker am: 58ebe1c6f1 am: 0bc8070fce
am: 338241de94

Change-Id: I91f1338f3488cfc60eef0c2147aa7b1d61107cdd

7 years agoAttempt to make waitForIdleHandler reliable. am: ae3ce81cc3 am: 8780a8afeb
Lorenzo Colitti [Wed, 1 Feb 2017 02:58:24 +0000 (02:58 +0000)]
Attempt to make waitForIdleHandler reliable. am: ae3ce81cc3 am: 8780a8afeb
am: 943808385a

Change-Id: I2369fbd693b467283232f47703fd471c8ff60c1f

7 years agoMerge "Revert "Revert "Remove getAppsUsingPermisisons"""
TreeHugger Robot [Wed, 1 Feb 2017 02:57:17 +0000 (02:57 +0000)]
Merge "Revert "Revert "Remove getAppsUsingPermisisons"""

7 years agoConnectivityServiceTest: remove remaining poll loops. am: d2706127d0
Lorenzo Colitti [Wed, 1 Feb 2017 02:49:23 +0000 (02:49 +0000)]
ConnectivityServiceTest: remove remaining poll loops. am: d2706127d0
am: 54e9050710

Change-Id: I06815166fe9ab4b7d6ab580a9eda5304067f9f91

7 years agoRemove assertEventuallyTrue as it's unnecessary. am: 30145d755c
Lorenzo Colitti [Wed, 1 Feb 2017 02:48:10 +0000 (02:48 +0000)]
Remove assertEventuallyTrue as it's unnecessary. am: 30145d755c
am: 90a70cac26

Change-Id: I7f6d543a3d05b0b165adc7a7c3938c7081c3f778

7 years agoRename AvoidBadWifiTracker to MultinetworkPolicyTracker am: 58ebe1c6f1
Lorenzo Colitti [Wed, 1 Feb 2017 02:47:16 +0000 (02:47 +0000)]
Rename AvoidBadWifiTracker to MultinetworkPolicyTracker am: 58ebe1c6f1
am: 0bc8070fce

Change-Id: I0ff0169ebc5e53cc9f57f224225fb0c93dc241ed

7 years agoAttempt to make waitForIdleHandler reliable. am: ae3ce81cc3
Lorenzo Colitti [Wed, 1 Feb 2017 02:45:55 +0000 (02:45 +0000)]
Attempt to make waitForIdleHandler reliable. am: ae3ce81cc3
am: 8780a8afeb

Change-Id: I72c03d3686858631aefdf96e13e8033f27788f8c

7 years agoConnectivityServiceTest: remove remaining poll loops.
Lorenzo Colitti [Wed, 1 Feb 2017 02:39:30 +0000 (02:39 +0000)]
ConnectivityServiceTest: remove remaining poll loops.
am: d2706127d0

Change-Id: I675096683c8ed4bc0e540491c0ff6aa828114313

7 years agoRemove assertEventuallyTrue as it's unnecessary.
Lorenzo Colitti [Wed, 1 Feb 2017 02:38:30 +0000 (02:38 +0000)]
Remove assertEventuallyTrue as it's unnecessary.
am: 30145d755c

Change-Id: Id574b27b40e35fbccac49910867e9735c03118d4

7 years agoRename AvoidBadWifiTracker to MultinetworkPolicyTracker
Lorenzo Colitti [Wed, 1 Feb 2017 02:37:31 +0000 (02:37 +0000)]
Rename AvoidBadWifiTracker to MultinetworkPolicyTracker
am: 58ebe1c6f1

Change-Id: I7615c9128deed7011eb9ab6f2efdcfe2e237a1a5

7 years agoAttempt to make waitForIdleHandler reliable.
Lorenzo Colitti [Wed, 1 Feb 2017 02:36:22 +0000 (02:36 +0000)]
Attempt to make waitForIdleHandler reliable.
am: ae3ce81cc3

Change-Id: Id7e23c3a2c885ff239efa577a8d366d3df6ca9a2

7 years agoMerge "Remove unused files"
TreeHugger Robot [Wed, 1 Feb 2017 02:04:13 +0000 (02:04 +0000)]
Merge "Remove unused files"

7 years agoMerge "Accessibility can capture fingerprint gestures"
Phil Weaver [Wed, 1 Feb 2017 02:01:39 +0000 (02:01 +0000)]
Merge "Accessibility can capture fingerprint gestures"

7 years agoMerge "Post runnables instead of sending messages." am: 71317f4a6c am: 71a4792147...
Jeremy Joslin [Wed, 1 Feb 2017 01:53:28 +0000 (01:53 +0000)]
Merge "Post runnables instead of sending messages." am: 71317f4a6c am: 71a4792147 am: 31669e8924
am: 28f9de475f

Change-Id: I6f2774e0efd7cfcabb49db25614bac99bfdb1b30

7 years agoMerge "Post runnables instead of sending messages." am: 71317f4a6c am: 71a4792147
Jeremy Joslin [Wed, 1 Feb 2017 01:48:05 +0000 (01:48 +0000)]
Merge "Post runnables instead of sending messages." am: 71317f4a6c am: 71a4792147
am: 31669e8924

Change-Id: Ia7937ea6d29924e1b717430e8330d81e3f7ee9e3

7 years agoMerge "Post runnables instead of sending messages." am: 71317f4a6c
Jeremy Joslin [Wed, 1 Feb 2017 01:40:58 +0000 (01:40 +0000)]
Merge "Post runnables instead of sending messages." am: 71317f4a6c
am: 71a4792147

Change-Id: Idff8f071f316942e8b520c913e96d3eb8b44227d

7 years agoMerge "Post runnables instead of sending messages."
Jeremy Joslin [Wed, 1 Feb 2017 01:34:16 +0000 (01:34 +0000)]
Merge "Post runnables instead of sending messages."
am: 71317f4a6c

Change-Id: I13cb1fd38262f869b99245678c89f45b834210c8

7 years agoMerge "Fragment grab bag!"
TreeHugger Robot [Wed, 1 Feb 2017 01:32:30 +0000 (01:32 +0000)]
Merge "Fragment grab bag!"

7 years agoMerge "Post runnables instead of sending messages."
Treehugger Robot [Wed, 1 Feb 2017 01:26:04 +0000 (01:26 +0000)]
Merge "Post runnables instead of sending messages."

7 years agoMerge "Camera: Fix the document on createCaptureSession error"
TreeHugger Robot [Wed, 1 Feb 2017 01:21:48 +0000 (01:21 +0000)]
Merge "Camera: Fix the document on createCaptureSession error"

7 years agoMerge "Fixed an issue where heads-upped notifications would stay" into nyc-mr2-dev...
Selim Cinek [Wed, 1 Feb 2017 01:11:52 +0000 (01:11 +0000)]
Merge "Fixed an issue where heads-upped notifications would stay" into nyc-mr2-dev am: e89a950b8b
am: ac0d22f4ce  -s ours

Change-Id: Iee2e3512eb816ec9865038ffc918b698d38c30fc

7 years agoFixed an issue where heads-upped notifications would stay am: 23301afb8e
Selim Cinek [Wed, 1 Feb 2017 01:10:25 +0000 (01:10 +0000)]
Fixed an issue where heads-upped notifications would stay am: 23301afb8e
am: 2bc30ead52  -s ours

Change-Id: I42f565b8fb4019c7cb27faae3d7d3757bd7b2d92

7 years agoMerge "API change for: Revive CONTACTS_DATABASE_CREATED, and..."
Makoto Onuki [Wed, 1 Feb 2017 01:04:03 +0000 (01:04 +0000)]
Merge "API change for: Revive CONTACTS_DATABASE_CREATED, and..."

7 years agoMerge "Fixed an issue where heads-upped notifications would stay" into nyc-mr2-dev
Selim Cinek [Wed, 1 Feb 2017 01:02:07 +0000 (01:02 +0000)]
Merge "Fixed an issue where heads-upped notifications would stay" into nyc-mr2-dev
am: e89a950b8b

Change-Id: Ic671da92251b3058e8f13395bebf7a44f3dc0cc3

7 years agoFixed an issue where heads-upped notifications would stay
Selim Cinek [Wed, 1 Feb 2017 01:01:59 +0000 (01:01 +0000)]
Fixed an issue where heads-upped notifications would stay
am: 23301afb8e

Change-Id: I04e8cf3ba5a0f44390c53867a43dacd22812da4e

7 years agoRevert "Revert "Remove getAppsUsingPermisisons""
vinodkrishnan [Wed, 1 Feb 2017 00:37:36 +0000 (00:37 +0000)]
Revert "Revert "Remove getAppsUsingPermisisons""

This reverts commit a69c99fbc73fd092ba42b797d691f456dc1df1ef.

Change-Id: I524a56ae3cd0d1a9dbd0e54fd7e57f09ed0b87f9

7 years agoMerge "Fixed an issue where heads-upped notifications would stay" into nyc-mr2-dev
Selim Cinek [Wed, 1 Feb 2017 00:52:08 +0000 (00:52 +0000)]
Merge "Fixed an issue where heads-upped notifications would stay" into nyc-mr2-dev

7 years agoMerge "Fixed an issue where heads-upped notifications would stay"
Selim Cinek [Wed, 1 Feb 2017 00:21:01 +0000 (00:21 +0000)]
Merge "Fixed an issue where heads-upped notifications would stay"

7 years agoRemove unused files
Jason Monk [Wed, 1 Feb 2017 00:17:01 +0000 (19:17 -0500)]
Remove unused files

Test: make
Fixes: 34846431
Change-Id: Ia41e1c262c3f9bc8b96af9d6670176d9432959a7

7 years agoFixed an issue where heads-upped notifications would stay
Selim Cinek [Tue, 31 Jan 2017 22:37:14 +0000 (14:37 -0800)]
Fixed an issue where heads-upped notifications would stay

If a heads up notification was briefly removed right after
it was added it could linger around in systemUI until
the panel collapsed.
We need to make sure not to apply this improvement if
reordering isn't allowed, otherwise it will never time out

Test: existing tests pass
Bug: 34608075
Merged-In: I7768f6111ada30edcb997a42940e5e336efe1cf2
Change-Id: I7768f6111ada30edcb997a42940e5e336efe1cf2

7 years agoMerge "run webview preparation in separate thread"
TreeHugger Robot [Wed, 1 Feb 2017 00:11:10 +0000 (00:11 +0000)]
Merge "run webview preparation in separate thread"

7 years agoMerge "Ignore auto-fill requests from system."
TreeHugger Robot [Tue, 31 Jan 2017 23:51:22 +0000 (23:51 +0000)]
Merge "Ignore auto-fill requests from system."

7 years agoMerge "Fix PiP animation errors introduced in crop refactoring."
TreeHugger Robot [Tue, 31 Jan 2017 23:50:49 +0000 (23:50 +0000)]
Merge "Fix PiP animation errors introduced in crop refactoring."

7 years agoMerge "2D Recents: Keep nav bar hidden from transition thumbnail" into nyc-mr2-dev...
Manu Cornet [Tue, 31 Jan 2017 23:44:06 +0000 (23:44 +0000)]
Merge "2D Recents: Keep nav bar hidden from transition thumbnail" into nyc-mr2-dev am: 57071e8025
am: ccef634c7d

Change-Id: I425dea22c2c1351c6b091769f4bb3fdc8d3596b2

7 years ago2D Recents: Keep nav bar hidden from transition thumbnail am: b68b765cbf
Manu Cornet [Tue, 31 Jan 2017 23:42:37 +0000 (23:42 +0000)]
2D Recents: Keep nav bar hidden from transition thumbnail am: b68b765cbf
am: c1a87f88ae

Change-Id: I4a178bd9ab7b6c0af60131baf8e3d3dd79a820d0

7 years agoMerge "Merge "2D recents: fix layout to show 3 tasks on a single line" into nyc-mr2...
Android Build Merger (Role) [Tue, 31 Jan 2017 23:40:10 +0000 (23:40 +0000)]
Merge "Merge "2D recents: fix layout to show 3 tasks on a single line" into nyc-mr2-dev am: abfe26bad7 am: 52c28bade8"

7 years agoMerge "2D recents: fix layout to show 3 tasks on a single line" into nyc-mr2-dev...
Manu Cornet [Tue, 31 Jan 2017 23:39:26 +0000 (23:39 +0000)]
Merge "2D recents: fix layout to show 3 tasks on a single line" into nyc-mr2-dev am: abfe26bad7
am: 52c28bade8

Change-Id: I5d8e90b7060ea1182b41522bf9106efbde805614

7 years agoCamera: Fix the document on createCaptureSession error
Shuzhen Wang [Tue, 31 Jan 2017 23:33:41 +0000 (15:33 -0800)]
Camera: Fix the document on createCaptureSession error

When createCaptureSessionByOutputConfigurations fails, it doesn't throw
an exception. Instead, onConfigureFailed will be called.

Test: Compiles
Bug: 33777818
Change-Id: Ia0e139265bee0eda2118f903a6b46358a14c672c

7 years agoMerge "2D recents: fix layout to show 3 tasks on a single line am: 776f6bacd6 am...
Android Build Merger (Role) [Tue, 31 Jan 2017 23:39:05 +0000 (23:39 +0000)]
Merge "2D recents: fix layout to show 3 tasks on a single line am: 776f6bacd6 am: d378bc16ee"

7 years ago2D recents: fix layout to show 3 tasks on a single line am: 776f6bacd6
Manu Cornet [Tue, 31 Jan 2017 23:38:03 +0000 (23:38 +0000)]
2D recents: fix layout to show 3 tasks on a single line am: 776f6bacd6
am: d378bc16ee

Change-Id: Ic79ece663a1b689ae226df861062f1ae623f8efd

7 years agoMerge "Remove Wi-Fi lock icons from AccessPointPreference."
Stephen Chen [Tue, 31 Jan 2017 23:37:22 +0000 (23:37 +0000)]
Merge "Remove Wi-Fi lock icons from AccessPointPreference."

7 years agoMerge "2D Recents: Keep nav bar hidden from transition thumbnail" into nyc-mr2-dev
Manu Cornet [Tue, 31 Jan 2017 23:36:52 +0000 (23:36 +0000)]
Merge "2D Recents: Keep nav bar hidden from transition thumbnail" into nyc-mr2-dev
am: 57071e8025

Change-Id: Iff6deb4ffd576de3f96de5c0762f8d692c16db8f

7 years ago2D Recents: Keep nav bar hidden from transition thumbnail
Manu Cornet [Tue, 31 Jan 2017 23:36:44 +0000 (23:36 +0000)]
2D Recents: Keep nav bar hidden from transition thumbnail
am: b68b765cbf

Change-Id: I4a64e5ef354f16ba1bef1196f1a44bbffbc3c880

7 years agoMerge "LoadedArsc: Support feature splits."
TreeHugger Robot [Tue, 31 Jan 2017 23:35:39 +0000 (23:35 +0000)]
Merge "LoadedArsc: Support feature splits."

7 years agoMerge "More incorrect screenshot JNI code."
TreeHugger Robot [Tue, 31 Jan 2017 23:34:52 +0000 (23:34 +0000)]
Merge "More incorrect screenshot JNI code."

7 years agoMerge "2D recents: fix layout to show 3 tasks on a single line" into nyc-mr2-dev
Manu Cornet [Tue, 31 Jan 2017 23:31:19 +0000 (23:31 +0000)]
Merge "2D recents: fix layout to show 3 tasks on a single line" into nyc-mr2-dev
am: abfe26bad7

Change-Id: Id8714f350e775b177bffcfe8ded80a5509b213fe

7 years ago2D recents: fix layout to show 3 tasks on a single line
Manu Cornet [Tue, 31 Jan 2017 23:31:14 +0000 (23:31 +0000)]
2D recents: fix layout to show 3 tasks on a single line
am: 776f6bacd6

Change-Id: I73cda7b837f91b78714db90c06617302201389fd

7 years agoRemove Wi-Fi lock icons from AccessPointPreference.
Stephen Chen [Tue, 31 Jan 2017 00:31:23 +0000 (16:31 -0800)]
Remove Wi-Fi lock icons from AccessPointPreference.

We now have friction icons to show secured state.

Bug: 34775402
Test: manual inspection.
Change-Id: I644aadf8175e5b7b4daab6a3d6feacbe95fcdfda

7 years agoMerge "Revert "Remove getAppsUsingPermisisons""
Andreas Huber [Tue, 31 Jan 2017 23:30:12 +0000 (23:30 +0000)]
Merge "Revert "Remove getAppsUsingPermisisons""

7 years agoMerge "2D Recents: Keep nav bar hidden from transition thumbnail" into nyc-mr2-dev
Manu Cornet [Tue, 31 Jan 2017 23:27:03 +0000 (23:27 +0000)]
Merge "2D Recents: Keep nav bar hidden from transition thumbnail" into nyc-mr2-dev

7 years agoMerge "2D recents: fix layout to show 3 tasks on a single line" into nyc-mr2-dev
Manu Cornet [Tue, 31 Jan 2017 23:24:59 +0000 (23:24 +0000)]
Merge "2D recents: fix layout to show 3 tasks on a single line" into nyc-mr2-dev

7 years agoMerge "Propagate surface type and owner through to SurfaceFlinger."
TreeHugger Robot [Tue, 31 Jan 2017 23:22:08 +0000 (23:22 +0000)]
Merge "Propagate surface type and owner through to SurfaceFlinger."

7 years agoMerge "Refactor AutoFill server code."
TreeHugger Robot [Tue, 31 Jan 2017 23:18:09 +0000 (23:18 +0000)]
Merge "Refactor AutoFill server code."

7 years agoMerge "Adding missing filters to suggested actions in Settings that that they match...
Ido Ofir [Tue, 31 Jan 2017 23:17:25 +0000 (23:17 +0000)]
Merge "Adding missing filters to suggested actions in Settings that that they match the Optional Steps fliters in setup wizard. Also added some more logging."

7 years agoRevert "Remove getAppsUsingPermisisons"
vinodkrishnan [Tue, 31 Jan 2017 23:00:45 +0000 (23:00 +0000)]
Revert "Remove getAppsUsingPermisisons"

This reverts commit dfcf4fc29a5cc61fda041ffbef1c786550c9521a.

Change-Id: Id08db7999158c76dc39f0908722ea8f5a6b21257

7 years agoFragment grab bag!
Adam Powell [Tue, 31 Jan 2017 22:54:07 +0000 (14:54 -0800)]
Fragment grab bag!

* Fragment#isStateSaved: report whether a given fragment has been
  through state save within its given FragmentManager. This will
  additionally echo the state of its child FragmentManager, indicating
  whether it is safe to perform transactions without losing state.

* Fragment#setArguments can now be called at any time before a
  fragment's state is saved, not just before an internal index is
  assigned. This fixes an issue with assigning arguments during
  fragment inflation in some code paths.

* FragmentTransaction#postOnCommit: Add a Runnable to a
  FragmentTransaction that will be executed once the operations in the
  transaction have been fully executed. Transaction optimization may
  mean that other transaction ops could run before this is executed,
  or that specific operations from this transaction were optimized
  out. (e.g. a fragment in this transaction was added, but then
  removed in a subsequent transaction before pending operations were
  executed.) This may not be used for transactions added to the back
  stack, as we cannot persist the runnable for later to guarantee
  running it when the transaction is reversed.

Test: CTS
Change-Id: I4eb90588135e30f287c6487aa62ebda231f3dad3

7 years agoMerge "fix array index out of bounds"
TreeHugger Robot [Tue, 31 Jan 2017 22:54:58 +0000 (22:54 +0000)]
Merge "fix array index out of bounds"

7 years agoFixed an issue where heads-upped notifications would stay
Selim Cinek [Tue, 31 Jan 2017 22:37:14 +0000 (14:37 -0800)]
Fixed an issue where heads-upped notifications would stay

If a heads up notification was briefly removed right after
it was added it could linger around in systemUI until
the panel collapsed.
We need to make sure not to apply this improvement if
reordering isn't allowed, otherwise it will never time out

Test: existing tests pass
Bug: 34608075
Change-Id: I7768f6111ada30edcb997a42940e5e336efe1cf2

7 years agoMerge "Remove getAppsUsingPermisisons"
vinodkrishnan [Tue, 31 Jan 2017 22:30:53 +0000 (22:30 +0000)]
Merge "Remove getAppsUsingPermisisons"

7 years agoAccessibility can capture fingerprint gestures
Phil Weaver [Fri, 20 Jan 2017 23:57:24 +0000 (15:57 -0800)]
Accessibility can capture fingerprint gestures

Bug: 27148522
Test: Unit tests for two new classes in this CL, CTS in
linked CL.
Change-Id: Icb5113e00b1f8724814263b3cc7f72fe4a6f0b41

7 years agorun webview preparation in separate thread
Keun-young Park [Fri, 27 Jan 2017 19:30:19 +0000 (11:30 -0800)]
run webview preparation in separate thread

- There is no other dependency for webview from system server.
  Prepare it in separate thread and confirm completion
  before allowing 3rd party apps.

bug: 33840151
Test: manual, reboot
Change-Id: I417b0451c37f663c577295ab07f33474e72fe457

7 years agoIgnore auto-fill requests from system.
Felipe Leme [Tue, 31 Jan 2017 21:34:19 +0000 (13:34 -0800)]
Ignore auto-fill requests from system.

Change-Id: I3c318aeb96c1ba7a751feba2a0d9042015eaaffb
Fixes: 34819567
Bug: 34171325
Test: could not reproduce

7 years agoMerge "Add UiBench jank and macrobench tests for saveLayer performance"
TreeHugger Robot [Tue, 31 Jan 2017 22:05:18 +0000 (22:05 +0000)]
Merge "Add UiBench jank and macrobench tests for saveLayer performance"

7 years agoMerge "Implicitly cast views obtained via View.findView methods"
TreeHugger Robot [Tue, 31 Jan 2017 22:04:22 +0000 (22:04 +0000)]
Merge "Implicitly cast views obtained via View.findView methods"

7 years agoFix PiP animation errors introduced in crop refactoring.
Robert Carr [Tue, 31 Jan 2017 21:20:31 +0000 (13:20 -0800)]
Fix PiP animation errors introduced in crop refactoring.

Firstly, pinned stack now uses final crop only, so we need to scale
to the width/height computed there, not as computed for the crop.
Furthermore mTmpClipRect is no longer used directly to set the crop,
so clearing it in the pinned animation code had no effect. This fixes
the worst of the visual errors so people stop filing bugs while I
rework this logic entirely.

Bug: 34823229
Bug: 32881014
Bug: 33245930
Test: Manual with PiP activities on Fugu.
Change-Id: I45d2def5138f3cc278408a9209b5e5c40cece80b

7 years agoMerge "Make sure MASTER_CLEAR_NOTIFICATION goes to manifest receivers"
Chris Tate [Tue, 31 Jan 2017 21:31:40 +0000 (21:31 +0000)]
Merge "Make sure MASTER_CLEAR_NOTIFICATION goes to manifest receivers"

7 years agoMerge "Merge "Correct the formula of battery capacity estimation. am: c800ddc824...
Android Build Merger (Role) [Tue, 31 Jan 2017 21:04:32 +0000 (21:04 +0000)]
Merge "Merge "Correct the formula of battery capacity estimation. am: c800ddc824 am: d4d476943f" into nyc-mr2-dev-plus-aosp am: c820fe9b16"

7 years agoMerge "Correct the formula of battery capacity estimation. am: c800ddc824 am: d4d4769...
Android Build Merger (Role) [Tue, 31 Jan 2017 21:04:11 +0000 (21:04 +0000)]
Merge "Correct the formula of battery capacity estimation. am: c800ddc824 am: d4d476943f am: ab03a2f033"

7 years agoMerge "Correct the formula of battery capacity estimation. am: c800ddc824 am: d4d4769...
Ying Wai (Daniel) Fan [Tue, 31 Jan 2017 21:03:04 +0000 (21:03 +0000)]
Merge "Correct the formula of battery capacity estimation. am: c800ddc824 am: d4d476943f" into nyc-mr2-dev-plus-aosp
am: c820fe9b16

Change-Id: I67798476c055da8f7ace2f0cc55071b66b4e9273

7 years agoCorrect the formula of battery capacity estimation. am: c800ddc824 am: d4d476943f
Ying Wai (Daniel) Fan [Tue, 31 Jan 2017 21:02:57 +0000 (21:02 +0000)]
Correct the formula of battery capacity estimation. am: c800ddc824 am: d4d476943f
am: ab03a2f033

Change-Id: I3ffab388aaa1e06954a0e0ede2dce95c5454e55c

7 years agoMerge "Correct the formula of battery capacity estimation. am: c800ddc824 am: ac655b5...
Android Build Merger (Role) [Tue, 31 Jan 2017 21:02:27 +0000 (21:02 +0000)]
Merge "Correct the formula of battery capacity estimation. am: c800ddc824 am: ac655b5a7c am: c95ecb5ed8"

7 years agoCorrect the formula of battery capacity estimation. am: c800ddc824 am: ac655b5a7c
Ying Wai (Daniel) Fan [Tue, 31 Jan 2017 21:01:28 +0000 (21:01 +0000)]
Correct the formula of battery capacity estimation. am: c800ddc824 am: ac655b5a7c
am: c95ecb5ed8

Change-Id: Ib23b58f4139dc80dcdafa1089c90fb7ac9ce3abd

7 years agoMerge "Correct Screencap utility code."
TreeHugger Robot [Tue, 31 Jan 2017 21:00:56 +0000 (21:00 +0000)]
Merge "Correct Screencap utility code."

7 years agoMerge "Correct the formula of battery capacity estimation. am: c800ddc824 am: d4d4769...
Android Build Merger (Role) [Tue, 31 Jan 2017 20:58:14 +0000 (20:58 +0000)]
Merge "Correct the formula of battery capacity estimation. am: c800ddc824 am: d4d476943f" into nyc-mr2-dev-plus-aosp

7 years agoCorrect the formula of battery capacity estimation. am: c800ddc824
Ying Wai (Daniel) Fan [Tue, 31 Jan 2017 20:57:29 +0000 (20:57 +0000)]
Correct the formula of battery capacity estimation. am: c800ddc824
am: ac655b5a7c

Change-Id: Ifa298b57e62e4238740b177a7e4a346671d56987

7 years agoCorrect the formula of battery capacity estimation. am: c800ddc824
Ying Wai (Daniel) Fan [Tue, 31 Jan 2017 20:57:24 +0000 (20:57 +0000)]
Correct the formula of battery capacity estimation. am: c800ddc824
am: d4d476943f

Change-Id: I097f2f5a610f2cef639a4c6e7e003bcbd2fd44c5

7 years agofix array index out of bounds
Todd Kennedy [Tue, 31 Jan 2017 20:49:28 +0000 (12:49 -0800)]
fix array index out of bounds

we can't be removing items from the list while we're iterating
through them!

Test: Manual
Change-Id: I18c70aced01269e196adbf4aa538c42345d74a95

7 years agoMerge "WebView: Revise the behavior of crash handle API"
Tao Bai [Tue, 31 Jan 2017 20:55:14 +0000 (20:55 +0000)]
Merge "WebView: Revise the behavior of crash handle API"

7 years agoCorrect the formula of battery capacity estimation.
Ying Wai (Daniel) Fan [Tue, 31 Jan 2017 20:53:27 +0000 (20:53 +0000)]
Correct the formula of battery capacity estimation.
am: c800ddc824

Change-Id: Idf0396fdac7e0cedbac39da98b2fe97e26dce64e

7 years agoCorrect the formula of battery capacity estimation.
Ying Wai (Daniel) Fan [Tue, 31 Jan 2017 20:53:26 +0000 (20:53 +0000)]
Correct the formula of battery capacity estimation.
am: c800ddc824

Change-Id: Ia0a16cd15fc71f6ff2af89d7ecbb7a319b5ece92

7 years agoMake sure MASTER_CLEAR_NOTIFICATION goes to manifest receivers
Christopher Tate [Wed, 25 Jan 2017 22:49:44 +0000 (14:49 -0800)]
Make sure MASTER_CLEAR_NOTIFICATION goes to manifest receivers

It sometimes needs to launch OEM-supplied apps for processing, so make sure
it continues to do so.

Bug 34587823
Test: verified dispatch via logcat/dumpsys

Change-Id: Ic80e06582116cdd629492ed01a9b05b0e1b3822e

7 years agoMerge "Remove unneeded parameters"
Julia Reynolds [Tue, 31 Jan 2017 20:46:13 +0000 (20:46 +0000)]
Merge "Remove unneeded parameters"

7 years agoAdd UiBench jank and macrobench tests for saveLayer performance
Stan Iliev [Fri, 27 Jan 2017 19:30:23 +0000 (14:30 -0500)]
Add UiBench jank and macrobench tests for saveLayer performance

Create 2 jank tests and 1 macrobench that measure saveLayer
performance:
- Fling a ListView, which has a vertical fading edge.
- Draw a canvas with 20 saveLayer/restore interleaved with other
drawText and drawRect ops.

Test: built and ran UiBench jank and macrobench tests.
Change-Id: I5a50feb7431d597c92c7a49031505d41f397d175

7 years agoMerge "Two digit call support for Claro" am: c74d60a69e am: 7f8a08a772 am: 950c564646
Yong Shi [Tue, 31 Jan 2017 19:56:35 +0000 (19:56 +0000)]
Merge "Two digit call support for Claro" am: c74d60a69e am: 7f8a08a772 am: 950c564646
am: 0574c9c9a6

Change-Id: Ib35d7f4ee570356d1c7ec4ef1e9184a7e4f4dd5b

7 years agoMerge "Don't copy NoCopySpans in SpannableStringInternal"
Siyamed Sinir [Tue, 31 Jan 2017 19:54:34 +0000 (19:54 +0000)]
Merge "Don't copy NoCopySpans in SpannableStringInternal"

7 years agoMerge "Two digit call support for Claro" am: c74d60a69e am: 7f8a08a772
Yong Shi [Tue, 31 Jan 2017 19:51:26 +0000 (19:51 +0000)]
Merge "Two digit call support for Claro" am: c74d60a69e am: 7f8a08a772
am: 950c564646

Change-Id: Icae8f52eb9348884b1b6b1aa1407d3d043793f3a

7 years agoPost runnables instead of sending messages.
Jeremy Joslin [Tue, 31 Jan 2017 19:51:25 +0000 (11:51 -0800)]
Post runnables instead of sending messages.

Gaining access to a Handler's Looper can be problematic in custom
Handler implementations. Instead of creating a new internal Handler
to dispatch the method calls on we simply post Runnables to the
given Handler.

Test: adb shell am instrument -e class android.net.NetworkRecommendationProviderTest -w com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Bug: 34845471
Change-Id: I6fe380a92aebd630781abe5853f94737bcfeaa5f

7 years agoMerge "Two digit call support for Claro" am: c74d60a69e
Yong Shi [Tue, 31 Jan 2017 19:47:01 +0000 (19:47 +0000)]
Merge "Two digit call support for Claro" am: c74d60a69e
am: 7f8a08a772

Change-Id: I294b83c86708708f95352bb019a032fabc1c4ed5

7 years agoMerge "Two digit call support for Claro"
Yong Shi [Tue, 31 Jan 2017 19:42:26 +0000 (19:42 +0000)]
Merge "Two digit call support for Claro"
am: c74d60a69e

Change-Id: I18548618853aa37f43114ed7ffdca73c1fc0effc

7 years agoMerge "Two digit call support for Claro"
Treehugger Robot [Tue, 31 Jan 2017 19:30:23 +0000 (19:30 +0000)]
Merge "Two digit call support for Claro"

7 years agoMerge "Update the A2DP Codec Config API" am: ccd60f7cbe am: f0096fb868 am: 91707989c4
Pavlin Radoslavov [Tue, 31 Jan 2017 19:25:11 +0000 (19:25 +0000)]
Merge "Update the A2DP Codec Config API" am: ccd60f7cbe am: f0096fb868 am: 91707989c4
am: 1ef3c9888e

Change-Id: If69bfe9839a35dc141d741695a217fa4805d46cc

7 years agoMerge "Update the A2DP Codec Config API" am: ccd60f7cbe am: f0096fb868
Pavlin Radoslavov [Tue, 31 Jan 2017 19:18:27 +0000 (19:18 +0000)]
Merge "Update the A2DP Codec Config API" am: ccd60f7cbe am: f0096fb868
am: 91707989c4

Change-Id: I0d58681de89b82ffdce57d3381cd2397b9ade3e7

7 years agoMerge "Update the A2DP Codec Config API" am: ccd60f7cbe
Pavlin Radoslavov [Tue, 31 Jan 2017 19:13:05 +0000 (19:13 +0000)]
Merge "Update the A2DP Codec Config API" am: ccd60f7cbe
am: f0096fb868

Change-Id: Ibc7d4b500adc4451978f366557b93dc6b6d3da63

7 years agoMerge "Update the A2DP Codec Config API"
Pavlin Radoslavov [Tue, 31 Jan 2017 19:07:58 +0000 (19:07 +0000)]
Merge "Update the A2DP Codec Config API"
am: ccd60f7cbe

Change-Id: Idc54b85eb096ec0116395332c7bc0b543a59a7d5