OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "O no, this should be a P." into pi-dev
Daniel Sandler [Thu, 7 Jun 2018 14:14:03 +0000 (14:14 +0000)]
Merge "O no, this should be a P." into pi-dev

6 years ago[automerger skipped] Merge changes from topic "dynamic-ref-se-mnc-dev" into oc-dev...
Ryan Mitchell [Thu, 7 Jun 2018 05:24:04 +0000 (22:24 -0700)]
[automerger skipped] Merge changes from topic "dynamic-ref-se-mnc-dev" into oc-dev am: 2d31069fac am: 53ff808f99  -s ours
am: 35dfd46378  -s ours

Change-Id: Icc7661bca07e16f0b230b35ab7f1df8f0d8a8189

6 years agoO no, this should be a P.
Dan Sandler [Thu, 7 Jun 2018 05:08:34 +0000 (01:08 -0400)]
O no, this should be a P.

Bug: 109804872
Test: none
Change-Id: Ibd6aac069a254a7d5a190e1f4476ba2c4124a758

6 years agoMerge changes from topic "am-c1e91e5e-2686-4871-b188-107c0ddf3273" into oc-dev am...
Ryan Mitchell [Thu, 7 Jun 2018 04:26:05 +0000 (21:26 -0700)]
Merge changes from topic "am-c1e91e5e-2686-4871-b188-107c0ddf3273" into oc-dev am: 075bcf73c8 am: dff068e1e8
am: 366031e336

Change-Id: I815ba23c884d6891b2acba23687db0d4d1cab98a

6 years ago[automerger skipped] Merge changes from topic "dynamic-ref-se-mnc-dev" into oc-dev...
Ryan Mitchell [Thu, 7 Jun 2018 04:19:51 +0000 (21:19 -0700)]
[automerger skipped] Merge changes from topic "dynamic-ref-se-mnc-dev" into oc-dev am: 2d31069fac
am: 53ff808f99  -s ours

Change-Id: Ia9736d803a7b980bafb5b55d76c99a7ee29c68c3

6 years agoMerge changes from topic "am-c1e91e5e-2686-4871-b188-107c0ddf3273" into oc-dev am...
Ryan Mitchell [Thu, 7 Jun 2018 03:49:18 +0000 (20:49 -0700)]
Merge changes from topic "am-c1e91e5e-2686-4871-b188-107c0ddf3273" into oc-dev am: 075bcf73c8
am: dff068e1e8

Change-Id: I562e53f089ca19fc145a34fb539556ae92d05722

6 years agoMerge changes from topic "dynamic-ref-se-mnc-dev" into oc-dev
Ryan Mitchell [Thu, 7 Jun 2018 01:53:39 +0000 (18:53 -0700)]
Merge changes from topic "dynamic-ref-se-mnc-dev" into oc-dev
am: 2d31069fac

Change-Id: I282ef1b63da084bb0906bee79ec5a7b0e9e66a2c

6 years agoMerge changes from topic "am-c1e91e5e-2686-4871-b188-107c0ddf3273" into oc-dev
Ryan Mitchell [Thu, 7 Jun 2018 01:30:51 +0000 (18:30 -0700)]
Merge changes from topic "am-c1e91e5e-2686-4871-b188-107c0ddf3273" into oc-dev
am: 075bcf73c8

Change-Id: I926986b532e52b423555f9fb6540ccfe50eee075

6 years agoMerge "Document -n option on intent specification." into pi-dev
TreeHugger Robot [Thu, 7 Jun 2018 00:36:10 +0000 (00:36 +0000)]
Merge "Document -n option on intent specification." into pi-dev

6 years agoMerge "Skip finishing menu activity when dismissing PiP" into pi-dev
Winson Chung [Thu, 7 Jun 2018 00:35:54 +0000 (00:35 +0000)]
Merge "Skip finishing menu activity when dismissing PiP" into pi-dev

6 years agoMerge "DO NOT MERGE Fix security exception due to incorrect flags" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 23:35:13 +0000 (23:35 +0000)]
Merge "DO NOT MERGE Fix security exception due to incorrect flags" into pi-dev

6 years agoMerge changes from topic "dynamic-ref-se-mnc-dev" into oc-dev
Ryan Mitchell [Wed, 6 Jun 2018 23:33:08 +0000 (23:33 +0000)]
Merge changes from topic "dynamic-ref-se-mnc-dev" into oc-dev

* changes:
  [automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce am: aeb2fc64d9 am: 0938689606 am: 6f76fbfc69 am: 69b14d2a1a am: c7e3991628 am: c3aa2a4d3f am: 648a950ce9
  [automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce am: aeb2fc64d9 am: 0938689606 am: 6f76fbfc69 am: 69b14d2a1a am: c7e3991628 am: c3aa2a4d3f
  [automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce am: aeb2fc64d9 am: 0938689606 am: 6f76fbfc69 am: 69b14d2a1a am: c7e3991628
  [automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce am: aeb2fc64d9 am: 0938689606 am: 6f76fbfc69 am: 69b14d2a1a
  [automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce am: aeb2fc64d9 am: 0938689606 am: 6f76fbfc69
  [automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce am: aeb2fc64d9 am: 0938689606
  [automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce am: aeb2fc64d9
  [automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce
  [automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0
  Fix DynamicRefTable::load security bug

6 years agoMerge "Minor autofill logging improvements." into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 23:06:28 +0000 (23:06 +0000)]
Merge "Minor autofill logging improvements." into pi-dev

6 years agoMerge "Add metalava-api-stubs targets" into pi-dev
Nan Zhang [Wed, 6 Jun 2018 23:01:51 +0000 (23:01 +0000)]
Merge "Add metalava-api-stubs targets" into pi-dev

6 years agoMerge "Fix DynamicRefTable::load security bug" into oc-mr1-dev
Ryan Mitchell [Wed, 6 Jun 2018 22:50:57 +0000 (15:50 -0700)]
Merge "Fix DynamicRefTable::load security bug" into oc-mr1-dev
am: 2b6805fedc

Change-Id: I5ef0a789b16dc8aa0936d8fcca3917ce2f884d74

6 years ago[automerger skipped] [automerger] Optimise the hit test algorithm am: 3b6f84b77c...
Mihai Popa [Wed, 6 Jun 2018 22:46:03 +0000 (15:46 -0700)]
[automerger skipped] [automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped: eb86ac42e6 am: a60d0b2e93 am: a16b03c540 am: acb5b014af am: c62d510887 am: ea648c6a2b am: 83d9688077 am: ce1d540693  -s ours am: ac169beb52  -s ours
am: 4ae55000b2  -s ours

Change-Id: I16b4f8d33496eb6f7770a56c1907aab0a69da0ae

6 years agoMerge "Fix DynamicRefTable::load security bug" into oc-mr1-dev
TreeHugger Robot [Wed, 6 Jun 2018 22:16:36 +0000 (22:16 +0000)]
Merge "Fix DynamicRefTable::load security bug" into oc-mr1-dev

6 years agoMerge changes from topic "am-c1e91e5e-2686-4871-b188-107c0ddf3273" into oc-dev
TreeHugger Robot [Wed, 6 Jun 2018 22:09:54 +0000 (22:09 +0000)]
Merge changes from topic "am-c1e91e5e-2686-4871-b188-107c0ddf3273" into oc-dev

* changes:
  [automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436 am: 5a632d1b59 am: 6714a260e6 am: 3a272fe404 am: 3926163983 am: ad43c89030 am: a659d7c233 am: c51c6751d7
  [automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436 am: 5a632d1b59 am: 6714a260e6 am: 3a272fe404 am: 3926163983 am: ad43c89030 am: a659d7c233
  [automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436 am: 5a632d1b59 am: 6714a260e6 am: 3a272fe404 am: 3926163983 am: ad43c89030
  [automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436 am: 5a632d1b59 am: 6714a260e6 am: 3a272fe404 am: 3926163983
  [automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436 am: 5a632d1b59 am: 6714a260e6 am: 3a272fe404
  [automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436 am: 5a632d1b59 am: 6714a260e6
  [automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436 am: 5a632d1b59
  [automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436
  [automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008
  ResStringPool: Prevenet boot loop from se fix

6 years agoMerge "Status bar etc dots 4dp" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 21:21:37 +0000 (21:21 +0000)]
Merge "Status bar etc dots 4dp" into pi-dev

6 years ago[automerger skipped] [automerger] Optimise the hit test algorithm am: 3b6f84b77c...
Mihai Popa [Wed, 6 Jun 2018 20:36:14 +0000 (13:36 -0700)]
[automerger skipped] [automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped: eb86ac42e6 am: a60d0b2e93 am: a16b03c540 am: acb5b014af am: c62d510887 am: ea648c6a2b am: 83d9688077 am: ce1d540693  -s ours
am: ac169beb52  -s ours

Change-Id: Iaba870a637bd42807578d5846a819e4bead5adb4

6 years agoAdd metalava-api-stubs targets
Nan Zhang [Wed, 6 Jun 2018 02:01:32 +0000 (19:01 -0700)]
Add metalava-api-stubs targets

Also removed --exact-api flag since Metalava has not supported it yet.
Test:  Manually checked-in prebuilt metalava.jar to my local src tree and
      compare the results between old and new docs/stubs generation.
Bug: b/78245848

Change-Id: I863430a563a25370f2ad65c19984cab37f611c2e
Merged-In: Ie0943d306af4176d965425ec85236cd173c1e870

6 years agoDO NOT MERGE Fix security exception due to incorrect flags
Amith Yamasani [Wed, 6 Jun 2018 17:48:03 +0000 (10:48 -0700)]
DO NOT MERGE Fix security exception due to incorrect flags

Caught by test UsageStatsTest due to stricter checks for
MATCH_ANY_USER.

Change-Id: Ie884c7007a8588a222773fba8d7967bcdf2a528a
Fixes: 109700742
Test: atest CtsUsageStatsTestCases:UsageStatsTest

6 years agoMerge "Update notifications on density or font size change for current user" into...
TreeHugger Robot [Wed, 6 Jun 2018 19:51:15 +0000 (19:51 +0000)]
Merge "Update notifications on density or font size change for current user" into pi-dev

6 years agoMerge "Always cancel clock animation" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 19:21:19 +0000 (19:21 +0000)]
Merge "Always cancel clock animation" into pi-dev

6 years agoMerge "Prevent IME from showing when AOD shown or windows not drawn." into pi-dev
Chavi Weingarten [Wed, 6 Jun 2018 18:56:56 +0000 (18:56 +0000)]
Merge "Prevent IME from showing when AOD shown or windows not drawn." into pi-dev

6 years agoMerge "media: Check window connect status in ImageWriter" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 18:54:51 +0000 (18:54 +0000)]
Merge "media: Check window connect status in ImageWriter" into pi-dev

6 years agoMerge "Fix PiP regression when the stack animation is canceled" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 18:50:52 +0000 (18:50 +0000)]
Merge "Fix PiP regression when the stack animation is canceled" into pi-dev

6 years agoMerge "[QS] Change Date font in QQS" into pi-dev
Rohan Shah [Wed, 6 Jun 2018 18:43:06 +0000 (18:43 +0000)]
Merge "[QS] Change Date font in QQS" into pi-dev

6 years agoMerge "Fix "swipe up to switch apps" pop up displaying in SUW while creating second...
TreeHugger Robot [Wed, 6 Jun 2018 18:30:15 +0000 (18:30 +0000)]
Merge "Fix "swipe up to switch apps" pop up displaying in SUW while creating second user." into pi-dev

6 years agoMerge "Changing the recents component to point to launcher3 implementation" into...
TreeHugger Robot [Wed, 6 Jun 2018 18:18:43 +0000 (18:18 +0000)]
Merge "Changing the recents component to point to launcher3 implementation" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 18:18:35 +0000 (18:18 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Fix exception from DateTimeView unregisters receiver again" into pi-dev
Selim Cinek [Wed, 6 Jun 2018 18:18:27 +0000 (18:18 +0000)]
Merge "Fix exception from DateTimeView unregisters receiver again" into pi-dev

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

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

6 years ago[automerger skipped] [automerger] Optimise the hit test algorithm am: 3b6f84b77c...
Mihai Popa [Wed, 6 Jun 2018 18:09:15 +0000 (11:09 -0700)]
[automerger skipped] [automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped: eb86ac42e6 am: a60d0b2e93 am: a16b03c540 am: acb5b014af am: c62d510887 am: ea648c6a2b am: 83d9688077
am: ce1d540693  -s ours

Change-Id: Ic5ff6005483d4f4af1d0b9d8547c00751942fada

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

6 years agoUpdate notifications on density or font size change for current user
Dieter Hsu [Wed, 6 Jun 2018 07:41:46 +0000 (15:41 +0800)]
Update notifications on density or font size change for current user

For created notifications, entry manager is not going to update entries
after changing the font scale and/or display density when shade is
disabled or other reasons.
To reinflate notifications for current user even filtered.

Fixes: 77728867
Test: manually restore backup with lots of apps and change font scale and/or display density
Test: atest SystemUITests:NotificationDataTest
Change-Id: I37fa38e73af1ebb672abd06282d10d7d928cc3a9

6 years agoMerge "Light grey bugbot updates." into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 17:51:32 +0000 (17:51 +0000)]
Merge "Light grey bugbot updates." into pi-dev

6 years ago[automerger skipped] Merge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00...
Mihai Popa [Wed, 6 Jun 2018 17:42:20 +0000 (10:42 -0700)]
[automerger skipped] Merge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00b" into oc-dev am: 3fce74a7f3  -s ours am: bb18c011aa  -s ours
am: 7478894a89  -s ours

Change-Id: I22992503b6a99f7002d0ce440d4fda9e313bcf73

6 years ago[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce...
Android Build Merger (Role) [Wed, 6 Jun 2018 17:13:15 +0000 (17:13 +0000)]
[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce am: aeb2fc64d9 am: 0938689606 am: 6f76fbfc69 am: 69b14d2a1a am: c7e3991628 am: c3aa2a4d3f am: 648a950ce9

Change-Id: I313ac2c564ba5c8f094a37160d9ac5198f1d5aea

6 years ago[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce...
Android Build Merger (Role) [Wed, 6 Jun 2018 17:13:01 +0000 (17:13 +0000)]
[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce am: aeb2fc64d9 am: 0938689606 am: 6f76fbfc69 am: 69b14d2a1a am: c7e3991628 am: c3aa2a4d3f

Change-Id: I2d0676d161e47b400d110c3239cdaaf002c72ec3

6 years ago[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce...
Android Build Merger (Role) [Wed, 6 Jun 2018 17:12:53 +0000 (17:12 +0000)]
[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce am: aeb2fc64d9 am: 0938689606 am: 6f76fbfc69 am: 69b14d2a1a am: c7e3991628

Change-Id: Ia7adde45bd85d2b3a56ede7215732cc05d97d870

6 years ago[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce...
Android Build Merger (Role) [Wed, 6 Jun 2018 17:12:46 +0000 (17:12 +0000)]
[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce am: aeb2fc64d9 am: 0938689606 am: 6f76fbfc69 am: 69b14d2a1a

Change-Id: I6e7ab766f6c88e61b8c2993a2f1420efc177319a

6 years ago[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce...
Android Build Merger (Role) [Wed, 6 Jun 2018 17:12:39 +0000 (17:12 +0000)]
[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce am: aeb2fc64d9 am: 0938689606 am: 6f76fbfc69

Change-Id: I43c9c68ca69d26f6d4d2dee3cd2a66d5e4a73761

6 years ago[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce...
Android Build Merger (Role) [Wed, 6 Jun 2018 17:12:24 +0000 (17:12 +0000)]
[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce am: aeb2fc64d9 am: 0938689606

Change-Id: Ib9e372290f9b2e1fa73470db3f7fd67bc9190711

6 years ago[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce...
Android Build Merger (Role) [Wed, 6 Jun 2018 17:12:18 +0000 (17:12 +0000)]
[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce am: aeb2fc64d9

Change-Id: I0556ef6fb1ceb02f4972c7434895cfeb5e13188d

6 years ago[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce
Android Build Merger (Role) [Wed, 6 Jun 2018 17:12:11 +0000 (17:12 +0000)]
[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0 am: d65dbf91ce

Change-Id: I17fcbac2b6a7860749ddaabf6324cd89e3b78570

6 years ago[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0
Android Build Merger (Role) [Wed, 6 Jun 2018 17:12:04 +0000 (17:12 +0000)]
[automerger] Fix DynamicRefTable::load security bug am: 8cf0f988b0

Change-Id: I17682a41fbacafd30a032bd78b176a883bc7bdd8

6 years agoFix DynamicRefTable::load security bug
Ryan Mitchell [Wed, 30 May 2018 19:17:01 +0000 (12:17 -0700)]
Fix DynamicRefTable::load security bug

DynamicRefTables parsed from apks are missing bounds checks that prevent
buffer overflows. This changes verifies the bounds of the header before
attempting to preform operations on the chunk.

Bug: 79488511
Test: run cts -m CtsAppSecurityHostTestCases \
        -t android.appsecurity.cts.CorruptApkTests

Change-Id: I02c8ad957da244fce777ac68a482e4e8fa70f846
Merged-In: I02c8ad957da244fce777ac68a482e4e8fa70f846

6 years ago[automerger skipped] Merge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00...
Mihai Popa [Wed, 6 Jun 2018 17:01:16 +0000 (10:01 -0700)]
[automerger skipped] Merge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00b" into oc-dev am: 3fce74a7f3  -s ours
am: bb18c011aa  -s ours

Change-Id: I2feb73ce9430daf5ead58675b552be326925af27

6 years agoPrevent IME from showing when AOD shown or windows not drawn.
chaviw [Tue, 5 Jun 2018 23:29:13 +0000 (16:29 -0700)]
Prevent IME from showing when AOD shown or windows not drawn.

There's always been a possibility for IME to be visible even after the
screen was turned off. This was normally harmless because the IME was
placed behind the lock screen. The lock screen was opaque so it would
cover the IME, even in the case with AOD. However, with AOD live
wallpaper, the lock screen can now be transparent. This causes the IME
to be shown in between the wallpaper and lock screen.

To prevent IME from showing, several things needed to change.
1. The flag that was sent from sysui to AM is now propagated to WM. If
AOD is showing, IME should be hidden.
2. That flag sometimes is not a guarantee because AOD could be exiting,
but still shown on screen. Instead, also rely on the
mWindowManagerDrawComplete since that's only true when the windows have
completed drawing. The IME only needs to be shown if the other windows
on screen have drawn.

Test: Open IME and allow screen to timeout. When AOD turns on with
live wallpaper, IME is hidden.
Test: Within 5 seconds after AOD is turned on, turn screen on. Screen
turns on without IME flicker.
Fixes: 79658086

Change-Id: Ife93bdfde8ba2914930497356c0e16ebd629c507

6 years agoFix "swipe up to switch apps" pop up displaying in SUW while creating
Tracy Zhou [Tue, 5 Jun 2018 19:09:14 +0000 (12:09 -0700)]
Fix "swipe up to switch apps" pop up displaying in SUW while creating
second user.

We unregister quickstep onboarding listeners when nav bar view is
detached. We also update its state when nav bar state changes, but we
are not updating it, while we should, update onboarding state when
disabled flags changes. In this scenario, it's triggered when the second
user is added.

Change-Id: I7da917f27fc0f0b8ae5e2d8262f2fdc331b4646d
Fixes: 80512560
Test: Manual test

6 years agoMerge "WifiManager: add call to see if apband conversion is required" into pi-dev
Rebecca Silberstein [Wed, 6 Jun 2018 16:36:37 +0000 (16:36 +0000)]
Merge "WifiManager: add call to see if apband conversion is required" into pi-dev

6 years ago[automerger skipped] Merge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00...
Mihai Popa [Wed, 6 Jun 2018 16:33:57 +0000 (09:33 -0700)]
[automerger skipped] Merge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00b" into oc-dev
am: 3fce74a7f3  -s ours

Change-Id: I28ae4102fd8913d74e8dd928f286cbdbd66d0241

6 years agoMerge "Use correct attribute name." into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 16:28:23 +0000 (16:28 +0000)]
Merge "Use correct attribute name." into pi-dev

6 years ago[automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped...
Android Build Merger (Role) [Wed, 6 Jun 2018 16:28:11 +0000 (16:28 +0000)]
[automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped: eb86ac42e6 am: a60d0b2e93 am: a16b03c540 am: acb5b014af am: c62d510887 am: ea648c6a2b am: 83d9688077

Change-Id: I2e91e2573efec1a54eef83a93dfc7b99f20cda7b

6 years ago[automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped...
Android Build Merger (Role) [Wed, 6 Jun 2018 16:28:04 +0000 (16:28 +0000)]
[automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped: eb86ac42e6 am: a60d0b2e93 am: a16b03c540 am: acb5b014af am: c62d510887 am: ea648c6a2b

Change-Id: I0f2860081d8a65d239d0beba1499bb69c3527c2c

6 years ago[automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped...
Android Build Merger (Role) [Wed, 6 Jun 2018 16:27:57 +0000 (16:27 +0000)]
[automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped: eb86ac42e6 am: a60d0b2e93 am: a16b03c540 am: acb5b014af am: c62d510887

Change-Id: I0e91789c55c400c15315c51e0f99f3a44ed2d913

6 years ago[automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped...
Android Build Merger (Role) [Wed, 6 Jun 2018 16:27:50 +0000 (16:27 +0000)]
[automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped: eb86ac42e6 am: a60d0b2e93 am: a16b03c540 am: acb5b014af

Change-Id: If7742e7a94602f120b1ec1db9ff763998adae344

6 years ago[automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped...
Android Build Merger (Role) [Wed, 6 Jun 2018 16:27:43 +0000 (16:27 +0000)]
[automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped: eb86ac42e6 am: a60d0b2e93 am: a16b03c540

Change-Id: I3b08cf27f6407fdf5789f8a49c3b3aa49f1c1ecd

6 years ago[automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped...
Android Build Merger (Role) [Wed, 6 Jun 2018 16:27:30 +0000 (16:27 +0000)]
[automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped: eb86ac42e6 am: a60d0b2e93

Change-Id: I23ca86e3bf3df6684d88f1be575f2be1599ac9eb

6 years ago[automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped...
Android Build Merger (Role) [Wed, 6 Jun 2018 16:27:24 +0000 (16:27 +0000)]
[automerger] Optimise the hit test algorithm am: 3b6f84b77c am: 5b224ccf41 skipped: eb86ac42e6

Change-Id: Ida4ae11d778115fb1f0d373523f71845fff88331

6 years agoMerge "AudioRecord JNI: fix mem leak on audio_attributes_t" into pi-dev
Jean-Michel Trivi [Wed, 6 Jun 2018 16:25:09 +0000 (16:25 +0000)]
Merge "AudioRecord JNI: fix mem leak on audio_attributes_t" into pi-dev

6 years agoMerge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00b" into oc-dev
Mihai Popa [Wed, 6 Jun 2018 16:21:21 +0000 (16:21 +0000)]
Merge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00b" into oc-dev

* changes:
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c am: 42eaa8f932 am: a72cb45f89 am: f5d69aa775 skipped: 94bc67f03c
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c am: 42eaa8f932 am: a72cb45f89 am: f5d69aa775
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c am: 42eaa8f932 am: a72cb45f89
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c am: 42eaa8f932
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c
  Optimise the hit test algorithm

6 years agoMerge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00b" into nyc-mr2-dev
Mihai Popa [Wed, 6 Jun 2018 16:21:21 +0000 (16:21 +0000)]
Merge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00b" into nyc-mr2-dev

* changes:
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c am: 42eaa8f932 am: a72cb45f89 am: f5d69aa775
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c am: 42eaa8f932 am: a72cb45f89
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c am: 42eaa8f932
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c
  Optimise the hit test algorithm

6 years agoMerge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00b" into cw-f-dev
Mihai Popa [Wed, 6 Jun 2018 16:21:21 +0000 (16:21 +0000)]
Merge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00b" into cw-f-dev

* changes:
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c am: 42eaa8f932 am: a72cb45f89
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c am: 42eaa8f932
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c
  Optimise the hit test algorithm

6 years agoMerge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00b" into nyc-mr1-dev
Mihai Popa [Wed, 6 Jun 2018 16:21:21 +0000 (16:21 +0000)]
Merge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00b" into nyc-mr1-dev

* changes:
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c am: 42eaa8f932
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c
  Optimise the hit test algorithm

6 years agoMerge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00b" into nyc-dr1-dev
Mihai Popa [Wed, 6 Jun 2018 16:21:21 +0000 (16:21 +0000)]
Merge changes from topic "am-2d17369d-a241-482f-bad0-edb5147de00b" into nyc-dr1-dev

* changes:
  [automerger] Optimise the hit test algorithm am: 71ecf5bd5c
  Optimise the hit test algorithm

6 years agoMerge "Optimise the hit test algorithm" into nyc-dev
Mihai Popa [Wed, 6 Jun 2018 16:21:21 +0000 (16:21 +0000)]
Merge "Optimise the hit test algorithm" into nyc-dev

6 years agoLight grey bugbot updates.
Nicolas Geoffray [Wed, 6 Jun 2018 16:08:37 +0000 (17:08 +0100)]
Light grey bugbot updates.

Bug: 109756637
Bug: 71814829

Test: m
Change-Id: Ic11a74a215315c71480cdd55ababdaab26f3577b

6 years agoMerge "Expose the source component which launched this task." into pi-dev
Winson Chung [Wed, 6 Jun 2018 15:13:27 +0000 (15:13 +0000)]
Merge "Expose the source component which launched this task." into pi-dev

6 years agoMerge "Remove sun.nio.fs.UnixChannelFactory from preloaded-classes" into pi-dev
Calin Juravle [Wed, 6 Jun 2018 15:09:17 +0000 (15:09 +0000)]
Merge "Remove sun.nio.fs.UnixChannelFactory from preloaded-classes" into pi-dev

6 years ago[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e...
Android Build Merger (Role) [Wed, 6 Jun 2018 15:06:11 +0000 (15:06 +0000)]
[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436 am: 5a632d1b59 am: 6714a260e6 am: 3a272fe404 am: 3926163983 am: ad43c89030 am: a659d7c233 am: c51c6751d7

Change-Id: I471e75570c0f4d53ac71604932df2c4cda404573

6 years ago[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e...
Android Build Merger (Role) [Wed, 6 Jun 2018 15:06:06 +0000 (15:06 +0000)]
[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436 am: 5a632d1b59 am: 6714a260e6 am: 3a272fe404 am: 3926163983 am: ad43c89030 am: a659d7c233

Change-Id: I9d69a905d320039a24b3c5e1878b7458251ab93a

6 years ago[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e...
Android Build Merger (Role) [Wed, 6 Jun 2018 15:06:00 +0000 (15:06 +0000)]
[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436 am: 5a632d1b59 am: 6714a260e6 am: 3a272fe404 am: 3926163983 am: ad43c89030

Change-Id: I74d2d54d69e0b7bfbdca1152a8dd9b0fe51727f5

6 years ago[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e...
Android Build Merger (Role) [Wed, 6 Jun 2018 15:05:53 +0000 (15:05 +0000)]
[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436 am: 5a632d1b59 am: 6714a260e6 am: 3a272fe404 am: 3926163983

Change-Id: I34f05a182873509dd1e19a5692af5001d58cf8ec

6 years ago[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e...
Android Build Merger (Role) [Wed, 6 Jun 2018 15:05:41 +0000 (15:05 +0000)]
[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436 am: 5a632d1b59 am: 6714a260e6 am: 3a272fe404

Change-Id: I8774e7b9ca61abd7fbfc43f0d4793cea41ae2e7c

6 years ago[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e...
Android Build Merger (Role) [Wed, 6 Jun 2018 15:05:24 +0000 (15:05 +0000)]
[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436 am: 5a632d1b59 am: 6714a260e6

Change-Id: I5c8048d78c4e499419cee8b60e1a591c47b5456b

6 years ago[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e...
Android Build Merger (Role) [Wed, 6 Jun 2018 15:05:12 +0000 (15:05 +0000)]
[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436 am: 5a632d1b59

Change-Id: I0de34641572b18ba701f41df542124b6331537c0

6 years ago[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436
Android Build Merger (Role) [Wed, 6 Jun 2018 15:04:54 +0000 (15:04 +0000)]
[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008 am: fd1097e436

Change-Id: I50e23f33371f7f1e47b65d421628ab771238b278

6 years ago[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008
Android Build Merger (Role) [Wed, 6 Jun 2018 15:04:30 +0000 (15:04 +0000)]
[automerger] ResStringPool: Prevenet boot loop from se fix am: c31cf80008

Change-Id: Ie8651904560e43e89374df132bf30cd615718192

6 years agoResStringPool: Prevenet boot loop from se fix
Ryan Mitchell [Mon, 21 May 2018 20:59:23 +0000 (13:59 -0700)]
ResStringPool: Prevenet boot loop from se fix

Changes the logs adding in a previous security fix to warnings so
devices with malformed APKs currently on them will not undergo DOS when
they are upgraded to P.

Bug: 79724567
Test: run cts -m CtsAppSecurityHostTestCases \
          -t android.appsecurity.cts.CorruptApkTests

Change-Id: Ied54e4bb14abdaf79da562022c7ea6075187c1f8
(cherry picked from commit f05f47b2c1838529e682ad8f931d3da72244b1a1)

6 years agoMerge "Consider icon scale when calculating icon offset in shelf" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 14:59:10 +0000 (14:59 +0000)]
Merge "Consider icon scale when calculating icon offset in shelf" into pi-dev

6 years agoMerge "Wi-Fi, now corporeal!" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 14:54:35 +0000 (14:54 +0000)]
Merge "Wi-Fi, now corporeal!" into pi-dev

6 years agoMerge "Allow instant apps to send broadcasts to themselves" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 14:51:33 +0000 (14:51 +0000)]
Merge "Allow instant apps to send broadcasts to themselves" into pi-dev

6 years agoMerge "Fix repeated calls into reportExtractedText" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 14:40:12 +0000 (14:40 +0000)]
Merge "Fix repeated calls into reportExtractedText" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 6 Jun 2018 14:13:20 +0000 (07:13 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Icbe0ecc8b5b4abbe01354757e74d622382c9c3b1

6 years agoUse correct attribute name.
Julia Reynolds [Wed, 6 Jun 2018 14:04:02 +0000 (10:04 -0400)]
Use correct attribute name.

Test: factory reset device and confirm default values
Change-Id: I96b20e98d740550fa1b47e069ebfb5fdf2368db2
Fixes: 109747051

6 years agoMerge "Support seamless handover between VPN fds." into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 13:51:23 +0000 (13:51 +0000)]
Merge "Support seamless handover between VPN fds." into pi-dev

6 years agoMerge "Further interruptiveness changes" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 13:46:42 +0000 (13:46 +0000)]
Merge "Further interruptiveness changes" into pi-dev

6 years agoRemove sun.nio.fs.UnixChannelFactory from preloaded-classes
Calin Juravle [Wed, 6 Jun 2018 13:13:39 +0000 (06:13 -0700)]
Remove sun.nio.fs.UnixChannelFactory from preloaded-classes

The tests use the preloaded classes to create the core image and
that leads to UnixChannelFactory being initialized despite the
fact that FileDescriptor is not. This manifests with a null pointer
crash in tests.

Bug: 80495283
Test: m test-art-host
Change-Id: I785104e6c69c605b16357a9557b203b489972261

6 years agoMerge "Notify WM that app is delayed closing due to the possibility of PIP." into...
TreeHugger Robot [Wed, 6 Jun 2018 12:57:55 +0000 (12:57 +0000)]
Merge "Notify WM that app is delayed closing due to the possibility of PIP." into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 6 Jun 2018 12:14:39 +0000 (05:14 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I809062aaa6b66a40365e48d55c55a3adfb034102

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 6 Jun 2018 10:51:03 +0000 (03:51 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7cf2593eace5002a2e71243589299609ad5fc5a3

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 6 Jun 2018 10:06:03 +0000 (03:06 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If983b267ec120be4bf5d6e788209576f147c4ab5

6 years agomedia: Check window connect status in ImageWriter
Emilian Peev [Tue, 5 Jun 2018 16:52:16 +0000 (17:52 +0100)]
media: Check window connect status in ImageWriter

ImageWriter clients could pass invalid or already
connected surface during initialization. Check the
status after trying to connect to the producer
interface and raise an exception if necessary.

Bug: 80086132
Test: Camera CTS
Change-Id: I46810885046a3b89ea18510574c22db27e812a9c

6 years agoAdd 3 more APIs to light grey.
Nicolas Geoffray [Wed, 6 Jun 2018 08:17:22 +0000 (09:17 +0100)]
Add 3 more APIs to light grey.

bug: 109746802
Test: m
Change-Id: I9b9fbed705adc59c5266378b576fc437c5078184

6 years agoMerge "Copy clat modified linkProperties into new one." into pi-dev
Junyu Lai [Wed, 6 Jun 2018 06:36:39 +0000 (06:36 +0000)]
Merge "Copy clat modified linkProperties into new one." into pi-dev

6 years agoMerge "Serialize calls into BinderProxy." into pi-dev
Martijn Coenen [Wed, 6 Jun 2018 05:33:14 +0000 (05:33 +0000)]
Merge "Serialize calls into BinderProxy." into pi-dev

6 years agoMerge "Randomize the local Wifi IPv4 address" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 04:12:31 +0000 (04:12 +0000)]
Merge "Randomize the local Wifi IPv4 address" into pi-dev