OSDN Git Service

android-x86/frameworks-base.git
6 years ago[automerger skipped] Merge "Pin compiled code of HOME app" into pi-dev am: 0e5e46f874
Jorim Jaggi [Sat, 14 Jul 2018 00:47:13 +0000 (17:47 -0700)]
[automerger skipped] Merge "Pin compiled code of HOME app" into pi-dev am: 0e5e46f874
am: 5439a6ea84  -s ours

Change-Id: Idede8a84e1173ca21c24b166bd45a014e597cda8

6 years agoMerge "Add system property for turn on system audio control when power on device."
TreeHugger Robot [Sat, 14 Jul 2018 00:36:30 +0000 (00:36 +0000)]
Merge "Add system property for turn on system audio control when power on device."

6 years agoMerge "Pin compiled code of HOME app" into pi-dev
Jorim Jaggi [Sat, 14 Jul 2018 00:13:14 +0000 (17:13 -0700)]
Merge "Pin compiled code of HOME app" into pi-dev
am: 0e5e46f874

Change-Id: I205971bc6c8309fc4ad40b4a4677703adecf4a75

6 years agoMerge "AAPT2: Refactor flags into commands"
Ryan Mitchell [Fri, 13 Jul 2018 23:24:57 +0000 (23:24 +0000)]
Merge "AAPT2: Refactor flags into commands"

6 years agoMerge "Remove an unused parameter from InstallArgs.doRename"
TreeHugger Robot [Fri, 13 Jul 2018 23:14:22 +0000 (23:14 +0000)]
Merge "Remove an unused parameter from InstallArgs.doRename"

6 years agoMerge "Add fallback case to layers_extensions.cpp"
Victor Khimenko [Fri, 13 Jul 2018 22:42:35 +0000 (22:42 +0000)]
Merge "Add fallback case to layers_extensions.cpp"

6 years agoMerge "Pin compiled code of HOME app" into pi-dev
Jorim Jaggi [Fri, 13 Jul 2018 22:36:08 +0000 (22:36 +0000)]
Merge "Pin compiled code of HOME app" into pi-dev

6 years agoAAPT2: Refactor flags into commands
Ryan Mitchell [Tue, 10 Jul 2018 20:51:36 +0000 (13:51 -0700)]
AAPT2: Refactor flags into commands

Refactors the flag based command invocation into classes that make using
subcommands easier.

Test: manual tests of printing
Change-Id: Ic8df6af0be30db552e32150afebecbfeec7e1075

6 years agoMerge "Drop binder calling identity before updating device stats"
Christopher Morin [Fri, 13 Jul 2018 21:14:07 +0000 (21:14 +0000)]
Merge "Drop binder calling identity before updating device stats"

6 years agoAdd system property for turn on system audio control when power on device.
Amy [Mon, 25 Jun 2018 18:51:12 +0000 (11:51 -0700)]
Add system property for turn on system audio control when power on device.

Test: make -j18
Change-Id: I32275cccec10cab10dc6b86c4e8b4aa580462b7b

Bug: 80297170
(cherry picked from commit 411d7fdaab1fd99ff109b2d2f2a2049621676ad3)

Change-Id: I7d9c390160e1e79298b3fcbdc8129069b6cddbfc

6 years agoMerge "Add system audio mode related handlers."
TreeHugger Robot [Fri, 13 Jul 2018 21:09:46 +0000 (21:09 +0000)]
Merge "Add system audio mode related handlers."

6 years ago[automerger skipped] Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into stage...
Jack Yu [Fri, 13 Jul 2018 20:56:16 +0000 (13:56 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into stage-aosp-master am: 1bee26f4c3  -s ours
am: 7604760e22  -s ours

Change-Id: I18410bc47cf77987fef4fbb977bec82e953c839f

6 years agoMerge "Activate night mode when battery saver"
Lucas Dupin [Fri, 13 Jul 2018 20:50:48 +0000 (20:50 +0000)]
Merge "Activate night mode when battery saver"

6 years agoMerge "Make Connection#onSilence a public API." am: cbe3737f13 am: 01ab0b90bf
Tyler Gunn [Fri, 13 Jul 2018 20:22:48 +0000 (13:22 -0700)]
Merge "Make Connection#onSilence a public API." am: cbe3737f13 am: 01ab0b90bf
am: 9aca012ab5

Change-Id: Icf3491038487e47983b84255cdc32214595ce470

6 years ago[automerger skipped] Merge "Revert "Update SubscriptionInfo o use strings for mccmnc...
Yueming Wang [Fri, 13 Jul 2018 20:14:26 +0000 (13:14 -0700)]
[automerger skipped] Merge "Revert "Update SubscriptionInfo o use strings for mccmnc"" am: f92ad05fa5  -s ours am: 6dd8f735d2  -s ours
am: 0aff4a19f9  -s ours

Change-Id: Ifd7fa2a83fa262a9c7ae72f80274033f604ebb25

6 years ago[automerger skipped] Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into stage...
Jack Yu [Fri, 13 Jul 2018 20:06:31 +0000 (13:06 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into stage-aosp-master
am: 1bee26f4c3  -s ours

Change-Id: I236396a3080e5b435db417ba2ed10485232976ec

6 years agoAdd system audio mode related handlers.
Amy [Tue, 12 Jun 2018 00:26:26 +0000 (17:26 -0700)]
Add system audio mode related handlers.

Test: atest com.android.server.hdmi
Change-Id: I4fd10ceb9e8a5951584f3917dc267a04091049cf
(cherry picked from commit 714cd0383c639613aa21eabfe3e20bb3b7386244)

6 years agoMerge "Merge "docs: Fixed typos in AdapterView Javadoc." into pi-dev am: 9ef41ccf42...
Shrijana Ghimire [Fri, 13 Jul 2018 19:48:15 +0000 (12:48 -0700)]
Merge "Merge "docs: Fixed typos in AdapterView Javadoc." into pi-dev am: 9ef41ccf42" into pi-dev-plus-aosp
am: 74ecab8a44

Change-Id: I676fa766b26ecfc145ed4d5dd60b1af70dc99529

6 years agoMerge "Make Connection#onSilence a public API." am: cbe3737f13
Tyler Gunn [Fri, 13 Jul 2018 19:45:28 +0000 (12:45 -0700)]
Merge "Make Connection#onSilence a public API." am: cbe3737f13
am: 01ab0b90bf

Change-Id: I8c011d4a495d5240ebec83b07bc0b8f57a3c40ac

6 years ago[automerger skipped] Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into pi...
Jack Yu [Fri, 13 Jul 2018 19:38:03 +0000 (12:38 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into pi-dev-plus-aosp
am: 2e1eb41ec1  -s ours

Change-Id: I4614419886138038f4ee7c2fa317d012806d022c

6 years ago[automerger skipped] Merge "Revert "Update SubscriptionInfo o use strings for mccmnc...
Yueming Wang [Fri, 13 Jul 2018 19:36:51 +0000 (12:36 -0700)]
[automerger skipped] Merge "Revert "Update SubscriptionInfo o use strings for mccmnc"" am: f92ad05fa5  -s ours
am: 6dd8f735d2  -s ours

Change-Id: I6cb9a490d20e71432ea7f6afd87ae58a5570d34e

6 years agoMerge "Merge "docs: Fixed typos in AdapterView Javadoc." into pi-dev am: 9ef41ccf42...
Android Build Merger (Role) [Fri, 13 Jul 2018 19:30:22 +0000 (19:30 +0000)]
Merge "Merge "docs: Fixed typos in AdapterView Javadoc." into pi-dev am: 9ef41ccf42" into pi-dev-plus-aosp

6 years agoMerge "docs: Fixed typos in AdapterView Javadoc." into pi-dev
Shrijana Ghimire [Fri, 13 Jul 2018 19:29:55 +0000 (12:29 -0700)]
Merge "docs: Fixed typos in AdapterView Javadoc." into pi-dev
am: 9ef41ccf42

Change-Id: I03291b3758127de3bfef480a6561930f5901014c

6 years agoMerge "DO NOT MERGE - Revert "Hide IWLAN system API"" into stage-aosp-master
Jack Yu [Fri, 13 Jul 2018 19:28:23 +0000 (19:28 +0000)]
Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into stage-aosp-master

6 years agoMerge "DO NOT MERGE - Revert "Hide IWLAN system API"" into pi-dev-plus-aosp
Jack Yu [Fri, 13 Jul 2018 19:28:11 +0000 (19:28 +0000)]
Merge "DO NOT MERGE - Revert "Hide IWLAN system API"" into pi-dev-plus-aosp

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 762470...
Bill Yi [Fri, 13 Jul 2018 19:25:30 +0000 (12:25 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 762470b663  -s ours
am: f734167154  -s ours

Change-Id: Ifb7fb7717bcebd0a94e8906a539d6377a5f2b31f

6 years agoRemove an unused parameter from InstallArgs.doRename
Victor Hsieh [Fri, 13 Jul 2018 19:19:34 +0000 (12:19 -0700)]
Remove an unused parameter from InstallArgs.doRename

Test: build
Bug: None
Change-Id: I1244d18c2a54831366eeba35da07aee248e9e964

6 years agoMerge "Make Connection#onSilence a public API."
Tyler Gunn [Fri, 13 Jul 2018 19:15:45 +0000 (12:15 -0700)]
Merge "Make Connection#onSilence a public API."
am: cbe3737f13

Change-Id: I4ab192ca160219770d7384e88c8e0025137b42bd

6 years ago[automerger skipped] Merge "Revert "Update SubscriptionInfo o use strings for mccmnc""
Yueming Wang [Fri, 13 Jul 2018 19:10:40 +0000 (12:10 -0700)]
[automerger skipped] Merge "Revert "Update SubscriptionInfo o use strings for mccmnc""
am: f92ad05fa5  -s ours

Change-Id: If211a292335419751be21e670b1ddb489d3c54b4

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Fri, 13 Jul 2018 19:08:05 +0000 (12:08 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 762470b663  -s ours

Change-Id: If96f549175221087b8e5942ff286928b1bcb7f22

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 13 Jul 2018 19:07:37 +0000 (19:07 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "docs: Fixed typos in AdapterView Javadoc." into pi-dev
Shrijana Ghimire [Fri, 13 Jul 2018 19:03:24 +0000 (19:03 +0000)]
Merge "docs: Fixed typos in AdapterView Javadoc." into pi-dev

6 years agoMerge "Add an assist mic to the navigation bar"
Brad Stenning [Fri, 13 Jul 2018 19:01:11 +0000 (19:01 +0000)]
Merge "Add an assist mic to the navigation bar"

6 years agoMerge "Add partial request arc init/terminate handlers and tests"
TreeHugger Robot [Fri, 13 Jul 2018 18:56:33 +0000 (18:56 +0000)]
Merge "Add partial request arc init/terminate handlers and tests"

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 13 Jul 2018 18:40:05 +0000 (18:40 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: c2f735...
Bill Yi [Fri, 13 Jul 2018 18:39:37 +0000 (11:39 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: c2f735b844  -s ours
am: 3d87fa503d  -s ours

Change-Id: If556e6f195e2d80d576052c35847722800aac807

6 years agoMerge "ValueMetric supports multiple aggregation types"
TreeHugger Robot [Fri, 13 Jul 2018 18:35:52 +0000 (18:35 +0000)]
Merge "ValueMetric supports multiple aggregation types"

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Fri, 13 Jul 2018 18:26:02 +0000 (11:26 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: c2f735b844  -s ours

Change-Id: Ia4f46d8b32b0158ffb8f3861399a6bd36f0d4275

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 13 Jul 2018 18:25:28 +0000 (18:25 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 13 Jul 2018 18:04:45 +0000 (18:04 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 17:49:00 +0000 (10:49 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev am: 8f1c70e49b am: d1f53d13a9  -s ours am: 213af1a79e  -s ours am: 66bbd64d7d  -s ours
am: e4dc066e12  -s ours

Change-Id: Idd1f7eb3d18f9f8fd0601069ec583e64b52e1f10

6 years agoAdd partial request arc init/terminate handlers and tests
Amy [Thu, 7 Jun 2018 23:24:31 +0000 (16:24 -0700)]
Add partial request arc init/terminate handlers and tests

Test: atest com.android.server.hdmi
Change-Id: I92ee4598ccb2e6c88863ab0ba3dc3ba682ccd0e2
(cherry picked from commit 5dc9609a08c43ca4134b1eccaea2f23a1681bd61)

6 years agoDO NOT MERGE - Revert "Hide IWLAN system API"
Jack Yu [Fri, 13 Jul 2018 17:32:20 +0000 (10:32 -0700)]
DO NOT MERGE - Revert "Hide IWLAN system API"

This reverts commit ea440a765e2774320910073e5350bdccd39afb6c, reversing
changes made to 0b90c524cb8288f3b8d8111b5724c02630c5b4c6.

Test: Build
Bug: 73659459
Change-Id: I2c52f17090040cea589081c3ed412a14986e3d85

6 years agoValueMetric supports multiple aggregation types
Chenjie Yu [Fri, 6 Jul 2018 23:14:34 +0000 (16:14 -0700)]
ValueMetric supports multiple aggregation types

1. Add support for MIN, MAX, AVG
2. ValueMetric also allow floats now, in addition to long data type.
AnomalyDetection still takes long only. I am not sure if it makes
sense to do anomaly on AVG. I will leave that for later.
3. ValueMetric supports sliced condition change for pushed events.
I don't think it makes sense for pulled events to have sliced condition
changes so leave it for now.

Test: unit test
Change-Id: I8bc510d98ea9b8a6eb16d04ff99dce6b574249cd

6 years agoMerge changes I7021de43,I2854764d
TreeHugger Robot [Fri, 13 Jul 2018 17:16:40 +0000 (17:16 +0000)]
Merge changes I7021de43,I2854764d

* changes:
  Ignore notification from other users
  Fix smart action is not enabled in first whatsapp notification

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 17:14:24 +0000 (10:14 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev am: 8f1c70e49b am: d1f53d13a9  -s ours am: 213af1a79e  -s ours
am: 66bbd64d7d  -s ours

Change-Id: I58c75d2ec05c1470cabed265fa6d4e095ff698b8

6 years agoMerge "Make Connection#onSilence a public API."
Tyler Gunn [Fri, 13 Jul 2018 17:02:36 +0000 (17:02 +0000)]
Merge "Make Connection#onSilence a public API."

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 17:01:06 +0000 (10:01 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-mr1-dev am: 1e5152b539  -s ours am: b32be39c6d  -s ours
am: a162265529  -s ours

Change-Id: I81f7ba17a82d9b58b62d0060f02da672e04cb6cf

6 years agoMerge "NotificationPlayer: release MediaPlayer on error and exception"
TreeHugger Robot [Fri, 13 Jul 2018 16:54:43 +0000 (16:54 +0000)]
Merge "NotificationPlayer: release MediaPlayer on error and exception"

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 16:42:28 +0000 (09:42 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev am: 8f1c70e49b am: d1f53d13a9  -s ours
am: 213af1a79e  -s ours

Change-Id: If0154030422d4ddd2b4383f9e107125d67f7b409

6 years agoMerge "Revert "Update SubscriptionInfo o use strings for mccmnc""
Treehugger Robot [Fri, 13 Jul 2018 16:34:30 +0000 (16:34 +0000)]
Merge "Revert "Update SubscriptionInfo o use strings for mccmnc""

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 16:28:39 +0000 (09:28 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-mr1-dev am: 1e5152b539  -s ours
am: b32be39c6d  -s ours

Change-Id: Ia1dfd55946842083d4e3256a51607cecf59a67b8

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 16:28:11 +0000 (09:28 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev am: 8f1c70e49b
am: d1f53d13a9  -s ours

Change-Id: I293fc38d50e75b0b021dff6af045ac8a2aa6927f

6 years agoMerge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev
Bernie Innocenti [Fri, 13 Jul 2018 16:17:40 +0000 (09:17 -0700)]
Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev
am: 8f1c70e49b

Change-Id: Ic103dfa909ca4567a815b16f0794baf74c1cf068

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 16:17:17 +0000 (09:17 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-mr1-dev
am: 1e5152b539  -s ours

Change-Id: I2ada9a973b1728122a2beb5f47d105af4507c742

6 years agoMerge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev
TreeHugger Robot [Fri, 13 Jul 2018 16:05:32 +0000 (16:05 +0000)]
Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-dev

6 years agoMerge "vpn: allow IPSec traffic through Always-on VPN" into oc-mr1-dev
TreeHugger Robot [Fri, 13 Jul 2018 16:05:27 +0000 (16:05 +0000)]
Merge "vpn: allow IPSec traffic through Always-on VPN" into oc-mr1-dev

6 years agoMerge "Pin compiled code of HOME app"
TreeHugger Robot [Fri, 13 Jul 2018 15:47:19 +0000 (15:47 +0000)]
Merge "Pin compiled code of HOME app"

6 years agoMerge "Allow ignoring return values when checking if class is mockable"
Philip P. Moltmann [Fri, 13 Jul 2018 15:35:39 +0000 (15:35 +0000)]
Merge "Allow ignoring return values when checking if class is mockable"

6 years agoMerge "Fixed auto-brightness first screen update."
TreeHugger Robot [Fri, 13 Jul 2018 15:10:50 +0000 (15:10 +0000)]
Merge "Fixed auto-brightness first screen update."

6 years agoIgnore notification from other users
Tony Mak [Fri, 13 Jul 2018 14:59:29 +0000 (15:59 +0100)]
Ignore notification from other users

This fixed the issue that both personal and work NAS try to suggest
adjustment to work notifications. And if the personal one wins, tapping
on smart actions in work notification will bring up personal app.

BUG: 110527159
Test: Send a message to work profile hangouts. Click on the smart action,
      work app is launched.

Change-Id: I7021de43c10c8ff3abab455b1d58384661b99a76

6 years agoAdd fallback case to layers_extensions.cpp
Victor Khimenko [Fri, 13 Jul 2018 14:53:46 +0000 (16:53 +0200)]
Add fallback case to layers_extensions.cpp

Bug: http://b/79940628

Test: cts-tradefed run commandAndExit cts -m CtsGpuToolsHostTestCases

Change-Id: I9f4ffb6b3afa8c4b8048e1d579c1befbb6565e19

6 years agoAdd an assist mic to the navigation bar
Brad Stenning [Fri, 22 Jun 2018 22:01:11 +0000 (15:01 -0700)]
Add an assist mic to the navigation bar

I also updated the notification hook to use the new NotifcationCenter

Bug:110275838
Test: on dev device and in car
Change-Id: I28d42f6d37226028602fea4ac4d8901ba587a1ce
(cherry picked from commit 4691a983e2c4aaea68c4b642cca788c0933a5e12)

6 years agoMerge "Move values out of car_product to the new CarSystemUI"
Brad Stenning [Fri, 13 Jul 2018 14:43:35 +0000 (14:43 +0000)]
Merge "Move values out of car_product to the new CarSystemUI"

6 years agoMerge "Add notification settings to backup&restore"
Julia Reynolds [Fri, 13 Jul 2018 14:17:07 +0000 (14:17 +0000)]
Merge "Add notification settings to backup&restore"

6 years agoFixed auto-brightness first screen update.
Dan Gittik [Fri, 13 Jul 2018 14:10:39 +0000 (15:10 +0100)]
Fixed auto-brightness first screen update.

When auto-brightness is enabled, it should update the screen as soon
as ALS data is available; however, if that data results in the same
screen brightness as before, this update is optimised away, even
though it should be applied (in case the actual screen brightness
did change, e.g. by a user who turned adaptive brightness off).

Test: Turn adaptive brightness off; set the screen brightness to 0;
      turn adaptive brightness on again (do so several times).
      Before the fix, it would often take a while for the screen
      to brighten (because similar ALS data results in the same
      screen brightness as before, an thus no update is issued).
      After the fix, it should brighten immediately.

Fixes: 111381286

Change-Id: I4b6fa2b0efc77e8d01aa10274e9cc33ca8ad583d

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 13:38:01 +0000 (06:38 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into pi-dev am: 903d59735e  -s ours
am: cf164db36f  -s ours

Change-Id: I6b12b39093e3777994c3f074ec1de5294f967487

6 years ago[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into...
Bernie Innocenti [Fri, 13 Jul 2018 13:30:01 +0000 (06:30 -0700)]
[automerger skipped] Merge "vpn: allow IPSec traffic through Always-on VPN" into pi-dev
am: 903d59735e  -s ours

Change-Id: I459cc0215436f5fb1266a9053404487ac1cbd1f4

6 years agoPin compiled code of HOME app
Jorim Jaggi [Mon, 9 Jul 2018 15:57:10 +0000 (17:57 +0200)]
Pin compiled code of HOME app

Keeping the code in memory of the currently set home app is
important for latency as we don't have any kind of starting
window/splash screen when pressing the home app to hide any latency.

Memory impact:

Pinning dex/vdex:

In practical scenarios, this should be < 500kb.
The home app is usually profile-speed compiled, for which the
resulting dex/vdex files are about 2 mb. However, during regular
use, at least 1.5 MB of it is referenced in memory. This makes
sense: By definition profile-speed only compiles the things that
is usually frequently executed during regular execution.

Pinning apk:
With Launcher 3 in practical scenarios this should be about 3.7 MB,
as the APK is about 5.7 MB but 2 MB are usually referenced in any
case.

Bug: 111132016
Bug: 78585335
Test: Inspect "adb shell dumpsys pinner" after boot.
Test: Check for pinned files after updating camera/home.
Test: Check for pinned files after user switch with different
default apps.
Test: Check for pinned files after bg-dexopt.
Test: Check for pinned files after bg-dexopt + kill pid.

Change-Id: I6cdbc06d089efeb1c72a51216879ba0573502009
Merged-In: I6cdbc06d089efeb1c72a51216879ba0573502009

6 years agoMerge "vpn: allow IPSec traffic through Always-on VPN" into pi-dev
TreeHugger Robot [Fri, 13 Jul 2018 13:19:48 +0000 (13:19 +0000)]
Merge "vpn: allow IPSec traffic through Always-on VPN" into pi-dev

6 years agoPin compiled code of HOME app
Jorim Jaggi [Mon, 9 Jul 2018 15:57:10 +0000 (17:57 +0200)]
Pin compiled code of HOME app

Keeping the code in memory of the currently set home app is
important for latency as we don't have any kind of starting
window/splash screen when pressing the home app to hide any latency.

Memory impact:

Pinning dex/vdex:

In practical scenarios, this should be < 500kb.
The home app is usually profile-speed compiled, for which the
resulting dex/vdex files are about 2 mb. However, during regular
use, at least 1.5 MB of it is referenced in memory. This makes
sense: By definition profile-speed only compiles the things that
is usually frequently executed during regular execution.

Pinning apk:
With Launcher 3 in practical scenarios this should be about 3.7 MB,
as the APK is about 5.7 MB but 2 MB are usually referenced in any
case.

Bug: 111132016
Bug: 78585335
Test: Inspect "adb shell dumpsys pinner" after boot.
Test: Check for pinned files after updating camera/home.
Test: Check for pinned files after user switch with different
default apps.
Test: Check for pinned files after bg-dexopt.
Test: Check for pinned files after bg-dexopt + kill pid.

Change-Id: I6cdbc06d089efeb1c72a51216879ba0573502009

6 years agoFix smart action is not enabled in first whatsapp notification
Tony Mak [Fri, 13 Jul 2018 12:48:53 +0000 (13:48 +0100)]
Fix smart action is not enabled in first whatsapp notification

When there is only one incoming message, whatsapp neither set
category as msg nor use MessageStyle. To fix this, we add one more
heuristic. If a notification has inline reply, we consider it as a
message notification.

BUG: 110527159
Test: Send myself a whatsapp notification. Observe that smart action is
      added.

Change-Id: I2854764dce4eadd4b785d43f3042499607b2e8bf

6 years agoRevert "Update SubscriptionInfo o use strings for mccmnc"
Yueming Wang [Fri, 13 Jul 2018 10:29:43 +0000 (10:29 +0000)]
Revert "Update SubscriptionInfo o use strings for mccmnc"

This reverts commit 0c149bd2d84d6e7c21dd4d7fff1e4dcfd51318f3.

Reason for revert:  reverting this topic as it breaks several branches.

Change-Id: Ia01984242e54b5db5d853135b322ebb1284a4d43
Merged-In: I45c0bfefb7ffe98e3eab8e68d0e1170881ae9f4c

6 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 13 Jul 2018 11:12:01 +0000 (04:12 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I123ada1f5523bb94ee1b7df86889f557566256cd

6 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 13 Jul 2018 11:04:51 +0000 (04:04 -0700)]
Import translations. DO NOT MERGE

Change-Id: I212472dabb6d559ca052e36011d94b6535b1effd
Auto-generated-cl: translation import

6 years agoMerge "Remove not-required assertion in BluetoothTestUtils.disable/enable"
Baisheng Zheng [Fri, 13 Jul 2018 04:45:32 +0000 (04:45 +0000)]
Merge "Remove not-required assertion in BluetoothTestUtils.disable/enable"

6 years agoMerge "Add tests in gce-presubmit-wm.gcl and gce-postsubmit-wm.gcl to TEST_MAPPING"
Dan Shi [Fri, 13 Jul 2018 04:32:14 +0000 (04:32 +0000)]
Merge "Add tests in gce-presubmit-wm.gcl and gce-postsubmit-wm.gcl to TEST_MAPPING"

6 years agoMerge "Skip execution of transactions on a destroyed activity"
TreeHugger Robot [Fri, 13 Jul 2018 03:38:16 +0000 (03:38 +0000)]
Merge "Skip execution of transactions on a destroyed activity"

6 years agoDO NOT MERGE - Revert "Hide IWLAN system API"
Jack Yu [Thu, 12 Jul 2018 22:10:34 +0000 (15:10 -0700)]
DO NOT MERGE - Revert "Hide IWLAN system API"

This reverts commit ea440a765e2774320910073e5350bdccd39afb6c, reversing
changes made to 0b90c524cb8288f3b8d8111b5724c02630c5b4c6.

Test: Build
Bug: 73659459
Change-Id: Id5a5147c6478cf10661aebe52b445bd16195885e

6 years agoMerge "Dark Notification Shade"
Lucas Dupin [Fri, 13 Jul 2018 02:09:31 +0000 (02:09 +0000)]
Merge "Dark Notification Shade"

6 years agoMerge "GiveSystemAudioModeStatus handler and test."
TreeHugger Robot [Fri, 13 Jul 2018 02:05:29 +0000 (02:05 +0000)]
Merge "GiveSystemAudioModeStatus handler and test."

6 years agoActivate night mode when battery saver
Lucas Dupin [Fri, 13 Jul 2018 01:42:53 +0000 (18:42 -0700)]
Activate night mode when battery saver

This as originally in SysUI but UiModeManagerService is cleaner way
of doing it. This way SysUI won't have to keep track of user preferences
or override user settings.

Test: manually toggle battery saver and observe QS
Bug: 104205224
Change-Id: Ic0d24e36eec2ad3b66b32960bfc5e659470044b1

6 years ago[automerger skipped] Merge "DO NOT MERGE: Use minimumHeight in QS header" into pi...
Evan Laird [Fri, 13 Jul 2018 01:29:53 +0000 (18:29 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Use minimumHeight in QS header" into pi-dev am: 090e9d232c
am: 67a6e07ed3  -s ours

Change-Id: Ie751d707232446d896501a3eeb19b65fc6806ca6

6 years agoMerge "Take a context to start setting intent in DreamBackend"
TreeHugger Robot [Fri, 13 Jul 2018 01:09:39 +0000 (01:09 +0000)]
Merge "Take a context to start setting intent in DreamBackend"

6 years agoMerge "MediaPlayer2: skip commands when in error state"
TreeHugger Robot [Fri, 13 Jul 2018 01:08:01 +0000 (01:08 +0000)]
Merge "MediaPlayer2: skip commands when in error state"

6 years agoMerge "Fix a few issues with procstats associations:"
TreeHugger Robot [Fri, 13 Jul 2018 00:56:29 +0000 (00:56 +0000)]
Merge "Fix a few issues with procstats associations:"

6 years agoMerge "DO NOT MERGE: Use minimumHeight in QS header" into pi-dev
Evan Laird [Fri, 13 Jul 2018 00:54:51 +0000 (17:54 -0700)]
Merge "DO NOT MERGE: Use minimumHeight in QS header" into pi-dev
am: 090e9d232c

Change-Id: Ifdd605c54262b533b405a6161b7b857609d576bc

6 years agoMerge "[automerger skipped] Merge "Update SubscriptionInfo o use strings for mccmnc...
Android Build Merger (Role) [Fri, 13 Jul 2018 00:47:52 +0000 (00:47 +0000)]
Merge "[automerger skipped] Merge "Update SubscriptionInfo o use strings for mccmnc" am: 0babf1815c am: 08a4eb9445 am: 2656f6d049  -s ours"

6 years ago[automerger skipped] Merge "Update SubscriptionInfo o use strings for mccmnc" am...
Hall Liu [Fri, 13 Jul 2018 00:46:03 +0000 (17:46 -0700)]
[automerger skipped] Merge "Update SubscriptionInfo o use strings for mccmnc" am: 0babf1815c am: 08a4eb9445
am: 2656f6d049  -s ours

Change-Id: I8be5c1a12aec361c9a119092332c4ee23ee4e9e2

6 years agoMerge "Merge "Audio assets: add NFC sounds" am: 5cb7cd68a0 am: 8df8455384 am: db864758c0"
Android Build Merger (Role) [Fri, 13 Jul 2018 00:39:51 +0000 (00:39 +0000)]
Merge "Merge "Audio assets: add NFC sounds" am: 5cb7cd68a0 am: 8df8455384 am: db864758c0"

6 years agoMerge "Audio assets: add NFC sounds" am: 5cb7cd68a0 am: 8df8455384
Jean-Michel Trivi [Fri, 13 Jul 2018 00:39:15 +0000 (17:39 -0700)]
Merge "Audio assets: add NFC sounds" am: 5cb7cd68a0 am: 8df8455384
am: db864758c0

Change-Id: I7dd9a054f1046ac1e2c21cebb8b69dc04ea452bb

6 years agoMerge "WM: Fix broken layout hint calculation"
TreeHugger Robot [Fri, 13 Jul 2018 00:34:23 +0000 (00:34 +0000)]
Merge "WM: Fix broken layout hint calculation"

6 years agoDark Notification Shade
Lucas Dupin [Mon, 25 Jun 2018 23:21:13 +0000 (16:21 -0700)]
Dark Notification Shade

Test: adb shell service call uimode 4 i32 1 # day
Test: adb shell service call uimode 4 i32 2 # night
Bug: 110758454
Change-Id: Ib6fce91d1aeff7e1fbfe8a7a528095487fbdb3f8

6 years ago[automerger skipped] Merge "Revert "Added documentation for network registration...
Jack Yu [Fri, 13 Jul 2018 00:29:49 +0000 (17:29 -0700)]
[automerger skipped] Merge "Revert "Added documentation for network registration state"" am: 1cbcc50d0a  -s ours am: 2016ffc9ec
am: 153f5a7eb9

Change-Id: I4f0541719df01f341c32b2e5a85d5b640fbe162e

6 years agoMerge "Grant split permissions if root permission is granted"
TreeHugger Robot [Fri, 13 Jul 2018 00:19:23 +0000 (00:19 +0000)]
Merge "Grant split permissions if root permission is granted"

6 years agoMerge "Export BandDescriptor for AIDL."
Tomasz Wasilczyk [Fri, 13 Jul 2018 00:04:32 +0000 (00:04 +0000)]
Merge "Export BandDescriptor for AIDL."

6 years agoMerge "DO NOT MERGE: Use minimumHeight in QS header" into pi-dev
TreeHugger Robot [Thu, 12 Jul 2018 23:34:50 +0000 (23:34 +0000)]
Merge "DO NOT MERGE: Use minimumHeight in QS header" into pi-dev

6 years ago[automerger skipped] Merge "DO NOT MERGE Remove WTF spam" into pi-dev am: 650ead619e
Jorim Jaggi [Thu, 12 Jul 2018 23:14:10 +0000 (16:14 -0700)]
[automerger skipped] Merge "DO NOT MERGE Remove WTF spam" into pi-dev am: 650ead619e
am: bdc73423c6  -s ours

Change-Id: I82b11d019dce0127cce0178f356cd83a4ef39046

6 years ago[automerger skipped] Merge "Acquire service lock in AppTaskImpl.moveToFront()" into...
Winson Chung [Thu, 12 Jul 2018 23:12:23 +0000 (16:12 -0700)]
[automerger skipped] Merge "Acquire service lock in AppTaskImpl.moveToFront()" into pi-dev am: 7775af2778
am: 684eb30cb4  -s ours

Change-Id: I860033381de790bc76a587c8cda34666214681a0

6 years agoMerge "Update SubscriptionInfo o use strings for mccmnc" am: 0babf1815c
Hall Liu [Thu, 12 Jul 2018 23:07:43 +0000 (16:07 -0700)]
Merge "Update SubscriptionInfo o use strings for mccmnc" am: 0babf1815c
am: 08a4eb9445

Change-Id: I0462d1de1c2622499470b00195897ce370a13020