OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "use simOperator name in the notification" into oc-mr1-dev
fionaxu [Fri, 1 Sep 2017 23:51:47 +0000 (23:51 +0000)]
Merge "use simOperator name in the notification" into oc-mr1-dev
am: 277689d81c

Change-Id: I7463fb65b5553772d57b4538ed1aba614a4f47bf

7 years agoMerge "use simOperator name in the notification" into oc-mr1-dev
TreeHugger Robot [Fri, 1 Sep 2017 23:35:20 +0000 (23:35 +0000)]
Merge "use simOperator name in the notification" into oc-mr1-dev

7 years agoMerge "Remove config_tether_apndata for Telstra." into oc-mr1-dev
Amit Mahajan [Fri, 1 Sep 2017 22:36:59 +0000 (22:36 +0000)]
Merge "Remove config_tether_apndata for Telstra." into oc-mr1-dev
am: 233cc70914

Change-Id: I80c9e2a283a33e70410ac755207d1dba0e22896a

7 years agoMerge "Properly clean up broadcast-receiver ANR" into oc-mr1-dev
Christopher Tate [Fri, 1 Sep 2017 22:30:49 +0000 (22:30 +0000)]
Merge "Properly clean up broadcast-receiver ANR" into oc-mr1-dev
am: 9f9ee61cf6

Change-Id: I07387dbbdf90138d06eaf7c14705946dd4ab2fc5

7 years agoMerge "Remove config_tether_apndata for Telstra." into oc-mr1-dev
TreeHugger Robot [Fri, 1 Sep 2017 22:18:15 +0000 (22:18 +0000)]
Merge "Remove config_tether_apndata for Telstra." into oc-mr1-dev

7 years agoMerge "Properly clean up broadcast-receiver ANR" into oc-mr1-dev
TreeHugger Robot [Fri, 1 Sep 2017 22:11:48 +0000 (22:11 +0000)]
Merge "Properly clean up broadcast-receiver ANR" into oc-mr1-dev

7 years agoMerge "Adds ERROR state to ImsConfig" am: 6391598412 am: 7b01ee5cda
Brad Ebinger [Fri, 1 Sep 2017 22:11:40 +0000 (22:11 +0000)]
Merge "Adds ERROR state to ImsConfig" am: 6391598412 am: 7b01ee5cda
am: ec14bc71e2  -s ours

Change-Id: I254f6d797da1fed9585ae70612a5b4ad7d53223e

7 years agoMerge "Merge "Remove PIN/PUK keyguard when SIM is removed/ready" am: 43f9f0290c am...
Android Build Merger (Role) [Fri, 1 Sep 2017 22:07:30 +0000 (22:07 +0000)]
Merge "Merge "Remove PIN/PUK keyguard when SIM is removed/ready" am: 43f9f0290c am: 434ccc8700 am: f22c1d153b  -s ours" into oc-mr1-dev-plus-aosp

7 years agoMerge "Don't over-acquire NPMS locks." into oc-mr1-dev
Jeff Sharkey [Fri, 1 Sep 2017 22:03:47 +0000 (22:03 +0000)]
Merge "Don't over-acquire NPMS locks." into oc-mr1-dev
am: 4576171c33

Change-Id: I2d23f8b238b8386958c0fd7348542713abb355dd

7 years agoMerge "Remove PIN/PUK keyguard when SIM is removed/ready" am: 43f9f0290c am: 434ccc8700
Brad Ebinger [Fri, 1 Sep 2017 22:02:27 +0000 (22:02 +0000)]
Merge "Remove PIN/PUK keyguard when SIM is removed/ready" am: 43f9f0290c am: 434ccc8700
am: f22c1d153b  -s ours

Change-Id: Ifc77226ac149727ab0242044f3d9353c37035bf6

7 years agoMerge "Adds ERROR state to ImsConfig" am: 6391598412
Brad Ebinger [Fri, 1 Sep 2017 21:54:47 +0000 (21:54 +0000)]
Merge "Adds ERROR state to ImsConfig" am: 6391598412
am: 7b01ee5cda

Change-Id: Ibe07686d7e24c86d4011fc4ef8a137c887ba1362

7 years agoMerge "Change AccessPointPreference key generation to match AccessPoint." into oc...
Eric Schwarzenbach [Fri, 1 Sep 2017 21:53:38 +0000 (21:53 +0000)]
Merge "Change AccessPointPreference key generation to match AccessPoint." into oc-mr1-dev
am: c3fbddd712

Change-Id: I3e380512b599891f93a23201813279cfa625f5d6

7 years agoMerge "Remove PIN/PUK keyguard when SIM is removed/ready" am: 43f9f0290c
Brad Ebinger [Fri, 1 Sep 2017 21:43:46 +0000 (21:43 +0000)]
Merge "Remove PIN/PUK keyguard when SIM is removed/ready" am: 43f9f0290c
am: 434ccc8700

Change-Id: I1100fd308158f2bb369ed7043a84b79b4d36e204

7 years agoMerge "Fixed default values for Bluetooth energy calculations" am: 7c45962abd am...
Hansong Zhang [Fri, 1 Sep 2017 21:43:15 +0000 (21:43 +0000)]
Merge "Fixed default values for Bluetooth energy calculations" am: 7c45962abd am: 3f49d1dcef
am: 3b23d171eb

Change-Id: I19c20b9d16b7f07e0ccf45e007d7e8c40d191cb8

7 years agoMerge "Adds ERROR state to ImsConfig"
Brad Ebinger [Fri, 1 Sep 2017 21:37:49 +0000 (21:37 +0000)]
Merge "Adds ERROR state to ImsConfig"
am: 6391598412

Change-Id: I612aae570b12b1106f515d32bd8caa3843a3953e

7 years agoMerge "Don't over-acquire NPMS locks." into oc-mr1-dev
TreeHugger Robot [Fri, 1 Sep 2017 21:34:22 +0000 (21:34 +0000)]
Merge "Don't over-acquire NPMS locks." into oc-mr1-dev

7 years agoMerge "Fixed default values for Bluetooth energy calculations" am: 7c45962abd
Hansong Zhang [Fri, 1 Sep 2017 21:32:44 +0000 (21:32 +0000)]
Merge "Fixed default values for Bluetooth energy calculations" am: 7c45962abd
am: 3f49d1dcef

Change-Id: Idfe642323575c80b40313007328012be1f3b03a9

7 years agoMerge "Remove PIN/PUK keyguard when SIM is removed/ready"
Brad Ebinger [Fri, 1 Sep 2017 21:31:19 +0000 (21:31 +0000)]
Merge "Remove PIN/PUK keyguard when SIM is removed/ready"
am: 43f9f0290c

Change-Id: I9e28e3975331a7af11747065761632a0566deb56

7 years agoMerge "Change AccessPointPreference key generation to match AccessPoint." into oc...
TreeHugger Robot [Fri, 1 Sep 2017 21:29:41 +0000 (21:29 +0000)]
Merge "Change AccessPointPreference key generation to match AccessPoint." into oc-mr1-dev

7 years agoMerge "Fixed default values for Bluetooth energy calculations"
Hansong Zhang [Fri, 1 Sep 2017 21:15:27 +0000 (21:15 +0000)]
Merge "Fixed default values for Bluetooth energy calculations"
am: 7c45962abd

Change-Id: I44390a58e2328a4bee47d6454492c76184f7098d

7 years agouse simOperator name in the notification
fionaxu [Fri, 1 Sep 2017 20:39:55 +0000 (13:39 -0700)]
use simOperator name in the notification

today we are using getNetworkOperator for carrier's name in the
notification which might be misleading in cases users romaing on
different network.
as today there is no reliable way to get carrier's name, we will use
getSimOperator and if that returns empty string, fallback to
networkOperatorName. In the long term, we can use better wording if
simOperatorName is unknown.

Bug:65251050
Test: Manual
Change-Id: I6ffc37f8cc8e686d2e884283be2006cf704e8c64

7 years agoMerge "Adds ERROR state to ImsConfig"
Brad Ebinger [Fri, 1 Sep 2017 21:06:55 +0000 (21:06 +0000)]
Merge "Adds ERROR state to ImsConfig"

7 years agoMerge "Remove PIN/PUK keyguard when SIM is removed/ready"
Brad Ebinger [Fri, 1 Sep 2017 21:06:27 +0000 (21:06 +0000)]
Merge "Remove PIN/PUK keyguard when SIM is removed/ready"

7 years agoMerge "Fixed default values for Bluetooth energy calculations"
Treehugger Robot [Fri, 1 Sep 2017 20:58:49 +0000 (20:58 +0000)]
Merge "Fixed default values for Bluetooth energy calculations"

7 years agoMerge "Adds PnoScanMetrics to wifi.proto" into oc-mr1-dev
Mehdi Alizadeh [Fri, 1 Sep 2017 20:32:23 +0000 (20:32 +0000)]
Merge "Adds PnoScanMetrics to wifi.proto" into oc-mr1-dev
am: 63c5cd7fb0

Change-Id: I9b349268177e9059268a3131467cccd59efac7b0

7 years agoMerge "Add ability to include messages in oom reports." into oc-mr1-dev
Dianne Hackborn [Fri, 1 Sep 2017 20:22:22 +0000 (20:22 +0000)]
Merge "Add ability to include messages in oom reports." into oc-mr1-dev
am: 6243c21bd2

Change-Id: I69003995256fa664e05c6e8748b3104dad205a13

7 years agoMerge "Adds PnoScanMetrics to wifi.proto" into oc-mr1-dev
Mehdi Alizadeh [Fri, 1 Sep 2017 20:14:55 +0000 (20:14 +0000)]
Merge "Adds PnoScanMetrics to wifi.proto" into oc-mr1-dev

7 years agoMerge "Add ability to include messages in oom reports." into oc-mr1-dev
TreeHugger Robot [Fri, 1 Sep 2017 20:07:59 +0000 (20:07 +0000)]
Merge "Add ability to include messages in oom reports." into oc-mr1-dev

7 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

7 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

7 years agoFixed default values for Bluetooth energy calculations
Hansong Zhang [Fri, 18 Aug 2017 22:03:56 +0000 (15:03 -0700)]
Fixed default values for Bluetooth energy calculations

There are values used for Bluetooth energy calculations in the
configuration file. The values were set to 1, 2, 3, 4 and ends up giving
some very wrong energy calculations. They are now set to 0 by default.

Bug: 64662990

Test: manual
Change-Id: I2be2a19f50e2e56d7dadb9ff23b9827520d4d1ea
(cherry picked from commit 3e6eb50e35f4d0fb8db774bed17a46effbc65671)

7 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

7 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

7 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

7 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

7 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

7 years agoProperly clean up broadcast-receiver ANR
Christopher Tate [Fri, 1 Sep 2017 18:41:39 +0000 (11:41 -0700)]
Properly clean up broadcast-receiver ANR

Specifically, if the only receiver component was disabled while the
broadcast was in flight *and* the app ANRed, we were failing to properly
abandon the broadcast and wound up stuck waiting for delivery completion
that would never happen.

Bug: 64854337
Test: manual
Change-Id: I9181830eca17981bf1ca403ac36f88c84c548360

7 years agoDon't over-acquire NPMS locks.
Jeff Sharkey [Fri, 1 Sep 2017 17:27:13 +0000 (11:27 -0600)]
Don't over-acquire NPMS locks.

We only need to hold mNetworkPoliciesSecondLock when working with
subscription plans; before this CL we could end up acquiring the two
NPMS locks out of order, resulting in a deadlock.

Also annotate objects in NSS that require mStatsLock to be held.

Test: builds, boots
Bug: 65268076
Change-Id: I06497564424316ef895dc8dceba72ae784781dc3

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 years agoAdds ERROR state to ImsConfig
Brad Ebinger [Fri, 25 Aug 2017 21:53:30 +0000 (14:53 -0700)]
Adds ERROR state to ImsConfig

Adds the ERROR return state for bool provisioning values
so that we can throw an Exception in some cases.

Bug: 64540800
Test: Manual
Merged-In: Id412c0be939da6240a66a942730fd18badabb6c6
Change-Id: I0b79837c694d245999031ec65783857e114b7c75

7 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."

7 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

7 years agoRemove PIN/PUK keyguard when SIM is removed/ready
Brad Ebinger [Mon, 21 Aug 2017 21:58:52 +0000 (14:58 -0700)]
Remove PIN/PUK keyguard when SIM is removed/ready

1) If the PIN/PUK keyguard comes up for a locked
SIM, it can not be removed by removing the
affected SIM. It can only be removed by
rebooting the device or entering a bogus PIN.

This change automatically clears the keyguard
when when the locked SIM is removed. It will
be shown again if the locked SIM is re-entered.

2) If the device is PUK locked and the code
**05*PUK*new pin* new Pin# is entered in the
emergency dialer, it will unlock the SIM.
By listening to the READY state, we can remove
the keyguard when the SIM is unlocked by
other means.

Bug: 64469515
Bug: 64044132
Test: Manual
Merged-In: I7b576ee7e38f141075cae094e3d1f74b7145d53f
Change-Id: I9507f80edcd4c04dfa0cc3b48a25e619aafa9eb3

7 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)

7 years agoRemove config_tether_apndata for Telstra.
Amit Mahajan [Thu, 31 Aug 2017 20:49:28 +0000 (13:49 -0700)]
Remove config_tether_apndata for Telstra.

Test: manual
Bug: 63564491
Change-Id: Iaca29bfd474b7df6489b1daeaeea182ebf8d81ae

7 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

7 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

7 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

7 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"

7 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

7 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

7 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

7 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

7 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

7 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

7 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"

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 years agoAdd ability to include messages in oom reports.
Dianne Hackborn [Tue, 8 Aug 2017 00:13:52 +0000 (17:13 -0700)]
Add ability to include messages in oom reports.

Test: manual
Bug: 65248777
Merged-In: I1a6b3c02912224b830dbe5573f3b1edebe24c2b3

Change-Id: Ifef2c16f44925c1b7d4ace8435daea48890b238b

7 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

7 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

7 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

7 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

7 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

7 years agoAdds PnoScanMetrics to wifi.proto
Mehdi Alizadeh [Fri, 11 Aug 2017 01:20:25 +0000 (18:20 -0700)]
Adds PnoScanMetrics to wifi.proto

Bug: 32842314
Test: verify builds and runtests.sh
Change-Id: Ia97dfe1c36c95701dd8a4f88707f757cdb7d6bb2

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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