OSDN Git Service

android-x86/frameworks-base.git
6 years agoDO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result am: 02d802e...
Michael Plass [Fri, 1 Sep 2017 19:25:00 +0000 (19:25 +0000)]
DO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result am: 02d802e71e  -s ours am: b5ee561702  -s ours am: 7391bedf87  -s ours am: 8597268bc2  -s ours
am: 56b7e56890  -s ours

Change-Id: Ie6e9e39c63d9340de659ae428ee5bf79148aa95c

6 years agoDO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result am: 02d802e...
Michael Plass [Fri, 1 Sep 2017 19:15:42 +0000 (19:15 +0000)]
DO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result am: 02d802e71e  -s ours am: b5ee561702  -s ours am: 7391bedf87  -s ours am: 8597268bc2  -s ours
am: 8f33b0bd96  -s ours

Change-Id: Icd6c2ff79f3d697cf308ca4e94d0e6fb0ce9dff4

6 years agoMerge "reloading the current page on Network lost->avail" into oc-mr1-dev
fionaxu [Fri, 1 Sep 2017 19:06:16 +0000 (19:06 +0000)]
Merge "reloading the current page on Network lost->avail" into oc-mr1-dev
am: 3f9faf6df4

Change-Id: I64d4590fdd983885d8ad2f66178e40724c5235c8

6 years agoDO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result am: 02d802e...
Michael Plass [Fri, 1 Sep 2017 19:04:25 +0000 (19:04 +0000)]
DO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result am: 02d802e71e  -s ours am: b5ee561702  -s ours am: 7391bedf87  -s ours
am: 8597268bc2  -s ours

Change-Id: I57d0fa2972f5f93ca0c12455873ce05356d6ebf4

6 years agoDO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result am: 02d802e...
Michael Plass [Fri, 1 Sep 2017 19:04:25 +0000 (19:04 +0000)]
DO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result am: 02d802e71e  -s ours am: b5ee561702  -s ours am: 7391bedf87  -s ours
am: 8597268bc2  -s ours

Change-Id: I8e3be756aba1fc571d214e730d84a9f7a4da3f88

6 years agoMerge "reloading the current page on Network lost->avail" into oc-mr1-dev
TreeHugger Robot [Fri, 1 Sep 2017 18:54:49 +0000 (18:54 +0000)]
Merge "reloading the current page on Network lost->avail" into oc-mr1-dev

6 years agoDO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result am: 02d802e...
Michael Plass [Fri, 1 Sep 2017 18:50:10 +0000 (18:50 +0000)]
DO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result am: 02d802e71e  -s ours am: b5ee561702  -s ours
am: 7391bedf87  -s ours

Change-Id: Ia4ed82872d97187158a8f958b44e68814b2c5356

6 years agoDO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result am: 02d802e...
Michael Plass [Fri, 1 Sep 2017 18:35:54 +0000 (18:35 +0000)]
DO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result am: 02d802e71e  -s ours
am: b5ee561702  -s ours

Change-Id: I64e924948b9cd7934d41e2261af73e2232bbaf80

6 years agoDO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result
Michael Plass [Fri, 1 Sep 2017 18:11:19 +0000 (18:11 +0000)]
DO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result
am: 02d802e71e  -s ours

Change-Id: If1a7766ec46207280183c7eb08e036e526a12a34

6 years agoMerge "Fix typo in CarrierConfigManager javadoc." am: ea598a4f14 am: 3a443cd347
Bin Chen [Fri, 1 Sep 2017 17:54:56 +0000 (17:54 +0000)]
Merge "Fix typo in CarrierConfigManager javadoc." am: ea598a4f14 am: 3a443cd347
am: c08cbb31cc

Change-Id: Ifd1728d99c72644854e0161fefa4ac13bcc2bbee

6 years agoMerge "Do not close idle connections by default" into oc-mr1-dev
Fyodor Kupolov [Fri, 1 Sep 2017 17:45:27 +0000 (17:45 +0000)]
Merge "Do not close idle connections by default" into oc-mr1-dev
am: 6f8afdc501

Change-Id: Icda0c6495682077725849f96855421f395cd8ff5

6 years agoMerge "Fix typo in CarrierConfigManager javadoc." am: ea598a4f14
Bin Chen [Fri, 1 Sep 2017 17:38:50 +0000 (17:38 +0000)]
Merge "Fix typo in CarrierConfigManager javadoc." am: ea598a4f14
am: 3a443cd347

Change-Id: I861ab8f591597e4e13e5c2bcf81546a5692b519a

6 years agoMerge "Do not close idle connections by default" into oc-mr1-dev
Fyodor Kupolov [Fri, 1 Sep 2017 17:34:41 +0000 (17:34 +0000)]
Merge "Do not close idle connections by default" into oc-mr1-dev

6 years agoMerge "Fix typo in CarrierConfigManager javadoc."
Bin Chen [Fri, 1 Sep 2017 17:25:07 +0000 (17:25 +0000)]
Merge "Fix typo in CarrierConfigManager javadoc."
am: ea598a4f14

Change-Id: I663aab8773193681760b6ac0a241fde913e5d585

6 years agoMerge "Fix home button size" into oc-mr1-dev
Jason Monk [Fri, 1 Sep 2017 17:20:46 +0000 (17:20 +0000)]
Merge "Fix home button size" into oc-mr1-dev
am: e27dab87ed

Change-Id: I827bba9c6f17728fe605066de925484fc04276b5

6 years agoMerge "Fix typo in CarrierConfigManager javadoc."
Treehugger Robot [Fri, 1 Sep 2017 17:11:26 +0000 (17:11 +0000)]
Merge "Fix typo in CarrierConfigManager javadoc."

6 years agoMerge "Fix home button size" into oc-mr1-dev
TreeHugger Robot [Fri, 1 Sep 2017 17:09:37 +0000 (17:09 +0000)]
Merge "Fix home button size" into oc-mr1-dev

6 years agoDO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result
Michael Plass [Thu, 13 Jul 2017 17:09:07 +0000 (10:09 -0700)]
DO NOT MERGE ANYWHERE: [AsyncChannel] Fix race in handling of sync result

Bug: 62866191
Bug: 63074860
Bug: 65267749
Test: wifi unit tests
Change-Id: I1d59eb8d599de9d9041e0b9b7d731363675a40c9
(cherry picked from commit 56e46134d364f7f293158979765336721a6c752c)
(cherry picked from commit 9c1d56576e01060f40de74a4c0e35e95064351be)

6 years agoresolve merge conflicts of e30e3430f936 to oc-mr1-dev-plus-aosp
Jason Monk [Fri, 1 Sep 2017 13:36:19 +0000 (09:36 -0400)]
resolve merge conflicts of e30e3430f936 to oc-mr1-dev-plus-aosp

Test: I solemnly swear I tested this conflict resolution.
Change-Id: I9d1a10dbad49680a25a64a7a6b3eadca91f9bc7d

6 years agoMerge "Fix animation of settings button in RTL layout case" am: cc3525748e
Jason Monk [Fri, 1 Sep 2017 13:20:42 +0000 (13:20 +0000)]
Merge "Fix animation of settings button in RTL layout case" am: cc3525748e
am: f4017acb4a

Change-Id: I8c43bf3742f2de724e9f0441396b9b5cd1255e90

6 years agoMerge "Fix animation of settings button in RTL layout case"
Jason Monk [Fri, 1 Sep 2017 13:10:36 +0000 (13:10 +0000)]
Merge "Fix animation of settings button in RTL layout case"
am: cc3525748e

Change-Id: I112d770b8cf520755128d4fabd973762b2c5c4b1

6 years agoMerge "Fix animation of settings button in RTL layout case"
Jason Monk [Fri, 1 Sep 2017 12:56:56 +0000 (12:56 +0000)]
Merge "Fix animation of settings button in RTL layout case"

6 years agoFix typo in CarrierConfigManager javadoc.
Bin Chen [Fri, 1 Sep 2017 10:12:53 +0000 (18:12 +0800)]
Fix typo in CarrierConfigManager javadoc.

Change-Id: Ie9d2f7aa705b7895777dcfa27e6826babff64e29

6 years agoMerge "Print correct timeout messages in JobServiceContext" into oc-mr1-dev
Yohei Yukawa [Fri, 1 Sep 2017 07:57:43 +0000 (07:57 +0000)]
Merge "Print correct timeout messages in JobServiceContext" into oc-mr1-dev
am: 70f7bc45cd

Change-Id: Icf28aa5823d1de410d728c3e360e39d13aaabd07

6 years agoMerge "Print correct timeout messages in JobServiceContext" into oc-mr1-dev
TreeHugger Robot [Fri, 1 Sep 2017 07:48:56 +0000 (07:48 +0000)]
Merge "Print correct timeout messages in JobServiceContext" into oc-mr1-dev

6 years agoMerge "Add APF black list for ether-type" am: c6b2e356b6 am: b7cabe7b59
Ahmed ElArabawy [Fri, 1 Sep 2017 07:15:05 +0000 (07:15 +0000)]
Merge "Add APF black list for ether-type" am: c6b2e356b6 am: b7cabe7b59
am: 1c1d81493e

Change-Id: I6302b93b8fcd40f6689f5cfe2faf580776a669d6

6 years agoMerge "Add APF black list for ether-type" am: c6b2e356b6
Ahmed ElArabawy [Fri, 1 Sep 2017 06:43:37 +0000 (06:43 +0000)]
Merge "Add APF black list for ether-type" am: c6b2e356b6
am: b7cabe7b59

Change-Id: I3aeb9bedd2503a2182995d13b26de0f89e94ce9d

6 years agoMerge "Add APF black list for ether-type"
Ahmed ElArabawy [Fri, 1 Sep 2017 06:28:51 +0000 (06:28 +0000)]
Merge "Add APF black list for ether-type"
am: c6b2e356b6

Change-Id: I2aca562191119dc26eb7bc5293956061e5f44827

6 years agoMerge "Add APF black list for ether-type"
Treehugger Robot [Fri, 1 Sep 2017 06:19:11 +0000 (06:19 +0000)]
Merge "Add APF black list for ether-type"

6 years agoAdd APF black list for ether-type
Ahmed ElArabawy [Wed, 2 Aug 2017 20:31:05 +0000 (13:31 -0700)]
Add APF black list for ether-type

Add a configurable black for protocols which packets are to be dropped
by APF. This enales an OEM to configure the APF to filter out un-needed
packets from reaching the host

Bug: 62415182
Test: runtest frameworks-net

Merged-In: I86335a0f854d5e83a2b2767978cd69b2cc25c2f8

Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
(cherry picked from commit caffbe127726c6a9ab5dd023a9b09cfa43eac617)

Change-Id: I15a758d18464d73d24ba8364a867904bb3cd3b34

6 years agoMerge "Fix blending behavior with first draw op" into oc-mr1-dev
Chris Craik [Fri, 1 Sep 2017 04:11:02 +0000 (04:11 +0000)]
Merge "Fix blending behavior with first draw op" into oc-mr1-dev
am: da910e805b

Change-Id: I167213959eac6ba72a1e8ca32fcd4e536e56aeee

6 years agoMerge "Fix blending behavior with first draw op" into oc-mr1-dev
TreeHugger Robot [Fri, 1 Sep 2017 04:05:02 +0000 (04:05 +0000)]
Merge "Fix blending behavior with first draw op" into oc-mr1-dev

6 years agoMerge "Revert "Nat464Xlat: interface notification handler on ConnectivityService...
Hugo Benichi [Fri, 1 Sep 2017 03:01:59 +0000 (03:01 +0000)]
Merge "Revert "Nat464Xlat: interface notification handler on ConnectivityService"" into oc-mr1-dev
am: 8768b99cbe

Change-Id: If2b714c7e74d95d4fad610772e3d74ab13b923e8

6 years agoMerge "Revert "Nat464Xlat: interface notification handler on ConnectivityService...
Hugo Benichi [Fri, 1 Sep 2017 02:49:17 +0000 (02:49 +0000)]
Merge "Revert "Nat464Xlat: interface notification handler on ConnectivityService"" into oc-mr1-dev

6 years agoMerge "Don't vibrate on un-tuned devices when opening notification shade." into oc...
Michael Wright [Fri, 1 Sep 2017 02:41:39 +0000 (02:41 +0000)]
Merge "Don't vibrate on un-tuned devices when opening notification shade." into oc-mr1-dev
am: fbc5d5d7c5

Change-Id: Ib1f111b87878abe4c2fd4d800e950feb6a45d7be

6 years agoMerge "Darken car status bar." into oc-mr1-dev
Bryan Eyler [Fri, 1 Sep 2017 02:34:16 +0000 (02:34 +0000)]
Merge "Darken car status bar." into oc-mr1-dev
am: d1b4848d2e

Change-Id: I6c7823369750a66395d2af85ef1841b5818ba2c7

6 years agoMerge "Don't vibrate on un-tuned devices when opening notification shade." into oc...
TreeHugger Robot [Fri, 1 Sep 2017 02:29:53 +0000 (02:29 +0000)]
Merge "Don't vibrate on un-tuned devices when opening notification shade." into oc-mr1-dev

6 years agoFix animation of settings button in RTL layout case
Akira Oshimi [Thu, 3 Aug 2017 02:02:34 +0000 (11:02 +0900)]
Fix animation of settings button in RTL layout case

The settings button overlaps with the expand indicator
in RTL layout case when rotating the device to landscape mode.
To fix this issue, the animation of settings button
in RTL layout case should be changed.

Fixes: 65228478
Test: manual - set a BiDi language and open Notification panel.

Change-Id: I008b33ebcdf074639a291e7d30d3343654a2ea37

6 years agoMerge "Darken car status bar." into oc-mr1-dev
TreeHugger Robot [Fri, 1 Sep 2017 02:18:10 +0000 (02:18 +0000)]
Merge "Darken car status bar." into oc-mr1-dev

6 years agoMerge "Track the global setting of BT A2DP on/off" into oc-mr1-dev
Sungsoo Lim [Fri, 1 Sep 2017 02:01:58 +0000 (02:01 +0000)]
Merge "Track the global setting of BT A2DP on/off" into oc-mr1-dev
am: cc2478f90c

Change-Id: Iacf556474e361882d4928750a71add65af0180d9

6 years agoMerge "Track the global setting of BT A2DP on/off" into oc-mr1-dev
TreeHugger Robot [Fri, 1 Sep 2017 01:53:14 +0000 (01:53 +0000)]
Merge "Track the global setting of BT A2DP on/off" into oc-mr1-dev

6 years agoMerge "Fixes TaskStackLayoutAlgorithm log errors when window rect is empty" into...
Matthew Ng [Fri, 1 Sep 2017 01:46:24 +0000 (01:46 +0000)]
Merge "Fixes TaskStackLayoutAlgorithm log errors when window rect is empty" into oc-mr1-dev
am: 7673a55f3e

Change-Id: Ic89dad11832a55111b8be425ab3a1b53c8ebafa3

6 years agoMerge "Fixes TaskStackLayoutAlgorithm log errors when window rect is empty" into...
TreeHugger Robot [Fri, 1 Sep 2017 01:34:48 +0000 (01:34 +0000)]
Merge "Fixes TaskStackLayoutAlgorithm log errors when window rect is empty" into oc-mr1-dev

6 years agoMerge "Hook up AOD knobs to Settings.Global" into oc-mr1-dev
Lei Yu [Fri, 1 Sep 2017 01:01:47 +0000 (01:01 +0000)]
Merge "Hook up AOD knobs to Settings.Global" into oc-mr1-dev
am: 67594c6f54

Change-Id: Ifbb83939c2c2c30048fe43b2092b2afe4c3b234c

6 years agoMerge "Hook up AOD knobs to Settings.Global" into oc-mr1-dev
Lei Yu [Fri, 1 Sep 2017 00:54:01 +0000 (00:54 +0000)]
Merge "Hook up AOD knobs to Settings.Global" into oc-mr1-dev

6 years agoFix blending behavior with first draw op
Chris Craik [Fri, 1 Sep 2017 00:28:20 +0000 (17:28 -0700)]
Fix blending behavior with first draw op

Bug: 65077146
Test: Manual - uirendering tests don't allow test draw content
to be displayed first.

It's not always valid to disable blending on the first draw to the framebuffer,
since some blend modes affect the framebuffer in different ways. We now only
disable blending if the op is SRC_OVER to be safe.

For example:

    canvas.drawColor(0xfeff0000, PorterDuff.Mode.CLEAR);
    canvas.drawColor(Color.BLUE, PorterDuff.Mode.DST_OVER);

The BLUE should always be seen - the other draw should just clear the buffer.
Prior to this fix, the above code (put in a window background) would draw black.

In addition, this removes the disable behavior in drawRects(), since that should
never benefit from the optimization - that decoration is always drawn at the end
of a frame.

Change-Id: I34e8d9d62d6e1dfa00e9301f44c277475f2940a8

6 years agoMerge "Hide battery percentage from accessibility." into oc-mr1-dev
Jason Monk [Fri, 1 Sep 2017 00:38:35 +0000 (00:38 +0000)]
Merge "Hide battery percentage from accessibility." into oc-mr1-dev
am: f4311433a8

Change-Id: If3a0b173905140a4498f0bcb0a925614301b078a

6 years agoMerge "Fix issue #63971747: Audio is not heard first time when played after a long...
Dianne Hackborn [Fri, 1 Sep 2017 00:15:00 +0000 (00:15 +0000)]
Merge "Fix issue #63971747: Audio is not heard first time when played after a long pause" into oc-mr1-dev
am: d9d208a6d4

Change-Id: I98836388ee501bb44c1ed60925d8846dbbe7d4ae

6 years agoMerge "Hide battery percentage from accessibility." into oc-mr1-dev
Jason Monk [Fri, 1 Sep 2017 00:13:36 +0000 (00:13 +0000)]
Merge "Hide battery percentage from accessibility." into oc-mr1-dev

6 years agoMerge "Fix issue #63971747: Audio is not heard first time when played after a long...
TreeHugger Robot [Thu, 31 Aug 2017 23:56:42 +0000 (23:56 +0000)]
Merge "Fix issue #63971747: Audio is not heard first time when played after a long pause" into oc-mr1-dev

6 years agoMerge "Fix transition between two occluding activities" into oc-mr1-dev
Jorim Jaggi [Thu, 31 Aug 2017 23:44:43 +0000 (23:44 +0000)]
Merge "Fix transition between two occluding activities" into oc-mr1-dev
am: 8e2615c372

Change-Id: I9671da6a339c64369504450bfff48d48a1942aa2

6 years agoMerge "Fix stuck activity" into oc-mr1-dev
Jorim Jaggi [Thu, 31 Aug 2017 23:36:33 +0000 (23:36 +0000)]
Merge "Fix stuck activity" into oc-mr1-dev
am: ab1760f50f

Change-Id: I47e8c406d4f6bce9b7d6a3ca6fcfd1dfe20174e9

6 years agoMerge "Fix transition between two occluding activities" into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 23:25:34 +0000 (23:25 +0000)]
Merge "Fix transition between two occluding activities" into oc-mr1-dev

6 years agoMerge "Don't cancel by UID when an app is disabled or uninstalled" into oc-mr1-dev
Makoto Onuki [Thu, 31 Aug 2017 23:20:38 +0000 (23:20 +0000)]
Merge "Don't cancel by UID when an app is disabled or uninstalled" into oc-mr1-dev
am: 9543ce8ffe

Change-Id: I7318e500272ff6478672acf899ac0407d641f4a1

6 years agoMerge "Fix stuck activity" into oc-mr1-dev
Jorim Jaggi [Thu, 31 Aug 2017 23:17:06 +0000 (23:17 +0000)]
Merge "Fix stuck activity" into oc-mr1-dev

6 years agoMerge "Ensure that PiP mode changed callback if animation is interrupted" into oc...
Winson Chung [Thu, 31 Aug 2017 23:13:14 +0000 (23:13 +0000)]
Merge "Ensure that PiP mode changed callback if animation is interrupted" into oc-mr1-dev
am: 82910bdf16

Change-Id: I15ad3c03c2c9d11550e1ea5a762e3f368e6e8299

6 years agoMerge "Don't cancel by UID when an app is disabled or uninstalled" into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 23:05:38 +0000 (23:05 +0000)]
Merge "Don't cancel by UID when an app is disabled or uninstalled" into oc-mr1-dev

6 years agoMerge "Ensure that PiP mode changed callback if animation is interrupted" into oc...
Winson Chung [Thu, 31 Aug 2017 23:01:48 +0000 (23:01 +0000)]
Merge "Ensure that PiP mode changed callback if animation is interrupted" into oc-mr1-dev

6 years agoPrint correct timeout messages in JobServiceContext
Yohei Yukawa [Thu, 31 Aug 2017 22:49:15 +0000 (15:49 -0700)]
Print correct timeout messages in JobServiceContext

This is a follow up CL to a previous CL [1] that added some useful
debug messages to diagnose issues like Bug 62390590 and another
follow up CL [2] that aimed to address Bug 62787070.

What went wrong is that

  "x" + y != null ? y.toShortString() : "<null>" + "z"

is interpretted as

  ("x" + y) != null ? y.toShortString() : ("<null>" + "z")

while what we wanted to see was

  "x" + (y != null ? y.toShortString() : "<null>") + "z"

This CL addresses the above unexpected string concatenation by
explicitly having a private utility method
JobServiceContext#getRunningJobNameLocked().

 [1]: Ia7155248b4b4f032cbf8e8754c5437f658ed192c
      729a328aca436d71b80f3d72f5d54e38d4d2c12e
 [2]: I7bc55f55da645a9e116d3f0ee02f2ee115383ea9
      62292daa208d007a8c57b073303e8bb6169a2016

Bug: 62787070
Bug: 64569041
Bug: 65188019
Test: Manually verified by explicitly causing timeout.
Change-Id: I3e51f40d3fcf0e2ddd200da2812aba109d89794e

6 years agoreloading the current page on Network lost->avail
fionaxu [Thu, 31 Aug 2017 21:40:41 +0000 (14:40 -0700)]
reloading the current page on Network lost->avail

if suddenly lost network on captiveportal page, we didnt recover
gracefully when network become available. we should reload the current
page on network available.

Bug: 65041224
Test: Manaul
Change-Id: I356dbf73ef3ce9788883bf6561929d961c3a6888

6 years agoMerge "Remove unused methods from OMS" am: fd5cdfc924 am: 55a2494df3
Mårten Kongstad [Thu, 31 Aug 2017 22:24:26 +0000 (22:24 +0000)]
Merge "Remove unused methods from OMS" am: fd5cdfc924 am: 55a2494df3
am: 5e9775cb59

Change-Id: Ie922a1a605a8b1d8d697713c919d4dd82ffff20e

6 years agoMerge changes I7218f17a,I96b7340a am: 111c955d1d am: 96e763fe71
Mårten Kongstad [Thu, 31 Aug 2017 22:03:11 +0000 (22:03 +0000)]
Merge changes I7218f17a,I96b7340a am: 111c955d1d am: 96e763fe71
am: 38f0f5687f

Change-Id: I8d3c46d10463f4c64f7ef96006c31c1343710f53

6 years agoMerge "Remove unused methods from OMS" am: fd5cdfc924
Mårten Kongstad [Thu, 31 Aug 2017 22:03:09 +0000 (22:03 +0000)]
Merge "Remove unused methods from OMS" am: fd5cdfc924
am: 55a2494df3

Change-Id: Id985902c3eadcacac645ba545ad07fdee9801284

6 years agoDon't vibrate on un-tuned devices when opening notification shade.
Michael Wright [Thu, 31 Aug 2017 21:54:04 +0000 (14:54 -0700)]
Don't vibrate on un-tuned devices when opening notification shade.

Bug: 65219268
Test: Manual
Change-Id: Ia661608931071102083cdecb56c7be6a123292e5

6 years agoMerge changes I7218f17a,I96b7340a am: 111c955d1d
Mårten Kongstad [Thu, 31 Aug 2017 21:53:08 +0000 (21:53 +0000)]
Merge changes I7218f17a,I96b7340a am: 111c955d1d
am: 96e763fe71

Change-Id: I21e3d230c91a76b77287d13c93a87db2f197e7d7

6 years agoMerge "Don't always fallback to clockTick for EFFECT_TICK." into oc-mr1-dev
Michael Wright [Thu, 31 Aug 2017 21:51:54 +0000 (21:51 +0000)]
Merge "Don't always fallback to clockTick for EFFECT_TICK." into oc-mr1-dev
am: b60141b23c

Change-Id: Ifc2015508739226259f16672f2176623397fe5ab

6 years agoMerge "Remove unused methods from OMS"
Mårten Kongstad [Thu, 31 Aug 2017 21:51:02 +0000 (21:51 +0000)]
Merge "Remove unused methods from OMS"
am: fd5cdfc924

Change-Id: I97fc7e6400a8221c78cf4f94be0089037bcae929

6 years agoDarken car status bar.
Bryan Eyler [Wed, 30 Aug 2017 17:13:20 +0000 (10:13 -0700)]
Darken car status bar.

Darkens the car status bar header, footer, and user switcher.

Bug: 63593747
Tested on Mojave

Change-Id: I7e1973d75936739f16e43c278337dd9771499488

6 years agoMerge changes I7218f17a,I96b7340a
Mårten Kongstad [Thu, 31 Aug 2017 21:44:25 +0000 (21:44 +0000)]
Merge changes I7218f17a,I96b7340a
am: 111c955d1d

Change-Id: I64cb964b751561e87115976866646b1db3858e14

6 years agoMerge "Better guarantee a11y service initial state" into oc-mr1-dev
Phil Weaver [Thu, 31 Aug 2017 21:44:19 +0000 (21:44 +0000)]
Merge "Better guarantee a11y service initial state" into oc-mr1-dev
am: c354e02234

Change-Id: I1fcb2898c1081797e2f6068e5ec9d1ea34452dfc

6 years agoMerge "Don't always fallback to clockTick for EFFECT_TICK." into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 21:44:01 +0000 (21:44 +0000)]
Merge "Don't always fallback to clockTick for EFFECT_TICK." into oc-mr1-dev

6 years agoMerge "Add multi-display support to FloatingToolbar." into oc-mr1-dev
Tarandeep Singh [Thu, 31 Aug 2017 21:38:33 +0000 (21:38 +0000)]
Merge "Add multi-display support to FloatingToolbar." into oc-mr1-dev
am: 01b6ff0178

Change-Id: Ic3c317435ba408522b2b26f74c4df5a772871566

6 years agoMerge "Remove unused methods from OMS"
Treehugger Robot [Thu, 31 Aug 2017 21:31:31 +0000 (21:31 +0000)]
Merge "Remove unused methods from OMS"

6 years agoMerge "OMS: fix listener callbacks triggered by changes to target package" am: 637dbc...
Mårten Kongstad [Thu, 31 Aug 2017 21:28:14 +0000 (21:28 +0000)]
Merge "OMS: fix listener callbacks triggered by changes to target package" am: 637dbcbb6c am: c2351d1d40
am: b361ec15e4

Change-Id: I91e248a169f9b7f1aa742dbca4fb24d98aef2a4f

6 years agoMerge changes I7218f17a,I96b7340a
Treehugger Robot [Thu, 31 Aug 2017 21:27:42 +0000 (21:27 +0000)]
Merge changes I7218f17a,I96b7340a

* changes:
  ResourcesManager: correct @NonNull -> @Nullable
  AAPT2: Allow <overlay> in AndroidManifest.xml

6 years agoMerge "Better guarantee a11y service initial state" into oc-mr1-dev
Phil Weaver [Thu, 31 Aug 2017 21:20:31 +0000 (21:20 +0000)]
Merge "Better guarantee a11y service initial state" into oc-mr1-dev

6 years agoMerge "OMS: fix listener callbacks triggered by changes to target package" am: 637dbcbb6c
Mårten Kongstad [Thu, 31 Aug 2017 21:14:06 +0000 (21:14 +0000)]
Merge "OMS: fix listener callbacks triggered by changes to target package" am: 637dbcbb6c
am: c2351d1d40

Change-Id: I2222b2ed2479a748cf3124357f91701afe4bd04f

6 years agoRemove PDF Thumbnail functionality
Julian Mancini [Thu, 31 Aug 2017 21:11:16 +0000 (21:11 +0000)]
Remove PDF Thumbnail functionality
am: 30175b958e

Change-Id: Id58212dce0b51eada2a31936f1614d773d89ecad

6 years agoFix transition between two occluding activities
Jorim Jaggi [Mon, 28 Aug 2017 13:44:43 +0000 (15:44 +0200)]
Fix transition between two occluding activities

This fixes an issue when starting an activity that occldues
Keyguard with the window flag from an activity that is already
occluding Keyguard. Normally we wait until the transition starts
until the next activity had a chance to set its layout flag
(FLAG_SHOW_WHEN_LOCKED) with the UnknownVisibilityController.

Now, since setAppVisibility(false) was called after immediately
starting the activity, we removed the activity immediately from
the UnknownVisibilityController waiting list and then unoccluded
Keyguard.

We fix this by only adding an activity to the unknown visibility
list if it's a not a noDisplay activity as it will never add
a window in this case, so a relayout will never happen.

This regressed from I745e985766a1af97203e1d22b6443dabdd0c0363
because calling setVisible(true) was setting the token's visible
to true. Then, setVisible(false) was NOT ignored anymore.
Previously it was just ignored because the app wasn't made visible
yet from WM perspective.

Test: go/wm-smoke
Test: android.server.cts.KeyguardTransitionTests#testNewActivityDuringOccluded
Test: Launch camera from unlocked Keyguard by swiping from the
icon with animation transition scale set to 0.5. (regression test)

Change-Id: Idc2a5523f4653ae9788ba145c2d980343ae459f4
Merged-In: Idc2a5523f4653ae9788ba145c2d980343ae459f4
Fixes: 65061212
Bug: 37677242

6 years agoMerge "OMS: fix listener callbacks triggered by changes to target package"
Mårten Kongstad [Thu, 31 Aug 2017 21:03:40 +0000 (21:03 +0000)]
Merge "OMS: fix listener callbacks triggered by changes to target package"
am: 637dbcbb6c

Change-Id: I14d16f460146ac49d89334e41409a90908f04671

6 years agoMerge "OMS: fix listener callbacks triggered by changes to target package"
Treehugger Robot [Thu, 31 Aug 2017 20:51:38 +0000 (20:51 +0000)]
Merge "OMS: fix listener callbacks triggered by changes to target package"

6 years agoMerge "Add multi-display support to FloatingToolbar." into oc-mr1-dev
Tarandeep Singh [Thu, 31 Aug 2017 20:45:48 +0000 (20:45 +0000)]
Merge "Add multi-display support to FloatingToolbar." into oc-mr1-dev

6 years agoRemove PDF Thumbnail functionality
Julian Mancini [Tue, 1 Aug 2017 20:23:08 +0000 (13:23 -0700)]
Remove PDF Thumbnail functionality

Bug: 64225798
Test: Removing Functionality
Change-Id: Id02f1b50d161c6f2779c9f65c579383c18028b65

6 years agoMerge "Whitelist free sms shortcode 76551 in Mexico for constlletion." am: 4bddd5c44b...
lingjunl [Thu, 31 Aug 2017 20:20:44 +0000 (20:20 +0000)]
Merge "Whitelist free sms shortcode 76551 in Mexico for constlletion." am: 4bddd5c44b am: 2e1c643919
am: bc198d8808

Change-Id: I1312a470243ac02feb6602f49005ebf5e0cecfa5

6 years agoHook up AOD knobs to Settings.Global
jackqdyulei [Thu, 24 Aug 2017 23:14:34 +0000 (16:14 -0700)]
Hook up AOD knobs to Settings.Global

This cl creates AlwaysOnDisplayPolicy, which get values for the
following knobs(go/aod-experiments) from Settings.Global:
1. screen_brightness_array
2. dimming_scrim_array
3. prox_screen_off_delay
4. prox_cooldown_trigger
5. prox_cooldown_period

Also update code to make sure AlwaysOnDisplayPolicy is used
everywhere.

Bug: 64899561
Test: runtest -x AlwaysOnDisplayPolicyTest

Change-Id: I2e83ff980771e67177e4964bd83aa68b2bdca65f

6 years agoFix stuck activity
Jorim Jaggi [Thu, 31 Aug 2017 15:28:27 +0000 (17:28 +0200)]
Fix stuck activity

Assume the following sequence of events:

- prepareAppTransition
- setVisibility(app)
- okToAnimate -> false
- setVisibility(app)

In this case, the first setVisibility call sets a dummy animation
but the second setVisibility call removes the app from
mOpeningApps but does not clear out the animation. In that case,
the app is stuck with the dummy animation set that will get never
cleared.

To fix this, we always reset the animation if a dummy animation is
set when changing the visibility, no matter we use a transit or
not.

Test: Unlock with fingerprint from AOD to homescreen
Change-Id: I0dbe2d9836238aba7f16d3e45649fd4b82ff52f6
Fixes: 65067824

6 years agoMerge "Whitelist free sms shortcode 76551 in Mexico for constlletion." am: 4bddd5c44b
lingjunl [Thu, 31 Aug 2017 20:07:28 +0000 (20:07 +0000)]
Merge "Whitelist free sms shortcode 76551 in Mexico for constlletion." am: 4bddd5c44b
am: 2e1c643919

Change-Id: Iee6c3304bd4db32e05ab7a44ade5d152358bcb4f

6 years agoMerge "Do not call setAlwaysButtonEnabled if the activity doesn't support defaults...
Ruchi Kandoi [Thu, 31 Aug 2017 20:01:13 +0000 (20:01 +0000)]
Merge "Do not call setAlwaysButtonEnabled if the activity doesn't support defaults." into oc-mr1-dev
am: c1235a1ff2

Change-Id: I109b96ae365e102428fbe6c7174ebd140145e293

6 years agoMerge "Whitelist free sms shortcode 76551 in Mexico for constlletion."
lingjunl [Thu, 31 Aug 2017 19:57:19 +0000 (19:57 +0000)]
Merge "Whitelist free sms shortcode 76551 in Mexico for constlletion."
am: 4bddd5c44b

Change-Id: Ic2a1ae0ee1560870f01289925a978b9b11b860cc

6 years agoMerge "Fixed FillResponse.toString() to display list of datasets." into oc-mr1-dev
Felipe Leme [Thu, 31 Aug 2017 19:54:07 +0000 (19:54 +0000)]
Merge "Fixed FillResponse.toString() to display list of datasets." into oc-mr1-dev
am: ac2a765a18

Change-Id: Ic84ca582b444c145609d79a04232926da6deb118

6 years agoMerge "Do not call setAlwaysButtonEnabled if the activity doesn't support defaults...
TreeHugger Robot [Thu, 31 Aug 2017 19:47:42 +0000 (19:47 +0000)]
Merge "Do not call setAlwaysButtonEnabled if the activity doesn't support defaults." into oc-mr1-dev

6 years agoMerge "Whitelist free sms shortcode 76551 in Mexico for constlletion."
lingjunl [Thu, 31 Aug 2017 19:46:39 +0000 (19:46 +0000)]
Merge "Whitelist free sms shortcode 76551 in Mexico for constlletion."

6 years agoMerge "Fixed FillResponse.toString() to display list of datasets." into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 19:43:01 +0000 (19:43 +0000)]
Merge "Fixed FillResponse.toString() to display list of datasets." into oc-mr1-dev

6 years agoHide battery percentage from accessibility.
Jason Monk [Thu, 31 Aug 2017 19:23:32 +0000 (15:23 -0400)]
Hide battery percentage from accessibility.

It's parent already has a content description containing the percentage.
Its duplicative to have both.

Test: manual
Change-Id: I5119a1b4fa101726b26da9e226a51891f6b39892
Fixes: 65124571

6 years agoMerge "Wrap all exceptions/crashes while plugins are active" into oc-mr1-dev
Jason Monk [Thu, 31 Aug 2017 18:59:28 +0000 (18:59 +0000)]
Merge "Wrap all exceptions/crashes while plugins are active" into oc-mr1-dev
am: 6bf3564040

Change-Id: Ide9a861d5db82dc8f83516ed0b340cf7468856e3

6 years agoMerge "Wrap all exceptions/crashes while plugins are active" into oc-mr1-dev
Jason Monk [Thu, 31 Aug 2017 18:50:13 +0000 (18:50 +0000)]
Merge "Wrap all exceptions/crashes while plugins are active" into oc-mr1-dev

6 years agoEnsure that PiP mode changed callback if animation is interrupted
Winson Chung [Mon, 14 Aug 2017 20:33:51 +0000 (13:33 -0700)]
Ensure that PiP mode changed callback if animation is interrupted

- If a PiP enter animation callback is interrupted, the activity is never
  actually put into PiP mode, and will never receive
  onPictureInPictureModeChanged(false) even if enterPictureInPictureMode()
  returns true due to the change being deduped (it was never in that mode).
  In this specific case, force a callback to be made to the app so that it
  has a signal that it is no longer in PiP mode.

Bug: 63749396
Test: bit FrameworksServicesTests:com.android.server.wm.BoundsAnimationControllerTests
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testEnterPipInterruptedCallbacks

Change-Id: I301c70e4fb0f2175dd6d7b5feae065b41df2878d

6 years agoDon't cancel by UID when an app is disabled or uninstalled
Makoto Onuki [Wed, 30 Aug 2017 21:53:16 +0000 (14:53 -0700)]
Don't cancel by UID when an app is disabled or uninstalled

Instead, cancel by UID/package.

Bug: 64536115
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsJobSchedulerTestCases
Test: adb shell pm disable com.google.android.hiddenmenu and
    adb shell pm enable com.google.android.hiddenmenu and check logcat
Change-Id: I8f50c459cf321ac43fd2a6696cb8d4c593accd67

6 years agoMerge changes from topic "am-32df9c80b45e459abc307fb7f14e48f6" into oc-mr1-dev-plus...
Android Build Merger (Role) [Thu, 31 Aug 2017 18:20:23 +0000 (18:20 +0000)]
Merge changes from topic "am-32df9c80b45e459abc307fb7f14e48f6" into oc-mr1-dev-plus-aosp

* changes:
  Merge changes I30e39943,I4b5fb782,I8fe0ddbd into cw-f-dev am: 1c0dba5014 am: 80a0f290f6 am: e274cd7ae9 am: a8441ebf84 am: 5087723199
  DO NOT MERGE ANYWHERE: Listen TRANSPORT_BLUETOOTH network change in GnssLocationProvider am: 03c0f16f37  -s ours am: d877297ad4  -s ours am: 6f94a3740a  -s ours am: 2a540e9970  -s ours am: 51c6928864  -s ours

6 years agoMerge changes I30e39943,I4b5fb782,I8fe0ddbd into cw-f-dev am: 1c0dba5014 am: 80a0f290...
Zheng Zhang [Thu, 31 Aug 2017 18:15:48 +0000 (18:15 +0000)]
Merge changes I30e39943,I4b5fb782,I8fe0ddbd into cw-f-dev am: 1c0dba5014 am: 80a0f290f6 am: e274cd7ae9 am: a8441ebf84
am: 5087723199

Change-Id: I7e9564db5d427b10aac0bbb27a423ccd710e79ad