OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev am...
Bill Yi [Mon, 18 Jun 2018 07:53:52 +0000 (00:53 -0700)]
Merge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev am: 3c047ea7fa am: 3cca4e7b06 am: d4a1791bd7 am: 42fb737d13
am: 4e1d045e01

Change-Id: I5a7715e5fd51cc8b7a81fefe517e1604b34e4520

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped...
Bill Yi [Mon, 18 Jun 2018 07:44:01 +0000 (00:44 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped: b06ba83b23 am: 437da4c13d  -s ours am: f57c14b641  -s ours am: bc1dc5c368  -s ours am: 8d70303da7  -s ours
am: a146e04799  -s ours

Change-Id: Id09240de883f1199f59159af89e683ee09b5983a

6 years agoMerge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev am...
Bill Yi [Mon, 18 Jun 2018 07:39:33 +0000 (00:39 -0700)]
Merge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev am: 3c047ea7fa am: 3cca4e7b06 am: d4a1791bd7
am: 42fb737d13

Change-Id: I11dcf3e181aaa1c425eb47bc66a1d754804ed1a2

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped...
Bill Yi [Mon, 18 Jun 2018 07:30:00 +0000 (00:30 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped: b06ba83b23 am: 437da4c13d  -s ours am: f57c14b641  -s ours am: bc1dc5c368  -s ours
am: 8d70303da7  -s ours

Change-Id: I37882b0f82989f3d257a3f206fa9d3867713e57e

6 years agoMerge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev am...
Bill Yi [Mon, 18 Jun 2018 07:23:36 +0000 (00:23 -0700)]
Merge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev am: 3c047ea7fa am: 3cca4e7b06
am: d4a1791bd7

Change-Id: I165a9d006345b6624877fc3b453ceb2b0baa83fb

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped...
Bill Yi [Mon, 18 Jun 2018 07:15:09 +0000 (00:15 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped: b06ba83b23 am: 437da4c13d  -s ours am: f57c14b641  -s ours
am: bc1dc5c368  -s ours

Change-Id: Ied727ed9887bc299b944611f1caed5896d8e81ce

6 years agoMerge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev am...
Bill Yi [Mon, 18 Jun 2018 07:09:08 +0000 (00:09 -0700)]
Merge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev am: 3c047ea7fa
am: 3cca4e7b06

Change-Id: Ifaa547b16411e79759647dd9cc53ea76526f5e5d

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped...
Bill Yi [Mon, 18 Jun 2018 07:02:54 +0000 (00:02 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped: b06ba83b23 am: 437da4c13d  -s ours
am: f57c14b641  -s ours

Change-Id: Id5433baa969e08bd0253cb921bdaa541a1eaad3a

6 years agoMerge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev
Bill Yi [Mon, 18 Jun 2018 06:55:44 +0000 (23:55 -0700)]
Merge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev
am: 3c047ea7fa

Change-Id: Ie97567da2988d921748f9b4ca86f658a5222f43b

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped...
Bill Yi [Mon, 18 Jun 2018 06:54:30 +0000 (23:54 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped: 693ad9800b am: cb1a10f5b6  -s ours am: d996012ef5  -s ours am: 97ee183747  -s ours am: 15123e0230  -s ours
am: db9728b756  -s ours

Change-Id: I1e0ba0f8a4abff0ecd6a7b0523693e832870f1cd

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped...
Bill Yi [Mon, 18 Jun 2018 06:53:27 +0000 (23:53 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped: b06ba83b23
am: 437da4c13d  -s ours

Change-Id: I8227403ab7fa849fcc096d3a0acfa583843abf3b

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped...
Bill Yi [Mon, 18 Jun 2018 06:50:41 +0000 (23:50 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped: 693ad9800b am: cb1a10f5b6  -s ours am: d996012ef5  -s ours am: 97ee183747  -s ours
am: 15123e0230  -s ours

Change-Id: I1f7790c7a09b36424a524fa3010dd2b6fe43fc1e

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped...
Bill Yi [Mon, 18 Jun 2018 06:33:25 +0000 (23:33 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped: 693ad9800b am: cb1a10f5b6  -s ours am: d996012ef5  -s ours
am: 97ee183747  -s ours

Change-Id: I606378e5028548c5189a9fe554a868512112578c

6 years agoMerge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev
TreeHugger Robot [Mon, 18 Jun 2018 06:27:04 +0000 (06:27 +0000)]
Merge changes from topic "am-aabaca13-84ab-4de5-bfa1-2add13867c06" into oc-dev

* changes:
  [automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped: b06ba83b23
  [automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4
  Import translations. DO NOT MERGE

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped...
Bill Yi [Mon, 18 Jun 2018 06:26:21 +0000 (23:26 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped: 693ad9800b am: cb1a10f5b6  -s ours
am: d996012ef5  -s ours

Change-Id: Idcb8df6ed5993f00170408e685080aa525f291e1

6 years agoMerge "Remove unused parameter from TSMS IPC"
TreeHugger Robot [Mon, 18 Jun 2018 06:22:15 +0000 (06:22 +0000)]
Merge "Remove unused parameter from TSMS IPC"

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped...
Bill Yi [Mon, 18 Jun 2018 06:18:56 +0000 (23:18 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped: 693ad9800b
am: cb1a10f5b6  -s ours

Change-Id: Ib5adcfbe4afabfee3e391ec528272f210b408a10

6 years agoRemove unused parameter from TSMS IPC
Yohei Yukawa [Mon, 18 Jun 2018 03:52:37 +0000 (20:52 -0700)]
Remove unused parameter from TSMS IPC

TextServicesManager always sets null to the "locale" parameter in
ITextServicesManager#getCurrentSpellCheckerSubtype then
TextServicesManagerService always ignores that parameter.  It can be
safely removed.

Bug: 110275412
Test: Manually verified that spell checker still works
Change-Id: I5d85089899b0bd077f69971d77095859086a8d52

6 years agoSwitched ActivityRecord.service to ActivityTaskManagerService (5/n)
Wale Ogunwale [Tue, 8 May 2018 16:25:50 +0000 (09:25 -0700)]
Switched ActivityRecord.service to ActivityTaskManagerService (5/n)

Objects that contain or represent activities like ActivityRecord can
no longer rely on ActivityManagerService as it is going to be in a
different package.

Test: Existing tests pass
Test: go/wm-smoke-auto
Bug: 80414790
Change-Id: I7eabc9b80e494367d79ff7452c88ba82ff216bcd

6 years agoMerge "Moved mRecentTasks to ActivityManagerTaskService (4/n)"
Wale Ogunwale [Sun, 17 Jun 2018 20:41:31 +0000 (20:41 +0000)]
Merge "Moved mRecentTasks to ActivityManagerTaskService (4/n)"

6 years agoMoved mRecentTasks to ActivityManagerTaskService (4/n)
Wale Ogunwale [Mon, 7 May 2018 22:00:49 +0000 (15:00 -0700)]
Moved mRecentTasks to ActivityManagerTaskService (4/n)

Test: Existing tests pass
Test: go/wm-smoke-auto
Bug: 80414790
Change-Id: I7e48eaf66200f689757578461076e9288b862b33

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped...
Android Build Merger (Role) [Sun, 17 Jun 2018 12:14:12 +0000 (12:14 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4 skipped: b06ba83b23

Change-Id: Iae0ad51f828f91b8211e0671900f2ffa1265c655

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4
Android Build Merger (Role) [Sun, 17 Jun 2018 12:14:05 +0000 (12:14 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 422582d9c4

Change-Id: I3f93da28223af89a03736689e7f35a723b864ff5

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 17 Jun 2018 12:13:32 +0000 (05:13 -0700)]
Import translations. DO NOT MERGE

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

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped...
Android Build Merger (Role) [Sun, 17 Jun 2018 10:03:39 +0000 (10:03 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d skipped: 693ad9800b

Change-Id: I387f439df9441d64a658344837e4a2bd0f88a128

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d
Android Build Merger (Role) [Sun, 17 Jun 2018 10:03:31 +0000 (10:03 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: cbc81e618d

Change-Id: I6a3ddad855bdc4ae74eab3e6e2cd42290176aab4

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

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

6 years ago[automerger skipped] Merge "Merge "Use the malloc debug heap dumper." am: 0ec0c17596...
Christopher Ferris [Sat, 16 Jun 2018 06:56:14 +0000 (23:56 -0700)]
[automerger skipped] Merge "Merge "Use the malloc debug heap dumper." am: 0ec0c17596 am: 84c9e9a787" into pi-dev-plus-aosp
am: da5fb6eac7  -s ours

Change-Id: If0cfb06266b5d75dc50d900117a154b94823853b

6 years ago[automerger skipped] Merge "Use the malloc debug heap dumper." am: 0ec0c17596 am...
Christopher Ferris [Sat, 16 Jun 2018 06:32:04 +0000 (23:32 -0700)]
[automerger skipped] Merge "Use the malloc debug heap dumper." am: 0ec0c17596 am: 84c9e9a787
am: 4d5ba2e496  -s ours

Change-Id: I4f1d4939e3b45b57dea8b8af2392501351e2b84b

6 years agoMerge "Skip null values in Utils.safeForeach" into pi-dev am: c5901f5a06
Beverly [Sat, 16 Jun 2018 06:14:36 +0000 (23:14 -0700)]
Merge "Skip null values in Utils.safeForeach" into pi-dev am: c5901f5a06
am: e0d3e1c2d5

Change-Id: I9d1d3756c508771551b727755a1cab86e2aa4afb

6 years agoMerge "Merge "Don't back up Assist Gesture setup/sensitivity" into pi-dev am: a74fbef...
Kevin Chyn [Sat, 16 Jun 2018 06:07:17 +0000 (23:07 -0700)]
Merge "Merge "Don't back up Assist Gesture setup/sensitivity" into pi-dev am: a74fbef8ce" into pi-dev-plus-aosp
am: fe611a5700

Change-Id: I1aba793c0c71573e06d52f14aec823a4f6d3ad93

6 years agoMerge "Merge "Use the malloc debug heap dumper." am: 0ec0c17596 am: 84c9e9a787" into...
Android Build Merger (Role) [Sat, 16 Jun 2018 05:58:39 +0000 (05:58 +0000)]
Merge "Merge "Use the malloc debug heap dumper." am: 0ec0c17596 am: 84c9e9a787" into pi-dev-plus-aosp

6 years agoMerge "Use the malloc debug heap dumper." am: 0ec0c17596
Christopher Ferris [Sat, 16 Jun 2018 05:58:09 +0000 (22:58 -0700)]
Merge "Use the malloc debug heap dumper." am: 0ec0c17596
am: 84c9e9a787

Change-Id: I96c46291cc73c021945c370c7bb33164bc0a3a0b

6 years agoMerge "Fix ManifestMerger issues" am: 684b5f038b am: c5e5b64b04
Colin Cross [Sat, 16 Jun 2018 05:56:59 +0000 (22:56 -0700)]
Merge "Fix ManifestMerger issues" am: 684b5f038b am: c5e5b64b04
am: 6c40e4745d

Change-Id: Ide97a39158b8ec9310ded188fa9f75c6795fc2b5

6 years agoMerge "Skip null values in Utils.safeForeach" into pi-dev
Beverly [Sat, 16 Jun 2018 05:55:05 +0000 (22:55 -0700)]
Merge "Skip null values in Utils.safeForeach" into pi-dev
am: c5901f5a06

Change-Id: I60c1ee2c2036b883a456d916e26576bb206a39ec

6 years agoMerge "Merge "Don't back up Assist Gesture setup/sensitivity" into pi-dev am: a74fbef...
Android Build Merger (Role) [Sat, 16 Jun 2018 05:50:04 +0000 (05:50 +0000)]
Merge "Merge "Don't back up Assist Gesture setup/sensitivity" into pi-dev am: a74fbef8ce" into pi-dev-plus-aosp

6 years agoMerge "Don't back up Assist Gesture setup/sensitivity" into pi-dev
Kevin Chyn [Sat, 16 Jun 2018 05:49:30 +0000 (22:49 -0700)]
Merge "Don't back up Assist Gesture setup/sensitivity" into pi-dev
am: a74fbef8ce

Change-Id: Ib14cc5a35991dec3623ecf2dfdb72cbbccd7e53e

6 years agoMerge "Fix ManifestMerger issues" am: 684b5f038b
Colin Cross [Sat, 16 Jun 2018 05:46:10 +0000 (22:46 -0700)]
Merge "Fix ManifestMerger issues" am: 684b5f038b
am: c5e5b64b04

Change-Id: I4b8e51aaec1f825e4ccf7ccbc60e61b82e05c509

6 years agoMerge "Use the malloc debug heap dumper."
Christopher Ferris [Sat, 16 Jun 2018 05:41:30 +0000 (22:41 -0700)]
Merge "Use the malloc debug heap dumper."
am: 0ec0c17596

Change-Id: I0f0d6a01a4a0d55f18e3f7b7ac7c64534d4b8f54

6 years agoMerge "Skip null values in Utils.safeForeach" into pi-dev
TreeHugger Robot [Sat, 16 Jun 2018 03:16:06 +0000 (03:16 +0000)]
Merge "Skip null values in Utils.safeForeach" into pi-dev

6 years agoMerge "WM: Fix seamless rotation"
TreeHugger Robot [Sat, 16 Jun 2018 00:44:22 +0000 (00:44 +0000)]
Merge "WM: Fix seamless rotation"

6 years agoMerge "Don't back up Assist Gesture setup/sensitivity" into pi-dev
TreeHugger Robot [Sat, 16 Jun 2018 00:28:17 +0000 (00:28 +0000)]
Merge "Don't back up Assist Gesture setup/sensitivity" into pi-dev

6 years agoMerge "[Notif] Reset falsing check for blocking helper"
TreeHugger Robot [Sat, 16 Jun 2018 00:10:10 +0000 (00:10 +0000)]
Merge "[Notif] Reset falsing check for blocking helper"

6 years agoMerge "Fix ManifestMerger issues"
Colin Cross [Fri, 15 Jun 2018 23:59:21 +0000 (16:59 -0700)]
Merge "Fix ManifestMerger issues"
am: 684b5f038b

Change-Id: I4a551483dd3f0093f11b557a8ee6e6a99cace256

6 years agoMerge "Hiding replied notification icons from AOD" into pi-dev am: 37e96a8fa5
Selim Cinek [Fri, 15 Jun 2018 23:45:00 +0000 (16:45 -0700)]
Merge "Hiding replied notification icons from AOD" into pi-dev am: 37e96a8fa5
am: 0dac634ed0

Change-Id: I774d517aa5312c149c256c3955022fa28933cda9

6 years ago[automerger skipped] Merge changes I90451c14,I9fb27a0a into pi-dev am: b91dd1d944
Adrian Roos [Fri, 15 Jun 2018 23:39:35 +0000 (16:39 -0700)]
[automerger skipped] Merge changes I90451c14,I9fb27a0a into pi-dev am: b91dd1d944
am: 22ffb55de6  -s ours

Change-Id: I29096c00ca57a4b872f31f3c79bf75239bef56be

6 years agoWM: Fix seamless rotation
Adrian Roos [Thu, 7 Jun 2018 13:29:34 +0000 (15:29 +0200)]
WM: Fix seamless rotation

With the introduction of the surface hierarchy, the seamless rotation
behavior in WSA is no longer correct: it also applies the WindowState's
offset, which leads to that being applied twice.

Instead of doing that, we simply rotate the WSA surface within the place
that WindowState dictates now.

Finally, the location of the WindowState itself also needs to be
transformed into the new orientation.

Fixes: 109927566
Test: atest CoordinateTransformsTest
Test: atest 'WindowStateTests#testSeamlesslyRotateWindow'
Change-Id: I9fb27a0a8a2bddc6ec88a4fcce6d6ea00929fb91
(cherry picked from commit 41f7e9d10306603c7a4410938e77418f13f6e939)

6 years agoMerge "Removed TODO introduced in ag/4344061"
TreeHugger Robot [Fri, 15 Jun 2018 23:10:50 +0000 (23:10 +0000)]
Merge "Removed TODO introduced in ag/4344061"

6 years agoMerge "Make oneway calls from AFM to AFMS."
TreeHugger Robot [Fri, 15 Jun 2018 22:53:18 +0000 (22:53 +0000)]
Merge "Make oneway calls from AFM to AFMS."

6 years agoMerge "Fix missing entries in TSMS dump"
TreeHugger Robot [Fri, 15 Jun 2018 22:28:27 +0000 (22:28 +0000)]
Merge "Fix missing entries in TSMS dump"

6 years agoMerge "Hiding replied notification icons from AOD" into pi-dev
Selim Cinek [Fri, 15 Jun 2018 21:53:49 +0000 (14:53 -0700)]
Merge "Hiding replied notification icons from AOD" into pi-dev
am: 37e96a8fa5

Change-Id: I60a5aa171261b97b4f6de41515332fa93016eb8d

6 years agoMerge changes I90451c14,I9fb27a0a into pi-dev
Adrian Roos [Fri, 15 Jun 2018 21:48:23 +0000 (14:48 -0700)]
Merge changes I90451c14,I9fb27a0a into pi-dev
am: b91dd1d944

Change-Id: I58459846d6cb79d616b4bd9c83450dc911e5115c

6 years agoRemoved TODO introduced in ag/4344061
Wale Ogunwale [Fri, 15 Jun 2018 21:47:46 +0000 (14:47 -0700)]
Removed TODO introduced in ag/4344061

After further digging, we determined that the workaround is the
best way forward.

Change-Id: If046cdd16a22f0eec63a611eb21ce5e4c875896d
Fixes: 110159357
Test: N/A

6 years agoMerge "Update user on user switched for color inversion"
TreeHugger Robot [Fri, 15 Jun 2018 21:44:28 +0000 (21:44 +0000)]
Merge "Update user on user switched for color inversion"

6 years agoMake oneway calls from AFM to AFMS.
Felipe Leme [Wed, 6 Jun 2018 23:27:56 +0000 (16:27 -0700)]
Make oneway calls from AFM to AFMS.

AFM should not block the UI thread when calling AFMS; this CL is a
"low-hanging fruit" change that makes oneway call from the existing functions
that return void.

Test: mmma -j ./frameworks/base/apct-tests/perftests/autofill/ && \
  adb install -r $OUT/data/app/AutofillPerfTests/AutofillPerfTests.apk && \
  adb shell am instrument -w -e class android.view.autofill.LoginTest \
  com.android.perftests.autofill/android.support.test.runner.AndroidJUnitRunner
Test: CtsAutoFillServiceTestCases

Bug: 73536867

Change-Id: I09e84b797153cd02d3c02262994a2be1f38639ea

6 years agoMerge "Use the malloc debug heap dumper."
Christopher Ferris [Fri, 15 Jun 2018 21:36:42 +0000 (21:36 +0000)]
Merge "Use the malloc debug heap dumper."

6 years agoMerge "Fixed an issue where the shadow wasn't rounded properly"
TreeHugger Robot [Fri, 15 Jun 2018 21:26:31 +0000 (21:26 +0000)]
Merge "Fixed an issue where the shadow wasn't rounded properly"

6 years agoFix missing entries in TSMS dump
Yohei Yukawa [Fri, 15 Jun 2018 21:09:31 +0000 (14:09 -0700)]
Fix missing entries in TSMS dump

This CL fixes another regression that was introduced when we enabled
multiple users to use spell checker APIs at the same time [1].

Somehow TextServicesManagerService#mOnGoingSessionRequests were not
fully dumped into dumpsys due to an unnecessary '++j' in the loop.

 [1]: I06c27ef834203a21cc445dc126602c799384527b
      06a2624049f09e1ad68f8ab74fdb525aacd5c1e5

Bug: 63041121
Test: Manually verified that 'adb shell dumpsys textservices' dumps
      all the elements in #mOnGoingSessionRequests.
Change-Id: Ia26ab1c8ca19e74aaefb8562fb06ff64c3d8d677

6 years agoMerge "Fix ManifestMerger issues"
Treehugger Robot [Fri, 15 Jun 2018 20:47:30 +0000 (20:47 +0000)]
Merge "Fix ManifestMerger issues"

6 years agoMerge "Hiding replied notification icons from AOD" into pi-dev
Selim Cinek [Fri, 15 Jun 2018 20:44:08 +0000 (20:44 +0000)]
Merge "Hiding replied notification icons from AOD" into pi-dev

6 years agoMerge changes I90451c14,I9fb27a0a into pi-dev
Adrian Roos [Fri, 15 Jun 2018 20:28:13 +0000 (20:28 +0000)]
Merge changes I90451c14,I9fb27a0a into pi-dev

* changes:
  DO NOT MERGE WM: correctly draw the rounded corner / cutout overlay during rotation
  WM: Fix seamless rotation

6 years ago[Notif] Reset falsing check for blocking helper
Rohan Shah [Thu, 14 Jun 2018 20:14:18 +0000 (13:14 -0700)]
[Notif] Reset falsing check for blocking helper

Currently, if you long press on the notif in lock screen and then are
interacting with the blocking helper UI (NotificationInfo), the content
automatically closes after 8 seconds even if you've hit stop/undo/etc.

Instead of letting this happen, reset the timeout.

Test: Manually that it doesn't timeout after 8s on LS after update
Bug: 110213459
Change-Id: I0169a7749b718714595bd7239375308f30bf4c43

6 years agoUse the malloc debug heap dumper.
Christopher Ferris [Wed, 13 Jun 2018 20:19:57 +0000 (13:19 -0700)]
Use the malloc debug heap dumper.

Instead of having the malloc debug heap dump code live in frameworks
code, call into malloc debug to do the dump.

Test: Ran am dumpheap -n <PID> <FILE> of a process with and without
Test: malloc debug enabled.
Change-Id: I7911a3ee7dcbc79dd11003a24e27ff99c8301d43
Merged-In: I7911a3ee7dcbc79dd11003a24e27ff99c8301d43
(cherry picked from commit 38e2c3bc9c50770aa5efce47f90fbcfcdda523de)

6 years agoMerge "Use the malloc debug heap dumper."
Christopher Ferris [Fri, 15 Jun 2018 19:19:25 +0000 (19:19 +0000)]
Merge "Use the malloc debug heap dumper."

6 years agoMerge "Remove log spam in MediaRouter"
TreeHugger Robot [Fri, 15 Jun 2018 18:48:36 +0000 (18:48 +0000)]
Merge "Remove log spam in MediaRouter"

6 years agoMerge changes Idad77721,I9717ac4b
TreeHugger Robot [Fri, 15 Jun 2018 18:07:52 +0000 (18:07 +0000)]
Merge changes Idad77721,I9717ac4b

* changes:
  Split internal interface activities from current AM interface (3/n)
  Cancel Pip animation if stack is already removed

6 years agoMerge "audioservice: fix a2dp connection race condition" into pi-dev am: 706303541e
Eric Laurent [Fri, 15 Jun 2018 18:06:47 +0000 (11:06 -0700)]
Merge "audioservice: fix a2dp connection race condition" into pi-dev am: 706303541e
am: 94dce7ac8b

Change-Id: I001c3b390be7ee4e5522a5fd2599c9f34e6a7686

6 years ago[automerger] Merge "audioservice: fix a2dp connection race condition" into pi-dev...
Android Build Merger (Role) [Fri, 15 Jun 2018 18:00:07 +0000 (18:00 +0000)]
[automerger] Merge "audioservice: fix a2dp connection race condition" into pi-dev am: 706303541e am: c9abc289a0

Change-Id: Iabc86b907a6a430b824e876bab44b8cee192a71a

6 years agoMerge "audioservice: fix a2dp connection race condition" into pi-dev
Eric Laurent [Fri, 15 Jun 2018 17:59:08 +0000 (10:59 -0700)]
Merge "audioservice: fix a2dp connection race condition" into pi-dev
am: 706303541e

Change-Id: I7ce96cb90aad6c826bbeb7be0e80950f2a89b517

6 years agoMerge "Abbreviate permission labels less aggressively" into pi-dev am: af76df93e3
Philip P. Moltmann [Fri, 15 Jun 2018 17:58:56 +0000 (10:58 -0700)]
Merge "Abbreviate permission labels less aggressively" into pi-dev am: af76df93e3
am: 53427b7237

Change-Id: I20ae335fec3d0837bdbbe524b8a6576560dff948

6 years agoMerge "audioservice: fix a2dp connection race condition" into pi-dev
Eric Laurent [Fri, 15 Jun 2018 17:58:55 +0000 (10:58 -0700)]
Merge "audioservice: fix a2dp connection race condition" into pi-dev
am: 706303541e

Change-Id: Id4bbff8834f97f60c211dd3c45ce59af95fbb810

6 years ago[automerger] Merge "Abbreviate permission labels less aggressively" into pi-dev am...
Android Build Merger (Role) [Fri, 15 Jun 2018 17:48:50 +0000 (17:48 +0000)]
[automerger] Merge "Abbreviate permission labels less aggressively" into pi-dev am: af76df93e3 am: 3dce361445

Change-Id: Iea45f6992477e090e0f7ecaf2c4689354ad24786

6 years agoMerge "Abbreviate permission labels less aggressively" into pi-dev
Philip P. Moltmann [Fri, 15 Jun 2018 17:48:34 +0000 (10:48 -0700)]
Merge "Abbreviate permission labels less aggressively" into pi-dev
am: af76df93e3

Change-Id: I61a45dd4489c930f2c5b3fbcf6f7632771d6f18e

6 years agoMerge "Abbreviate permission labels less aggressively" into pi-dev
Philip P. Moltmann [Fri, 15 Jun 2018 17:48:02 +0000 (10:48 -0700)]
Merge "Abbreviate permission labels less aggressively" into pi-dev
am: af76df93e3

Change-Id: Ic78313f9bf162478b76ef35028659a1c93c9c58d

6 years agoMerge "audioservice: fix a2dp connection race condition" into pi-dev
Eric Laurent [Fri, 15 Jun 2018 17:43:42 +0000 (17:43 +0000)]
Merge "audioservice: fix a2dp connection race condition" into pi-dev

6 years agoRemove log spam in MediaRouter
Sungsoo Lim [Mon, 11 Jun 2018 03:55:25 +0000 (12:55 +0900)]
Remove log spam in MediaRouter

Bug: 110007356
Test: build
Change-Id: I249154eaf3c009429bb9731ca38b9e5eec271670

6 years agoFixed an issue where the shadow wasn't rounded properly
Selim Cinek [Wed, 30 May 2018 18:47:08 +0000 (11:47 -0700)]
Fixed an issue where the shadow wasn't rounded properly

Previously the implementation required the bottom roundness
to be treated specially when it came to the outline and
the clip path but this isn't necessary anymore and was
leading to issues with the shadows.
We now always apply the clipBottomAmount to the outline and
the clipping and can remove the special case.

Test: add notification, observe rounded clipping on bottom
Test: add groups, observe normal rounded clipping
Fixes: 80431867
Change-Id: Id65d11ce48c08adc138e1177226a03bc25ef6345

6 years agoUpdate user on user switched for color inversion
Beverly [Wed, 13 Jun 2018 14:49:26 +0000 (10:49 -0400)]
Update user on user switched for color inversion

When the user switches, also update the user associated
with the listener for color inversion of the rounded
corners and display cutout.

Fixes: 110037623
Test: manually switch to secondary user, set color inversion on/off
and see cutout is the correct color (it should always be black)

Change-Id: I53dcffa374cb46c212f25d402c7e8a35da667624

6 years agoSkip null values in Utils.safeForeach
Beverly [Fri, 15 Jun 2018 15:04:02 +0000 (11:04 -0400)]
Skip null values in Utils.safeForeach

Test: ZenModeControllerImplTest.java
Bug: 110209145
Change-Id: I4234be630c84444a70d8cb380ca6a692a4ff5cbc

6 years agoMerge "Skip null values in Utils.safeForeach"
TreeHugger Robot [Fri, 15 Jun 2018 17:20:59 +0000 (17:20 +0000)]
Merge "Skip null values in Utils.safeForeach"

6 years agoMerge "Abbreviate permission labels less aggressively" into pi-dev
Philip P. Moltmann [Fri, 15 Jun 2018 17:18:52 +0000 (17:18 +0000)]
Merge "Abbreviate permission labels less aggressively" into pi-dev

6 years agoSplit internal interface activities from current AM interface (3/n)
Wale Ogunwale [Thu, 3 May 2018 22:52:51 +0000 (15:52 -0700)]
Split internal interface activities from current AM interface (3/n)

3rd step in unifying the window hierarchy that is currently split
within AM and WM packages. We separate the the internal interface used
to communicate within system server dealing with activities and their
containers (tasks, stack, display) from the rest of AM internal
interface.

Test: Existing tests pass
Test: go/wm-smoke-auto
Bug: 80414790
Change-Id: Idad77721c1fe10621b9be5dced42a0a11f0183e5

6 years agoCancel Pip animation if stack is already removed
Wale Ogunwale [Fri, 15 Jun 2018 15:26:07 +0000 (08:26 -0700)]
Cancel Pip animation if stack is already removed

It is possible for the pinned stack to be removed before the system has
a chance to run the scheduled bounds animation on it. In this case we
should just cancel the animation.
Also fixed:
- Issue where we are synchronizing on the wrong object in
PinnedActivityStack.updatePictureInPictureModeForPinnedStackAnimation
- Issue where the enterPipRunnable in
ActivityTaskManagerService.enterPictureInPictureMode wasn't synchronized

Change-Id: I9717ac4b5849eafa6332fb0043310a0e8387a05f
Fixes: 110255768
Test: atest ActivityManagerActivityVisibilityTests#testHomeVisibleOnActivityTaskPinned

6 years agoSkip null values in Utils.safeForeach
Beverly [Fri, 15 Jun 2018 15:04:02 +0000 (11:04 -0400)]
Skip null values in Utils.safeForeach

Test: ZenModeControllerImplTest.java
Bug: 110209145
Change-Id: I4234be630c84444a70d8cb380ca6a692a4ff5cbc

6 years agoDo not announce selected state for QS tiles.
Amin Shaikh [Tue, 12 Jun 2018 22:25:43 +0000 (18:25 -0400)]
Do not announce selected state for QS tiles.

Change-Id: Ia461baa4a12818a0e91c6e1862eb9e13e232e720
Fixes: 110105146
Test: manual

6 years agoUse FullRestoreEngine in adb restore.
Anton Philippov [Fri, 4 May 2018 18:53:34 +0000 (19:53 +0100)]
Use FullRestoreEngine in adb restore.

PerformAdbRestoreTask and FullRestoreEngine has shared a lot of code,
remove the copy that was in PerformAdbRestoreTask.

Test: adb restore
Change-Id: Ib4ce8b50eff8aed4a2c0660808c05b80f378ea98

6 years agoMerge "Protect unbindBackupAgent() with CONFIRM_FULL_BACKUP permission"
Bernardo Rufino [Fri, 15 Jun 2018 08:43:50 +0000 (08:43 +0000)]
Merge "Protect unbindBackupAgent() with CONFIRM_FULL_BACKUP permission"

6 years agoAdjust QuickQSPanel to fit Tablet display size
Bill Lin [Wed, 13 Jun 2018 11:26:15 +0000 (19:26 +0800)]
Adjust QuickQSPanel to fit Tablet display size

- Remove legacy standard_notification_panel_width
- Define default max columns for QQS layout
- Fix Pixcel C & Nexus 7 QQS Tiles over boundry problem

Test: atest SystemUITests
Fix: 110123402
Change-Id: I18ab3d966b3d18775d0b13d6d60d7c09485ba8ae

6 years agoMerge "Build com.android.location.provider with java_sdk_library" am: aa5d8dfeb0...
Sundong Ahn [Fri, 15 Jun 2018 05:26:03 +0000 (22:26 -0700)]
Merge "Build com.android.location.provider with java_sdk_library" am: aa5d8dfeb0 am: abdaa314f8
am: 07fed30c31

Change-Id: If214f52c141ef4d0f106bc3f5d2778f9b8f40b1e

6 years agoMerge "Build com.android.location.provider with java_sdk_library" am: aa5d8dfeb0
Sundong Ahn [Fri, 15 Jun 2018 05:12:45 +0000 (22:12 -0700)]
Merge "Build com.android.location.provider with java_sdk_library" am: aa5d8dfeb0
am: abdaa314f8

Change-Id: If55a20564704769fc750fb6675533e9a0b8f3b6a

6 years agoMerge "Make dumpHexString() tolerate null arrays." am: a917c1db32 am: 7bb253d078
Bernie Innocenti [Fri, 15 Jun 2018 05:12:11 +0000 (22:12 -0700)]
Merge "Make dumpHexString() tolerate null arrays." am: a917c1db32 am: 7bb253d078
am: 3e0f3ef8ad

Change-Id: I1fbea877d10b4f270fc1722ec1c14e9bd8f131a3

6 years agoMerge "Make dumpHexString() tolerate null arrays." am: a917c1db32
Bernie Innocenti [Fri, 15 Jun 2018 05:02:58 +0000 (22:02 -0700)]
Merge "Make dumpHexString() tolerate null arrays." am: a917c1db32
am: 7bb253d078

Change-Id: Id58b8039510baa518d8d10b03237681a7b842d0f

6 years agoMerge "Build com.android.location.provider with java_sdk_library"
Sundong Ahn [Fri, 15 Jun 2018 04:59:40 +0000 (21:59 -0700)]
Merge "Build com.android.location.provider with java_sdk_library"
am: aa5d8dfeb0

Change-Id: I53720ed4fcbe9f00f2f1f607d07efa9adaaf7bb4

6 years agoMerge "Make dumpHexString() tolerate null arrays."
Bernie Innocenti [Fri, 15 Jun 2018 04:55:53 +0000 (21:55 -0700)]
Merge "Make dumpHexString() tolerate null arrays."
am: a917c1db32

Change-Id: Ib0160e232cab0a713853a65eef26f7a02d65c1f1

6 years agoMerge "Build com.android.location.provider with java_sdk_library"
Treehugger Robot [Fri, 15 Jun 2018 03:41:18 +0000 (03:41 +0000)]
Merge "Build com.android.location.provider with java_sdk_library"

6 years agoMerge "Refresh visible IME proc boost upon onBindingDied"
TreeHugger Robot [Fri, 15 Jun 2018 03:30:24 +0000 (03:30 +0000)]
Merge "Refresh visible IME proc boost upon onBindingDied"

6 years agoFix solid circle show on message notification am: 1250cd1407
Tony Huang [Fri, 15 Jun 2018 03:22:43 +0000 (20:22 -0700)]
Fix solid circle show on message notification am: 1250cd1407
am: cb74f9c13d

Change-Id: I74ddf43c3da0f8f567c9ab6aef18a6cbdcfebca5

6 years ago[automerger] Fix solid circle show on message notification am: 1250cd1407 am: 51e6cce63c
Android Build Merger (Role) [Fri, 15 Jun 2018 03:14:48 +0000 (03:14 +0000)]
[automerger] Fix solid circle show on message notification am: 1250cd1407 am: 51e6cce63c

Change-Id: I20b8317a34eac3642ec6054f5f2332d1e001a7ab

6 years agoFix solid circle show on message notification
Tony Huang [Fri, 15 Jun 2018 03:13:32 +0000 (20:13 -0700)]
Fix solid circle show on message notification
am: 1250cd1407

Change-Id: I9742ab1f93c797e23d4545d6659efcfa4808b03c

6 years agoFix solid circle show on message notification
Tony Huang [Fri, 15 Jun 2018 03:13:30 +0000 (20:13 -0700)]
Fix solid circle show on message notification
am: 1250cd1407

Change-Id: I805908a107f7e082a0f5c3294a777235efa74b16