OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Send error if ONS is not available" into qt-r1-dev
Sooraj Sasindran [Wed, 10 Jul 2019 23:05:33 +0000 (23:05 +0000)]
Merge "Send error if ONS is not available" into qt-r1-dev

5 years agoMerge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am...
Bryan Ferris [Wed, 10 Jul 2019 22:55:43 +0000 (15:55 -0700)]
Merge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am: ecc48fbc96 am: f56e704fb5 am: cbac93ac65 am: 137d01def7
am: 9958fb0ba6

Change-Id: I4067e900b10c063109876701c4cb688876a93f80

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am...
Mihai Popa [Wed, 10 Jul 2019 22:51:11 +0000 (15:51 -0700)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am: 77b7393e7d am: 126189263d am: 29534f6c57 am: 09bfff78dd am: 36e9a7af7f am: ff4203a42f
am: d6f5dff4ef

Change-Id: Ica4e68210c4dd52e0c5f2d0f0b0fce953aa6dcca

5 years agoMerge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am...
Bryan Ferris [Wed, 10 Jul 2019 22:43:46 +0000 (15:43 -0700)]
Merge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am: ecc48fbc96 am: f56e704fb5 am: cbac93ac65
am: 137d01def7

Change-Id: I758e4303bf34a82d3e57f800458d34978be5a494

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am...
Mihai Popa [Wed, 10 Jul 2019 22:39:55 +0000 (15:39 -0700)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am: 77b7393e7d am: 126189263d am: 29534f6c57 am: 09bfff78dd am: 36e9a7af7f
am: ff4203a42f

Change-Id: I17193c918ac1e11defda8c275ed9d0b69253d763

5 years agoMerge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am...
Bryan Ferris [Wed, 10 Jul 2019 22:33:21 +0000 (15:33 -0700)]
Merge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am: ecc48fbc96 am: f56e704fb5
am: cbac93ac65

Change-Id: I2067316d6788061b74bd411c83ed5a60f70c3128

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am...
Mihai Popa [Wed, 10 Jul 2019 22:29:42 +0000 (15:29 -0700)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am: 77b7393e7d am: 126189263d am: 29534f6c57 am: 09bfff78dd
am: 36e9a7af7f

Change-Id: Iead8dd8c3e4a0e675a86767bae54c2ddd599e65a

5 years agoMerge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am...
Bryan Ferris [Wed, 10 Jul 2019 22:15:15 +0000 (15:15 -0700)]
Merge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev am: ecc48fbc96
am: f56e704fb5

Change-Id: I1f7f271c666fa52be7eef894cf2fc225780113fc

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am...
Mihai Popa [Wed, 10 Jul 2019 22:10:48 +0000 (15:10 -0700)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am: 77b7393e7d am: 126189263d am: 29534f6c57
am: 09bfff78dd

Change-Id: I8012a2d94f72d0d57fa3086293d81c0e3c8e6316

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev am: 56ff27...
Bryan Ferris [Wed, 10 Jul 2019 22:02:24 +0000 (15:02 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev am: 56ff278c98 am: 4321d1288e
am: d07f3c8128

Change-Id: I37ad3461ea7973bc2621a7513d86308d51547f31

5 years agoMerge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev
Bryan Ferris [Wed, 10 Jul 2019 22:01:49 +0000 (15:01 -0700)]
Merge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev
am: ecc48fbc96

Change-Id: Ie784856bd6bdb05921d7a3c6423ab7d103e5133c

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into pi-dev am: a94d8aed24
Bryan Ferris [Wed, 10 Jul 2019 21:58:30 +0000 (14:58 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into pi-dev am: a94d8aed24
am: 2c8f7e6ae8

Change-Id: I2375c1b4bc262803ce2846bc1884a85524664189

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am...
Mihai Popa [Wed, 10 Jul 2019 21:56:38 +0000 (14:56 -0700)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am: 77b7393e7d am: 126189263d
am: 29534f6c57

Change-Id: Id615c055975d251f45ec995c389e4acbe1274cd8

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev am: 56ff278c98
Bryan Ferris [Wed, 10 Jul 2019 21:50:58 +0000 (14:50 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev am: 56ff278c98
am: 4321d1288e

Change-Id: I17542d6120f01e0ba0ae273e73ad37e0de6a2f51

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into pi-dev
Bryan Ferris [Wed, 10 Jul 2019 21:46:49 +0000 (14:46 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into pi-dev
am: a94d8aed24

Change-Id: I3ab6bbf65d6b78f5cb5a6a544952afd43b4b2c7b

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev
Bryan Ferris [Wed, 10 Jul 2019 21:37:54 +0000 (14:37 -0700)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev
am: 56ff278c98

Change-Id: I5d0aa8799d45d5a75d46691aec2d3487bb27a0a7

5 years agoMerge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev
Bryan Ferris [Wed, 10 Jul 2019 21:11:06 +0000 (21:11 +0000)]
Merge changes from topic "am-8d44d2e5-2b24-4867-a4fc-1c5b430ac3a0" into oc-dev

* changes:
  [automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c am: 1310e43605 am: c3ab9f6ac7 am: 2f9dd0cc12
  [automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c am: 1310e43605 am: c3ab9f6ac7
  [automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c am: 1310e43605
  [automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c
  [automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04
  Fix Layout.primaryIsTrailingPreviousAllLineOffsets

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev
Bryan Ferris [Wed, 10 Jul 2019 21:10:22 +0000 (21:10 +0000)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into oc-mr1-dev

5 years agoMerge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into pi-dev
Bryan Ferris [Wed, 10 Jul 2019 21:10:18 +0000 (21:10 +0000)]
Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into pi-dev

5 years agoMerge "Use old API to build NetworkTemplate" into qt-dev
Lei Yu [Wed, 10 Jul 2019 18:07:38 +0000 (11:07 -0700)]
Merge "Use old API to build NetworkTemplate" into qt-dev
am: e5fdc968a0

Change-Id: I35702ae50d5274defd6974245bf1209ad3a0115f

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am...
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:55 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c am: 1310e43605 am: c3ab9f6ac7 am: 2f9dd0cc12

Change-Id: I287035dba62fde67b298ef638e2316b36837ee6b

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am...
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:52 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c am: 1310e43605 am: c3ab9f6ac7

Change-Id: If8c3c336f3794cab0806a97a7f13d4aec38535c3

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am...
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:47 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c am: 1310e43605

Change-Id: I192651416d07a9adb1897efb7ed4882d94b8a43e

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am...
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:43 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04 am: 5ad1deb51c

Change-Id: I7490ff21f3c5183423bcb70f3d08c2879b80e28b

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:40 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 7d6c02de04

Change-Id: I7fcc292a58dc297d2725ae3df99d637bbd1a8479

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am...
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:37 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am: 77b7393e7d am: 126189263d

Change-Id: If52ab20b7cd84d02518bdfcd46987e329b654e2d

5 years agoFix Layout.primaryIsTrailingPreviousAllLineOffsets
Mihai Popa [Tue, 25 Jun 2019 10:15:18 +0000 (11:15 +0100)]
Fix Layout.primaryIsTrailingPreviousAllLineOffsets

The CL fixes a crash in Layout.primaryIsTrailingPreviousAllLineOffsets.
The crash was happening when the method was called for a line beginning
with an empty bidi run. This could happen, for example, for empty text -
I was unable to find any other case. The CL improves the existing test
for the method with this case, which was previously crashing.

The CL also fixes a potential crash in getLineHorizontals. However, this
bug could never happen as in the current code path clamped is always
false (and kept as parameter for parity with getHorizontal).

Bug: 135444178
Bug: 78464361
Test: atest FrameworksCoreTests:android.text.LayoutTest\#testPrimaryIsTrailingPrevious
Change-Id: I47157abe1d74675884734e3810628a566e40c1b4
(cherry picked from commit 7ad499d00716f45fffdf7331493ed21d1b8d9b77)

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am...
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:32 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d am: 77b7393e7d

Change-Id: I2a5373fa2ea348adde8e5592a5a9fa489c7fe12b

5 years ago[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d
Android Build Merger (Role) [Wed, 10 Jul 2019 18:02:29 +0000 (18:02 +0000)]
[automerger] Fix Layout.primaryIsTrailingPreviousAllLineOffsets am: 2778b1e49d

Change-Id: I0c15ebaddd8d8edb9ff630ffbe4d855219b06907

5 years agoFix Layout.primaryIsTrailingPreviousAllLineOffsets
Mihai Popa [Tue, 25 Jun 2019 10:15:18 +0000 (11:15 +0100)]
Fix Layout.primaryIsTrailingPreviousAllLineOffsets

The CL fixes a crash in Layout.primaryIsTrailingPreviousAllLineOffsets.
The crash was happening when the method was called for a line beginning
with an empty bidi run. This could happen, for example, for empty text -
I was unable to find any other case. The CL improves the existing test
for the method with this case, which was previously crashing.

The CL also fixes a potential crash in getLineHorizontals. However, this
bug could never happen as in the current code path clamped is always
false (and kept as parameter for parity with getHorizontal).

Bug: 135444178
Bug: 78464361
Test: atest FrameworksCoreTests:android.text.LayoutTest\#testPrimaryIsTrailingPrevious
Change-Id: I47157abe1d74675884734e3810628a566e40c1b4
(cherry picked from commit 7ad499d00716f45fffdf7331493ed21d1b8d9b77)

5 years agoFix Layout.primaryIsTrailingPreviousAllLineOffsets
Mihai Popa [Tue, 25 Jun 2019 10:15:18 +0000 (11:15 +0100)]
Fix Layout.primaryIsTrailingPreviousAllLineOffsets

The CL fixes a crash in Layout.primaryIsTrailingPreviousAllLineOffsets.
The crash was happening when the method was called for a line beginning
with an empty bidi run. This could happen, for example, for empty text -
I was unable to find any other case. The CL improves the existing test
for the method with this case, which was previously crashing.

The CL also fixes a potential crash in getLineHorizontals. However, this
bug could never happen as in the current code path clamped is always
false (and kept as parameter for parity with getHorizontal).

Bug: 135444178
Bug: 78464361
Test: atest FrameworksCoreTests:android.text.LayoutTest\#testPrimaryIsTrailingPrevious
Change-Id: I47157abe1d74675884734e3810628a566e40c1b4
(cherry picked from commit 7ad499d00716f45fffdf7331493ed21d1b8d9b77)

5 years agoFix Layout.primaryIsTrailingPreviousAllLineOffsets
Mihai Popa [Tue, 25 Jun 2019 10:15:18 +0000 (11:15 +0100)]
Fix Layout.primaryIsTrailingPreviousAllLineOffsets

The CL fixes a crash in Layout.primaryIsTrailingPreviousAllLineOffsets.
The crash was happening when the method was called for a line beginning
with an empty bidi run. This could happen, for example, for empty text -
I was unable to find any other case. The CL improves the existing test
for the method with this case, which was previously crashing.

The CL also fixes a potential crash in getLineHorizontals. However, this
bug could never happen as in the current code path clamped is always
false (and kept as parameter for parity with getHorizontal).

Bug: 135444178
Bug: 78464361
Test: atest FrameworksCoreTests:android.text.LayoutTest\#testPrimaryIsTrailingPrevious
Change-Id: I47157abe1d74675884734e3810628a566e40c1b4
(cherry picked from commit 7ad499d00716f45fffdf7331493ed21d1b8d9b77)

5 years agoMerge "Use old API to build NetworkTemplate" into qt-dev
Lei Yu [Wed, 10 Jul 2019 17:27:58 +0000 (17:27 +0000)]
Merge "Use old API to build NetworkTemplate" into qt-dev

5 years agoMerge "Update Mainline rollback lifetime from 2 days to 14 days." into qt-dev
Matt Pape [Wed, 10 Jul 2019 16:09:24 +0000 (09:09 -0700)]
Merge "Update Mainline rollback lifetime from 2 days to 14 days." into qt-dev
am: 54c7c6927c

Change-Id: I24b040f5e4a02abebe929f805fbf4e667b29e92b

5 years agoMerge "Update Mainline rollback lifetime from 2 days to 14 days." into qt-dev
Matt Pape [Wed, 10 Jul 2019 15:50:56 +0000 (15:50 +0000)]
Merge "Update Mainline rollback lifetime from 2 days to 14 days." into qt-dev

5 years agoMerge "Fix wallpaper flicker issue while transiting from home to aod." into qt-dev
Ahan Wu [Wed, 10 Jul 2019 13:05:10 +0000 (06:05 -0700)]
Merge "Fix wallpaper flicker issue while transiting from home to aod." into qt-dev
am: 71682ae9c7

Change-Id: Ieb2b576e5178a2885c5c1df0eba41c2c4f6d50ae

5 years agoMerge "Fix wallpaper flicker issue while transiting from home to aod." into qt-dev
TreeHugger Robot [Wed, 10 Jul 2019 12:57:14 +0000 (12:57 +0000)]
Merge "Fix wallpaper flicker issue while transiting from home to aod." into qt-dev

5 years ago[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am...
Chienyuan [Wed, 10 Jul 2019 05:33:28 +0000 (22:33 -0700)]
[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am: 9ac58f09c3 am: 181fb5b929 am: e6bf153855 am: 3aaf2811fc am: df484ced0b am: 2a547afdfa am: b36f88020e am: 60aad1a06f
am: 5f70ebf52c

Change-Id: Id4c1a257b04515a03828a33229e5630c75c56ac2

5 years ago[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am...
Chienyuan [Wed, 10 Jul 2019 05:23:46 +0000 (22:23 -0700)]
[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am: 9ac58f09c3 am: 181fb5b929 am: e6bf153855 am: 3aaf2811fc am: df484ced0b am: 2a547afdfa am: b36f88020e
am: 60aad1a06f

Change-Id: I59696232bedf6bc978f66efd8f5df2ec2fb3336a

5 years agoMerge "skip reading vmallocinfo if not needed" into qt-r1-dev
Minchan Kim [Wed, 10 Jul 2019 05:20:45 +0000 (05:20 +0000)]
Merge "skip reading vmallocinfo if not needed" into qt-r1-dev

5 years ago[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am...
Chienyuan [Wed, 10 Jul 2019 05:06:03 +0000 (22:06 -0700)]
[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am: 9ac58f09c3 am: 181fb5b929 am: e6bf153855 am: 3aaf2811fc am: df484ced0b am: 2a547afdfa
am: b36f88020e

Change-Id: I34205b247a3261c940c9704f8b3f03bd10ec3238

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Wed, 10 Jul 2019 05:05:53 +0000 (22:05 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 2f5007db0a -s ours
am skip reason: subject contains skip directive

Change-Id: I0ee7268a62a9ba07a758dbe07f16fb019012265e

5 years ago[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am...
Chienyuan [Wed, 10 Jul 2019 04:47:21 +0000 (21:47 -0700)]
[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am: 9ac58f09c3 am: 181fb5b929 am: e6bf153855 am: 3aaf2811fc am: df484ced0b
am: 2a547afdfa

Change-Id: I0ec4664b3654fb0b8397a89b8948183413d7d522

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 10 Jul 2019 04:38:34 +0000 (04:38 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years ago[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am...
Chienyuan [Wed, 10 Jul 2019 04:33:15 +0000 (21:33 -0700)]
[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am: 9ac58f09c3 am: 181fb5b929 am: e6bf153855 am: 3aaf2811fc
am: df484ced0b

Change-Id: I174f1594f8f7ae21979398ba29b961e95bd47c75

5 years agoMerge "Clear the calling identity in isUsableDisplay." into qt-dev
wilsonshih [Wed, 10 Jul 2019 02:15:00 +0000 (19:15 -0700)]
Merge "Clear the calling identity in isUsableDisplay." into qt-dev
am: 6102c2f7fd

Change-Id: I08fbfbf82fe071548a83ede56af3cee84a4ebd9a

5 years agoMerge "Clear the calling identity in isUsableDisplay." into qt-dev
TreeHugger Robot [Wed, 10 Jul 2019 01:51:24 +0000 (01:51 +0000)]
Merge "Clear the calling identity in isUsableDisplay." into qt-dev

5 years agoskip reading vmallocinfo if not needed
Minchan Kim [Tue, 9 Jul 2019 02:57:41 +0000 (11:57 +0900)]
skip reading vmallocinfo if not needed

If kernel supports vmalloc memory accouting from /proc/meminfo
(https://patchwork.kernel.org/patch/10944111/)
it's pointless to parse /proc/vmallocinfo since it's too heavy

Bug: 136688885
Test: manual checking right vmalloc pages from meminfo
Test: manual checking check that never invokes ReadVmallocInfo if
      kernel supports vmalloc pages
Change-Id: I725ea1f8a0c4ab07e78893fdb39661a65eac39e6
Signed-off-by: Minchan Kim <minchan@google.com>
5 years agoSend error if ONS is not available
Sooraj Sasindran [Tue, 9 Jul 2019 22:12:28 +0000 (15:12 -0700)]
Send error if ONS is not available

Send error for data switch api if ONS is not available

Bug: 136294842
Test: regression test
Change-Id: If844939c0936729e4487b6e4f75cd58d28195718

5 years agoUse old API to build NetworkTemplate
Lei Yu [Tue, 9 Jul 2019 22:17:49 +0000 (15:17 -0700)]
Use old API to build NetworkTemplate

Use old API to be consistent with NetworkPolicyManagerService

Bug: 135105735
Test: RunSettingsLibRoboTests & Manual test
Change-Id: I5d04cfd962c3d09cac7d33a97f847771074ab258

5 years agoMerge "Document restricted permissions" into qt-dev
Svet Ganov [Wed, 10 Jul 2019 00:13:42 +0000 (17:13 -0700)]
Merge "Document restricted permissions" into qt-dev
am: b2017ccba4

Change-Id: I99cc9de09ffce2aa7c32746d34973633b67af9ca

5 years agoMerge "Document restricted permissions" into qt-dev
TreeHugger Robot [Tue, 9 Jul 2019 23:38:18 +0000 (23:38 +0000)]
Merge "Document restricted permissions" into qt-dev

5 years agoMerge "Fix ordering of check minimized state callback" into qt-r1-dev
Winson Chung [Tue, 9 Jul 2019 23:12:24 +0000 (23:12 +0000)]
Merge "Fix ordering of check minimized state callback" into qt-r1-dev

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Tue, 9 Jul 2019 22:04:10 +0000 (15:04 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: a5121a4fa9 -s ours
am skip reason: subject contains skip directive

Change-Id: Id7bd1bad477b9d751235519e042da6541ab2a156

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Tue, 9 Jul 2019 21:40:30 +0000 (21:40 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Tue, 9 Jul 2019 21:31:59 +0000 (21:31 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoMerge "Wait for current task to complete before revoking challenge" into qt-r1-dev
TreeHugger Robot [Tue, 9 Jul 2019 21:09:28 +0000 (21:09 +0000)]
Merge "Wait for current task to complete before revoking challenge" into qt-r1-dev

5 years agoDocument restricted permissions
Svet Ganov [Tue, 9 Jul 2019 20:23:28 +0000 (13:23 -0700)]
Document restricted permissions

Test: N/A

Bug: 132174864

Change-Id: If56475fc6ac72e17bed8b0960cc63a8ecc87e4de

5 years agoMerge "Allow path specification for rounded corners" into qt-r1-dev
Miranda Kephart [Tue, 9 Jul 2019 19:35:29 +0000 (19:35 +0000)]
Merge "Allow path specification for rounded corners" into qt-r1-dev

5 years agoWait for current task to complete before revoking challenge
Ilya Matyukhin [Tue, 9 Jul 2019 18:03:07 +0000 (11:03 -0700)]
Wait for current task to complete before revoking challenge

Test: enrolled from Settings and quickly pressed the power button twice
Test: before hitting "done". The phone did not deadlock.
Bug: 136444006
Change-Id: I7e87c0722b84cde0cb96103f6b94535ca3a96798

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Tue, 9 Jul 2019 18:16:26 +0000 (18:16 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoMerge "Update docs for UID_STATE" into qt-dev
Svet Ganov [Tue, 9 Jul 2019 17:55:59 +0000 (10:55 -0700)]
Merge "Update docs for UID_STATE" into qt-dev
am: 261a2d62e2

Change-Id: Ibdca805d9105e60955b8258409752f13305b57ed

5 years agoUpdate Mainline rollback lifetime from 2 days to 14 days.
Matt Pape [Tue, 9 Jul 2019 17:41:20 +0000 (10:41 -0700)]
Update Mainline rollback lifetime from 2 days to 14 days.

Test: atest RollbackTest
      atest RollbackE2EHostTestCases
Bug: 137094406

Change-Id: I587d9fca25ead8b7edb76550703837642db545e4

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 9 Jul 2019 17:45:10 +0000 (10:45 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I472198fa69c05ce0dc31445d0d2aaa87083acea8

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 9 Jul 2019 17:40:53 +0000 (10:40 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I75c667821566cceb965581d51a0a2e59418faf1f

5 years agoMerge "Update docs for UID_STATE" into qt-dev
TreeHugger Robot [Tue, 9 Jul 2019 17:25:49 +0000 (17:25 +0000)]
Merge "Update docs for UID_STATE" into qt-dev

5 years agoFix ordering of check minimized state callback
Winson Chung [Thu, 27 Jun 2019 20:37:18 +0000 (13:37 -0700)]
Fix ordering of check minimized state callback

- We previously notified the docked stack minimized changed asynchronously
  (ag/6130053) but now this is a direct call, which causes the notify to
  trigger a cancel of the recents animation, which triggers another
  notifyDockedStackMinimizedChanged() call with the new state, which leads
  to an inversion of delivered states to sysui.  Instead, always notify
  the remote listeners prior to synchronously updating the internal state.

Bug: 133243292
Test: Show the IME in split screen and try to swipe up (this should just
      dismiss the IME and not leave the user in a broken split screen
      minimized state)

Change-Id: I181e039d5823b635e36657a795d05c9e30366364

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 9 Jul 2019 17:22:25 +0000 (10:22 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I0d7961d23435734a3202e8d7f285152f3aba3beb

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 9 Jul 2019 16:42:14 +0000 (09:42 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7d9c66b3ec8346879bf2f2d2a0c266b7af27040a

5 years agoFix wallpaper flicker issue while transiting from home to aod.
Ahan Wu [Thu, 4 Jul 2019 12:50:00 +0000 (20:50 +0800)]
Fix wallpaper flicker issue while transiting from home to aod.

There is a race condition between window visibility and wallpaper
transition, so wallpaper window might become visible before background
thread has done its rendering work and a flicker happens.

This solution just lets main thread wait for background thread to
synchronize window visibility and wallpaper transition.

Bug: 136643341
Test: atest SystemUITests
Test: Screen off  Launcher/APP -> AOD : No extra transition by design,
      The duration between press Power Key and AOD show should be same.
Test: Screen on AOD -> Launcher : Face unlock work without flickr
Test: Screen off Keyguard -> AOD : Either Panel or background transition without flickr
Test: Screen on AOD -> Keyguard : Either Panel or background transition without flickr
Test: Reach in AOD -> Keyguard : Either Panel or background transition without flickr
Test: Reach out Keyguard -> AOD : Either Panel or background transition without flickr
Test: Manually operate and observe log.
Change-Id: Iebfdac18972569864c047bc2c4a33d7791940896

5 years agoMerge "Launch recents from main thread" into qt-r1-dev
Jorim Jaggi [Tue, 9 Jul 2019 12:50:57 +0000 (12:50 +0000)]
Merge "Launch recents from main thread" into qt-r1-dev

5 years ago[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am...
Android Build Merger (Role) [Tue, 9 Jul 2019 07:11:53 +0000 (07:11 +0000)]
[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am: 9ac58f09c3 am: 181fb5b929 am: e6bf153855 am: 3aaf2811fc

Change-Id: Id1233680c478ff3367d69375056dd5d0bc1867ff

5 years ago[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am...
Android Build Merger (Role) [Tue, 9 Jul 2019 07:11:47 +0000 (07:11 +0000)]
[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am: 9ac58f09c3 am: 181fb5b929 am: e6bf153855

Change-Id: Ieb2eab9943a3fde047fbfe947ccad105a5f7160d

5 years ago[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am...
Android Build Merger (Role) [Tue, 9 Jul 2019 07:11:41 +0000 (07:11 +0000)]
[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am: 9ac58f09c3 am: 181fb5b929

Change-Id: Iba55914648e687faaf01bc961c34efbdb72d6569

5 years ago[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am...
Android Build Merger (Role) [Tue, 9 Jul 2019 07:11:36 +0000 (07:11 +0000)]
[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277 am: 9ac58f09c3

Change-Id: I231941e32409574af8c15fe9e763169fe09b279f

5 years ago[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277
Android Build Merger (Role) [Tue, 9 Jul 2019 07:11:28 +0000 (07:11 +0000)]
[automerger] HidProfile: sync isPreferred() with HidHostService am: 830217f277

Change-Id: If9cb4de9ab510f1ddfff44a404a0a248cf9103dc

5 years agoHidProfile: sync isPreferred() with HidHostService
Chienyuan [Tue, 9 Jul 2019 07:09:56 +0000 (15:09 +0800)]
HidProfile: sync isPreferred() with HidHostService

HidHostService allow to connect when priority is PRIORITY_UNDEFINED.
HidProfile should return ture when priority is PRIORITY_UNDEFINED.
Otherwise, the "Input device" toggle in off state when HID device
connected.

Bug: 132456322
Test: manual
Change-Id: Id7bae694c57aec17e019d591c0a677e3cb64f845

5 years agoSpecify the duration time base
Svet Ganov [Tue, 9 Jul 2019 02:33:03 +0000 (19:33 -0700)]
Specify the duration time base
am: 6f672a3835

Change-Id: I647068b041eb06a3814cface4b4dce50bc7ff2e7

5 years agoSpecify the duration time base
Svet Ganov [Mon, 8 Jul 2019 23:40:42 +0000 (16:40 -0700)]
Specify the duration time base

Test: N/A

Bug: 128316830

Change-Id: Idd8f1aaf1a8e0013c01fdf4d668f9d5e81101559

5 years agoUpdate docs for UID_STATE
Svet Ganov [Mon, 8 Jul 2019 23:30:45 +0000 (16:30 -0700)]
Update docs for UID_STATE

Test: N/A

Bug: 128919932

Change-Id: Ibac690db3b58293082f762800bbbff0f832a16b2

5 years agoMerge "Do not trigger revoke-perm callbacks if no change" into qt-dev
Philip P. Moltmann [Mon, 8 Jul 2019 19:58:44 +0000 (12:58 -0700)]
Merge "Do not trigger revoke-perm callbacks if no change" into qt-dev
am: 5401046356

Change-Id: I6b55377cd97583ecf61875b27dc17a91cb344e67

5 years agoMerge "Do not trigger revoke-perm callbacks if no change" into qt-dev
Philip P. Moltmann [Mon, 8 Jul 2019 19:11:58 +0000 (19:11 +0000)]
Merge "Do not trigger revoke-perm callbacks if no change" into qt-dev

5 years agoMerge "swipe down to open noti shade fling support" into qt-r1-dev
Hyunyoung Song [Mon, 8 Jul 2019 17:35:04 +0000 (17:35 +0000)]
Merge "swipe down to open noti shade fling support" into qt-r1-dev

5 years agoLaunch recents from main thread
Jorim Jaggi [Mon, 8 Jul 2019 14:53:08 +0000 (16:53 +0200)]
Launch recents from main thread

Such that binder response inherits our nice scheduling
characteristics.

The old logic isn't really needed anymore, as we don't do anything
interesting on the main thread.

Test: Open app from recents
Fixes: 136111411
Change-Id: Ibfb0f60113bc0d9d94844ea4cde0e78723183eb2

5 years agoMerge "GestureExclusion: Fix restriction priority" into qt-dev
Adrian Roos [Mon, 8 Jul 2019 08:21:01 +0000 (01:21 -0700)]
Merge "GestureExclusion: Fix restriction priority" into qt-dev
am: 36151597fb

Change-Id: I9b2c4c530d25a43a480b29158cce99c30c5428c8

5 years agoMerge "GestureExclusion: Fix restriction priority" into qt-dev
TreeHugger Robot [Mon, 8 Jul 2019 08:02:33 +0000 (08:02 +0000)]
Merge "GestureExclusion: Fix restriction priority" into qt-dev

5 years agoswipe down to open noti shade fling support
Hyunyoung Song [Tue, 2 Jul 2019 20:39:05 +0000 (13:39 -0700)]
swipe down to open noti shade fling support

Bug: 136431648
Test: go/swipe-down-home-open-notishade
Change-Id: Idef337ae0977e8ec3fb6288eb0cc84fc48619ca1

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Sat, 6 Jul 2019 01:47:31 +0000 (18:47 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: b37de73103 -s ours
am skip reason: subject contains skip directive

Change-Id: I4a4b41b10d4f468b5d78e396d7f1634ab4762eda

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 6 Jul 2019 01:26:47 +0000 (01:26 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Fading away notification panel individually" into qt-r1-dev
Selim Cinek [Fri, 5 Jul 2019 20:18:38 +0000 (20:18 +0000)]
Merge "Fading away notification panel individually" into qt-r1-dev

5 years agoGestureNav: Fix broken exclusion rect calculation for modal windows
Adrian Roos [Fri, 5 Jul 2019 14:39:19 +0000 (07:39 -0700)]
GestureNav: Fix broken exclusion rect calculation for modal windows
am: b106379310

Change-Id: I648cecc7d0fc7e24692c6eee0f27db072bdf8bbd

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Fri, 5 Jul 2019 13:58:31 +0000 (13:58 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoMerge "Reland "Prevent dismissing starting window when reopening app"" into qt-r1-dev
Jorim Jaggi [Fri, 5 Jul 2019 13:41:17 +0000 (13:41 +0000)]
Merge "Reland "Prevent dismissing starting window when reopening app"" into qt-r1-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 5 Jul 2019 10:11:32 +0000 (03:11 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I9d8375570390ccc3164116ab2f4c472105d4a335

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 5 Jul 2019 09:03:54 +0000 (02:03 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I634b80fa18b8f14a90e5494933bf9b49a4c3f68f

5 years agoFading away notification panel individually
Selim Cinek [Tue, 2 Jul 2019 02:44:18 +0000 (19:44 -0700)]
Fading away notification panel individually

Previously the notification panel was fading away all together,
which doesn't work when the notifications need to stay around.
We're now fading the whole panel away.

Bug: 134952761
Test: pick up phone and unlock, observe normal behavior
Change-Id: I48d12776dc8b4bd51c1a35c2b822caeef38eb850

5 years agoGestureExclusion: Fix restriction priority
Adrian Roos [Wed, 3 Jul 2019 13:35:07 +0000 (15:35 +0200)]
GestureExclusion: Fix restriction priority

Bottom restrictions should be applied first.

Bug: 135522625
Test: adb shell setprop debug.pointerlocation.showexclusion true; adb shell stop; adb shell start; open app excluding entire edge, verify bottom part is applied.
Change-Id: Ifc2bc64b1ce3132f198e23ae8e271380acf0c5a1

5 years agoGestureNav: Fix broken exclusion rect calculation for modal windows
Adrian Roos [Fri, 28 Jun 2019 10:10:51 +0000 (12:10 +0200)]
GestureNav: Fix broken exclusion rect calculation for modal windows

Fixes an issue with non-fullscreen modal windows (such as dialogs), where the touch exclusion of
the window behind was still being applied, even though the window behind did not actually
receive the touches in the exclusion, because they would go to the modal window in front.

Bug: 135522625
Test: atest testCalculateSystemGestureExclusion_modal
Change-Id: Ia99f4f601e780715abaf966f6f297fd9d555fd0b

5 years agoMerge "WM: implicitly exclude all edges for pre-Q immersive sticky apps" into qt-dev
Adrian Roos [Thu, 4 Jul 2019 15:07:23 +0000 (08:07 -0700)]
Merge "WM: implicitly exclude all edges for pre-Q immersive sticky apps" into qt-dev
am: 8ef731c232

Change-Id: I38453506b3801252c44289a988998261ad97d70b

5 years agoMerge "WM: implicitly exclude all edges for pre-Q immersive sticky apps" into qt-dev
TreeHugger Robot [Thu, 4 Jul 2019 14:35:42 +0000 (14:35 +0000)]
Merge "WM: implicitly exclude all edges for pre-Q immersive sticky apps" into qt-dev