OSDN Git Service

android-x86/frameworks-base.git
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 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 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

7 years agoAdding missing filters to suggested actions in Settings that that they
Ido Ofir [Tue, 24 Jan 2017 21:27:36 +0000 (13:27 -0800)]
Adding missing filters to suggested actions in Settings that that they
match the Optional Steps fliters in setup wizard.
Also added some more logging.

Bug: 34460278
Test: cd tests/; mma

Change-Id: Id576a1a19daa473e203cef41d67f6ef0cfc06dbe

7 years agoCorrect Screencap utility code.
Robert Carr [Tue, 31 Jan 2017 19:02:58 +0000 (11:02 -0800)]
Correct Screencap utility code.

Screenshot interface now takes signed parameters.

Bug: 34758075
Test: None
Change-Id: I884456ce7f22a9e57990371ad66f6bb55d09e999

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

7 years agoWebView: Revise the behavior of crash handle API
Tao Bai [Tue, 31 Jan 2017 00:54:28 +0000 (16:54 -0800)]
WebView: Revise the behavior of crash handle API

To make backward compatible, kills application when render process
is killed by system.

Bug: 30824898
Test: No test, this is document revision.
Change-Id: I12862ee9ed1986ec274fe627782542e8d8414856

7 years agoUpdate the A2DP Codec Config API
Pavlin Radoslavov [Thu, 26 Jan 2017 00:54:07 +0000 (16:54 -0800)]
Update the A2DP Codec Config API

Previously, the JNI upcall would contain only the current codec config.
In the new API, the upcall contains:
 1. The current codec config
 2. The list of codecs containing the local codecs capabilities
 3. The list of codecs containing the selectable codecs capabilities.
    This list is the intersection of the local codecs capabilities
    and the capabilities of the paired device.

Also, refactored the Java internals to accomodate the extra information:
 * Added new class BluetoothCodecStatus that contains the extra info:
   current codec config, local codecs capabilities and selectable
   codecs capabilities
 * Renamed method getCodecConfig() to getCodecStatus() and return the
   corresponding BluetoothCodecStatus object.
 * Updates to class BluetoothCodecConfig:
   new methods isValid(), getCodecName(), and updated toString()
   so it is more user friendly
 * Removed BluetoothCodecConfig.EXTRA_CODEC_CONFIG and
   EXTRA_PREVIOUS_CODEC_CONFIG.
   The former is superseded by BluetoothCodecStatus.EXTRA_CODEC_STATUS;
   the latter is not really used.

Test: A2DP streaming with headsets and switching the codecs
Change-Id: Ia1af2c22e521e863e28a360610aca49f7e62d31b

7 years agoMerge "Add UiModeManager commands to adb"
TreeHugger Robot [Tue, 31 Jan 2017 18:50:20 +0000 (18:50 +0000)]
Merge "Add UiModeManager commands to adb"

7 years agoMerge "Primary navigation fragments"
TreeHugger Robot [Tue, 31 Jan 2017 18:40:40 +0000 (18:40 +0000)]
Merge "Primary navigation fragments"

7 years agoMerge "hotspot2: enclose conditional statement in parenthesis" am: 161ac8b006 am...
Peter Qiu [Tue, 31 Jan 2017 18:35:24 +0000 (18:35 +0000)]
Merge "hotspot2: enclose conditional statement in parenthesis" am: 161ac8b006 am: ea14632665 am: 77095c33d3
am: e7e2dc148c

Change-Id: Ib6a5a5bac5886099581e7027af74e90fa98eb35f

7 years agoMerge "hotspot2: enclose conditional statement in parenthesis" am: 161ac8b006 am...
Peter Qiu [Tue, 31 Jan 2017 18:29:49 +0000 (18:29 +0000)]
Merge "hotspot2: enclose conditional statement in parenthesis" am: 161ac8b006 am: ea14632665
am: 77095c33d3

Change-Id: Ib0ee84bf185ac7b492029eae791436ae30c246e2

7 years agoMerge "wifi: WifiConfiguration: add isHomeProviderNetwork field"
TreeHugger Robot [Tue, 31 Jan 2017 18:28:28 +0000 (18:28 +0000)]
Merge "wifi: WifiConfiguration: add isHomeProviderNetwork field"

7 years agoMerge "hotspot2: enclose conditional statement in parenthesis" am: 161ac8b006
Peter Qiu [Tue, 31 Jan 2017 18:25:48 +0000 (18:25 +0000)]
Merge "hotspot2: enclose conditional statement in parenthesis" am: 161ac8b006
am: ea14632665

Change-Id: I5511f4d323761edf5eab149894a7a1b2acee4e07

7 years agoMerge "Replace invalidateChild/invalidateChildInParent"
Chris Craik [Tue, 31 Jan 2017 18:23:17 +0000 (18:23 +0000)]
Merge "Replace invalidateChild/invalidateChildInParent"

7 years agoMerge "hotspot2: enclose conditional statement in parenthesis"
Peter Qiu [Tue, 31 Jan 2017 18:21:27 +0000 (18:21 +0000)]
Merge "hotspot2: enclose conditional statement in parenthesis"
am: 161ac8b006

Change-Id: I2da11aee68e52f9e868ca23cbd913703ef0585e3

7 years agoMerge "Add a home intent category for VR headset UI mode."
TreeHugger Robot [Tue, 31 Jan 2017 18:15:02 +0000 (18:15 +0000)]
Merge "Add a home intent category for VR headset UI mode."

7 years agoMerge "Enabling low storage notification on Android TV"
Dmitri Plotnikov [Tue, 31 Jan 2017 18:14:49 +0000 (18:14 +0000)]
Merge "Enabling low storage notification on Android TV"

7 years agoMerge "hotspot2: enclose conditional statement in parenthesis"
Treehugger Robot [Tue, 31 Jan 2017 18:12:56 +0000 (18:12 +0000)]
Merge "hotspot2: enclose conditional statement in parenthesis"

7 years agoMerge "Fix NotificationGuts tests"
Mady Mellor [Tue, 31 Jan 2017 17:58:31 +0000 (17:58 +0000)]
Merge "Fix NotificationGuts tests"

7 years agoMerge "Fix crash in TextView getFont"
TreeHugger Robot [Tue, 31 Jan 2017 17:56:06 +0000 (17:56 +0000)]
Merge "Fix crash in TextView getFont"

7 years agoMore incorrect screenshot JNI code.
Robert Carr [Tue, 31 Jan 2017 17:22:14 +0000 (09:22 -0800)]
More incorrect screenshot JNI code.

Not sure why we aren't getting warnings but these casts are to the wrong
type.

Bug: 34758075
Test: Manual
Change-Id: I6b9fc0500762c34379f4de56e0b5a66e6f17d87d

7 years agoMerge "Added a new wifi_badging_thresholds setting to Settings.Global"
William Mee [Tue, 31 Jan 2017 16:54:44 +0000 (16:54 +0000)]
Merge "Added a new wifi_badging_thresholds setting to Settings.Global"