OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Follow up to Ia7900e753b29187a7a7b81f393666687e8b8e04b"
Jorim Jaggi [Wed, 16 May 2018 22:41:53 +0000 (22:41 +0000)]
Merge "Follow up to Ia7900e753b29187a7a7b81f393666687e8b8e04b"

6 years agoMerge "Merge "Add contentDescription to status bar alarm" into pi-dev am: 9e04425f9e...
Evan Laird [Wed, 16 May 2018 21:41:49 +0000 (14:41 -0700)]
Merge "Merge "Add contentDescription to status bar alarm" into pi-dev am: 9e04425f9e" into pi-dev-plus-aosp
am: 838c485e55

Change-Id: I2d48b29173ac7e1cc346d1613dc8d0d337f794bb

6 years agoFollow up to Ia7900e753b29187a7a7b81f393666687e8b8e04b
Jorim Jaggi [Wed, 16 May 2018 21:37:02 +0000 (14:37 -0700)]
Follow up to Ia7900e753b29187a7a7b81f393666687e8b8e04b

Test: Open notification
Bug: 78611607
Change-Id: I608d4b619d5e236c1c874c8c7613f35574d45fd4

6 years agoMerge "Disable AAPT2 for modules that use missing features" am: 87dc8d6576 am: 1d9a9610ae
Colin Cross [Wed, 16 May 2018 21:31:31 +0000 (14:31 -0700)]
Merge "Disable AAPT2 for modules that use missing features" am: 87dc8d6576 am: 1d9a9610ae
am: 3667bf4876

Change-Id: Id5dd5513af0a84616e34dd3303561b8dee4c12ad

6 years agoMerge "Fix KeyguardUpdateMonitor test" into pi-dev am: 8f4bed7de7
Lucas Dupin [Wed, 16 May 2018 21:20:18 +0000 (14:20 -0700)]
Merge "Fix KeyguardUpdateMonitor test" into pi-dev am: 8f4bed7de7
am: dbe6d50990

Change-Id: Ib937f8efaa36e15e1202b9dd975f60a7083e89ec

6 years agoMerge "Merge "Add contentDescription to status bar alarm" into pi-dev am: 9e04425f9e...
Android Build Merger (Role) [Wed, 16 May 2018 21:17:12 +0000 (21:17 +0000)]
Merge "Merge "Add contentDescription to status bar alarm" into pi-dev am: 9e04425f9e" into pi-dev-plus-aosp

6 years agoMerge "Add contentDescription to status bar alarm" into pi-dev
Evan Laird [Wed, 16 May 2018 21:16:50 +0000 (14:16 -0700)]
Merge "Add contentDescription to status bar alarm" into pi-dev
am: 9e04425f9e

Change-Id: I671594d8020da13d1500589f3b4962417167400e

6 years agoMerge "Disable AAPT2 for modules that use missing features" am: 87dc8d6576
Colin Cross [Wed, 16 May 2018 21:14:27 +0000 (14:14 -0700)]
Merge "Disable AAPT2 for modules that use missing features" am: 87dc8d6576
am: 1d9a9610ae

Change-Id: Iba6ee4996c11d66fa7e6f510b0213b2e61f30524

6 years agoMerge "Fix KeyguardUpdateMonitor test" into pi-dev
Lucas Dupin [Wed, 16 May 2018 21:07:08 +0000 (14:07 -0700)]
Merge "Fix KeyguardUpdateMonitor test" into pi-dev
am: 8f4bed7de7

Change-Id: Idab6e96c851260854a6b240cc8b163b08e7e1c68

6 years agoMerge "Disable AAPT2 for modules that use missing features"
Colin Cross [Wed, 16 May 2018 21:05:09 +0000 (14:05 -0700)]
Merge "Disable AAPT2 for modules that use missing features"
am: 87dc8d6576

Change-Id: I0b745f8f9bd0af7eaa4a395a7f024b981f4193c3

6 years agoMerge "Add contentDescription to status bar alarm" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 21:02:45 +0000 (21:02 +0000)]
Merge "Add contentDescription to status bar alarm" into pi-dev

6 years agoMerge "Fix KeyguardUpdateMonitor test" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 20:50:25 +0000 (20:50 +0000)]
Merge "Fix KeyguardUpdateMonitor test" into pi-dev

6 years agoMerge "Remove total_silence dnd icon" into pi-dev am: 98c2f7f9de
Evan Laird [Wed, 16 May 2018 20:39:04 +0000 (13:39 -0700)]
Merge "Remove total_silence dnd icon" into pi-dev am: 98c2f7f9de
am: 89be831c46

Change-Id: I26eb2f2a29ab47b53d642d4961aebd9cf84222e8

6 years agoMerge "Adding utility method to dump encoded view hierarchy" into pi-dev am: ce42933ae3
Sunny Goyal [Wed, 16 May 2018 20:29:03 +0000 (13:29 -0700)]
Merge "Adding utility method to dump encoded view hierarchy" into pi-dev am: ce42933ae3
am: 7e7ad73005

Change-Id: If9041ce31a967fdc2c502027699a17385f8d05a5

6 years agoMerge "Check mStatusBarWindowHidden bit when deciding to hide status bar" into pi...
Evan Laird [Wed, 16 May 2018 20:24:04 +0000 (13:24 -0700)]
Merge "Check mStatusBarWindowHidden bit when deciding to hide status bar" into pi-dev am: 8776299ea9
am: b924acb12f

Change-Id: I73e8d6dc30a7675e323c8e79257662d6a0769740

6 years agoMerge "Remove total_silence dnd icon" into pi-dev
Evan Laird [Wed, 16 May 2018 20:21:38 +0000 (13:21 -0700)]
Merge "Remove total_silence dnd icon" into pi-dev
am: 98c2f7f9de

Change-Id: I78334e99e36ad4ed44899a20c1c9ee72ba6be8b9

6 years agoMerge "More app ops fg/bg tuning" into pi-dev am: cd835ba418
Dianne Hackborn [Wed, 16 May 2018 20:17:51 +0000 (13:17 -0700)]
Merge "More app ops fg/bg tuning" into pi-dev am: cd835ba418
am: 863d2a46db

Change-Id: I8f5756cbecc59297d252f87de1829087b67c2575

6 years agoMerge "Adding utility method to dump encoded view hierarchy" into pi-dev
Sunny Goyal [Wed, 16 May 2018 20:15:09 +0000 (13:15 -0700)]
Merge "Adding utility method to dump encoded view hierarchy" into pi-dev
am: ce42933ae3

Change-Id: Ie7c2aa1019c4027a3521fb3fcfde4c71b971ff45

6 years agoMerge "Check mStatusBarWindowHidden bit when deciding to hide status bar" into pi-dev
Evan Laird [Wed, 16 May 2018 20:10:50 +0000 (13:10 -0700)]
Merge "Check mStatusBarWindowHidden bit when deciding to hide status bar" into pi-dev
am: 8776299ea9

Change-Id: I410eec9bd9d369e5e26e5a6ee954ebfd70c679ab

6 years agoMerge "More app ops fg/bg tuning" into pi-dev
Dianne Hackborn [Wed, 16 May 2018 20:06:47 +0000 (13:06 -0700)]
Merge "More app ops fg/bg tuning" into pi-dev
am: cd835ba418

Change-Id: Id6a026dabee96a175aac5b40b80487c8ed1ab511

6 years agoMerge "Remove total_silence dnd icon" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 20:05:03 +0000 (20:05 +0000)]
Merge "Remove total_silence dnd icon" into pi-dev

6 years agoMerge "Tracks binder call latencies in a similar way to cpu time."
Olivier Gaillard [Wed, 16 May 2018 20:03:40 +0000 (20:03 +0000)]
Merge "Tracks binder call latencies in a similar way to cpu time."

6 years agoAdd contentDescription to status bar alarm
Evan Laird [Wed, 16 May 2018 19:58:49 +0000 (15:58 -0400)]
Add contentDescription to status bar alarm

Test: turn on talkback; tap alarm; listen
Bug: 66964503
Change-Id: If416e7f96de0873dd6e920c7dcf6f23f88ce2204

6 years agoMerge "Adding utility method to dump encoded view hierarchy" into pi-dev
Sunny Goyal [Wed, 16 May 2018 19:56:45 +0000 (19:56 +0000)]
Merge "Adding utility method to dump encoded view hierarchy" into pi-dev

6 years agoMerge "Check mStatusBarWindowHidden bit when deciding to hide status bar" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 19:49:48 +0000 (19:49 +0000)]
Merge "Check mStatusBarWindowHidden bit when deciding to hide status bar" into pi-dev

6 years agoMerge "More app ops fg/bg tuning" into pi-dev
Dianne Hackborn [Wed, 16 May 2018 19:48:54 +0000 (19:48 +0000)]
Merge "More app ops fg/bg tuning" into pi-dev

6 years agoFix KeyguardUpdateMonitor test
Lucas Dupin [Wed, 16 May 2018 19:14:10 +0000 (12:14 -0700)]
Fix KeyguardUpdateMonitor test

KeyguardUpdateMonitor's Handler runs on the main looper by design,
we need to ensure that whenever we're processing messages, that
they will also be received on the main looper.

Also unregistered a broadcast listener to avoid a possible race
condition

Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardUpdateMonitorTest.java
Bug: 79550837
Change-Id: I14a319da5c6bc46fd32675ae205e14a6228efaa4

6 years agoMerge "Disable AAPT2 for modules that use missing features"
Treehugger Robot [Wed, 16 May 2018 19:31:42 +0000 (19:31 +0000)]
Merge "Disable AAPT2 for modules that use missing features"

6 years agoMerge "Remove SCO devices if Bluetooth process is dead" into pi-dev am: 1b43af094e
Ugo Yu [Wed, 16 May 2018 18:57:06 +0000 (11:57 -0700)]
Merge "Remove SCO devices if Bluetooth process is dead" into pi-dev am: 1b43af094e
am: c1fd065527

Change-Id: I9a276be889731a419d02b1ad64aeabf3a4a941cf

6 years agoMerge "Add new method refreshSummary(Preference)"
TreeHugger Robot [Wed, 16 May 2018 18:39:29 +0000 (18:39 +0000)]
Merge "Add new method refreshSummary(Preference)"

6 years agoMerge "Remove SCO devices if Bluetooth process is dead" into pi-dev
Ugo Yu [Wed, 16 May 2018 18:20:45 +0000 (11:20 -0700)]
Merge "Remove SCO devices if Bluetooth process is dead" into pi-dev
am: 1b43af094e

Change-Id: I2e4f230fd80fbcb4d7db943ba7e712e5a905409a

6 years agoMerge "Remove SCO devices if Bluetooth process is dead" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 18:06:46 +0000 (18:06 +0000)]
Merge "Remove SCO devices if Bluetooth process is dead" into pi-dev

6 years agoMerge "ScreenDecor: Set touchable region in windows coordinate space" into pi-dev...
Adrian Roos [Wed, 16 May 2018 17:46:36 +0000 (10:46 -0700)]
Merge "ScreenDecor: Set touchable region in windows coordinate space" into pi-dev am: befd06af14
am: da87a31e2a

Change-Id: I7f6226a2b329b791a76d540420e8a5c7a2521a21

6 years agoMerge "ScreenDecor: Set touchable region in windows coordinate space" into pi-dev
Adrian Roos [Wed, 16 May 2018 17:34:29 +0000 (10:34 -0700)]
Merge "ScreenDecor: Set touchable region in windows coordinate space" into pi-dev
am: befd06af14

Change-Id: I12cb6febe20f01991a57bf52c78584dda1b62dc7

6 years agoMerge "ScreenDecor: Set touchable region in windows coordinate space" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 17:19:46 +0000 (17:19 +0000)]
Merge "ScreenDecor: Set touchable region in windows coordinate space" into pi-dev

6 years agoAdding utility method to dump encoded view hierarchy
Sunny Goyal [Wed, 16 May 2018 17:13:13 +0000 (10:13 -0700)]
Adding utility method to dump encoded view hierarchy

Test: Verified the library change with launcher (after generating a bug report)
Bug: 79861035
Change-Id: Id1eabbfd293ee43c46cbecae82442fc77b661744

6 years agoDisable AAPT2 for modules that use missing features
Colin Cross [Wed, 16 May 2018 16:21:18 +0000 (09:21 -0700)]
Disable AAPT2 for modules that use missing features

Use LOCAL_USE_AAPT2 := false to disable AAPT2 for modules that
use features that are not implemented in AAPT2.

Fixes:
frameworks/base/core/tests/coretests/apks/install_multi_package/AndroidManifest.xml:46: error: unexpected element <package> found in <manifest>.
frameworks/base/core/tests/coretests/apks/install_multi_package/AndroidManifest.xml:82: error: unexpected element <package> found in <manifest>.
frameworks/base/core/tests/coretests/apks/install_verifier_bad/AndroidManifest.xml:19: error: unexpected element <package-verifier> found in <manifest>.
frameworks/base/core/tests/coretests/apks/install_verifier_good/AndroidManifest.xml:19: error: unexpected element <package-verifier> found in <manifest>.
frameworks/base/packages/CtsShim/build/shim/AndroidManifest.xml:25: error: unexpected element <restrict-update> found in <manifest>.
frameworks/base/tests/ActivityTests/AndroidManifest.xml:42: error: unexpected element <preferred> found in <manifest><application><activity>.
out/target/common/obj/APPS/CtsShimPriv_intermediates/AndroidManifest.xml:25: error: unexpected element <restrict-update> found in <manifest>.
frameworks/base/core/tests/coretests/AndroidManifest.xml:26: error: unexpected element <meta-data> found in <manifest><permission>.
...

Bug: 79755007
Test: m FORCE_AAPT2=true java
Change-Id: I393b697c521ab2a4fbc00b29a43aed6b4729b9a8

6 years agoMerge "Q."
Jeff Sharkey [Wed, 16 May 2018 16:08:48 +0000 (16:08 +0000)]
Merge "Q."

6 years agoMerge "Stop using Arrays.checkOffsetAndCount." am: ca3450b524 am: ca2bafa5b7
Pete Gillin [Wed, 16 May 2018 16:05:12 +0000 (09:05 -0700)]
Merge "Stop using Arrays.checkOffsetAndCount." am: ca3450b524 am: ca2bafa5b7
am: bae2f15f7d

Change-Id: I37968eac6fba594985882ecb39a2355dfa54899f

6 years agoMerge "Merge "Fix testable looper threading" into pi-dev am: 5a36c134b7" into pi...
Jason Monk [Wed, 16 May 2018 15:55:30 +0000 (08:55 -0700)]
Merge "Merge "Fix testable looper threading" into pi-dev am: 5a36c134b7" into pi-dev-plus-aosp
am: 6a308e1800

Change-Id: I33d57e7867bde221b53f6710d6c984aed58707b6

6 years agoMerge "Merge "Stop using Arrays.checkOffsetAndCount. am: 60f55a255f" into stage-aosp...
Pete Gillin [Wed, 16 May 2018 15:44:56 +0000 (08:44 -0700)]
Merge "Merge "Stop using Arrays.checkOffsetAndCount. am: 60f55a255f" into stage-aosp-master am: 72629d9999" into pi-dev-plus-aosp
am: cb45faa86e

Change-Id: Ibabe1fec3050f26e0a3182077180009ccd3271ad

6 years agoScreenDecor: Set touchable region in windows coordinate space
Adrian Roos [Wed, 16 May 2018 15:04:29 +0000 (17:04 +0200)]
ScreenDecor: Set touchable region in windows coordinate space

Also restricts the region to the frame of the view. This
is important for double cutouts, would go to the wrong view,
and having a touchable region spanning the entire screen
breaks some a11y services.

Change-Id: I824e5fb9b2f2e765ee9b6da4fcaf2c6840d8f51d
Fixes: 79533418
Test: turn on double cutout emulation; adb shell dumpsys window ScreenDecor, verify touchable region for each decor looks right.

6 years agoMerge "Stop using Arrays.checkOffsetAndCount." am: ca3450b524
Pete Gillin [Wed, 16 May 2018 15:35:54 +0000 (08:35 -0700)]
Merge "Stop using Arrays.checkOffsetAndCount." am: ca3450b524
am: ca2bafa5b7

Change-Id: Ia3f37588850943854ceb95b32117d051442b05fd

6 years agoRemove total_silence dnd icon
Evan Laird [Wed, 16 May 2018 15:32:08 +0000 (11:32 -0400)]
Remove total_silence dnd icon

It's not cool anymore

Test: "shush, phone" -> look at status bar -> see wireframe dnd icon
Change-Id: I5ffbb6ae97dfc321c2404caeabd5e201fde7f4c3
Fixes: 79853559

6 years agoMerge "Add metric to log use of hush gesture" into pi-dev am: 2b0ead73c7
Beverly [Wed, 16 May 2018 15:31:43 +0000 (08:31 -0700)]
Merge "Add metric to log use of hush gesture" into pi-dev am: 2b0ead73c7
am: a3cb0ae74a

Change-Id: I132929f9218013bffe904b69c549070816486428

6 years agoMerge "Merge "Fix testable looper threading" into pi-dev am: 5a36c134b7" into pi...
Android Build Merger (Role) [Wed, 16 May 2018 15:30:11 +0000 (15:30 +0000)]
Merge "Merge "Fix testable looper threading" into pi-dev am: 5a36c134b7" into pi-dev-plus-aosp

6 years agoMerge "Fix testable looper threading" into pi-dev
Jason Monk [Wed, 16 May 2018 15:29:42 +0000 (08:29 -0700)]
Merge "Fix testable looper threading" into pi-dev
am: 5a36c134b7

Change-Id: I63b58decc71d46ae35351273551174d6fb646dab

6 years agoMerge "Merge "Stop using Arrays.checkOffsetAndCount. am: 60f55a255f" into stage-aosp...
Android Build Merger (Role) [Wed, 16 May 2018 15:28:40 +0000 (15:28 +0000)]
Merge "Merge "Stop using Arrays.checkOffsetAndCount. am: 60f55a255f" into stage-aosp-master am: 72629d9999" into pi-dev-plus-aosp

6 years agoMerge "Stop using Arrays.checkOffsetAndCount. am: 60f55a255f" into stage-aosp-master
Pete Gillin [Wed, 16 May 2018 15:27:27 +0000 (08:27 -0700)]
Merge "Stop using Arrays.checkOffsetAndCount. am: 60f55a255f" into stage-aosp-master
am: 72629d9999

Change-Id: Ia8f5ce41c654cb6522c6ea5f2863d97f282ce268

6 years agoMerge "Add metric to log use of hush gesture" into pi-dev
Beverly [Wed, 16 May 2018 15:24:40 +0000 (08:24 -0700)]
Merge "Add metric to log use of hush gesture" into pi-dev
am: 2b0ead73c7

Change-Id: I150d7e7700f935779ec09dc378258be2206fe1f6

6 years agoMerge "Fix testable looper threading" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 15:22:37 +0000 (15:22 +0000)]
Merge "Fix testable looper threading" into pi-dev

6 years agoMerge "Stop using Arrays.checkOffsetAndCount."
Pete Gillin [Wed, 16 May 2018 15:12:15 +0000 (08:12 -0700)]
Merge "Stop using Arrays.checkOffsetAndCount."
am: ca3450b524

Change-Id: I9652cdbab5e0b5e0777611ebd013df6c30fc61c5

6 years agoMerge "Add metric to log use of hush gesture" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 15:00:31 +0000 (15:00 +0000)]
Merge "Add metric to log use of hush gesture" into pi-dev

6 years agoMerge "Stop using Arrays.checkOffsetAndCount. am: 60f55a255f" into stage-aosp-master
Android Build Merger (Role) [Wed, 16 May 2018 15:00:12 +0000 (15:00 +0000)]
Merge "Stop using Arrays.checkOffsetAndCount. am: 60f55a255f" into stage-aosp-master

6 years agoMerge "Add some null checks to slices" into pi-dev am: 0689312acb
Jason Monk [Wed, 16 May 2018 14:59:22 +0000 (07:59 -0700)]
Merge "Add some null checks to slices" into pi-dev am: 0689312acb
am: 9473edd1da

Change-Id: I4f87ba2997047e0721a0c1e9ce3f4047af17c709

6 years agoMerge "Improved notification interruptiveness calculation." into pi-dev am: 4da6e1f3b0
Daniel Sandler [Wed, 16 May 2018 14:51:27 +0000 (07:51 -0700)]
Merge "Improved notification interruptiveness calculation." into pi-dev am: 4da6e1f3b0
am: 63257f50b5

Change-Id: Ia8f3ef78d801759c8fae8e76f2838609ef861e55

6 years agoMerge "Add some null checks to slices" into pi-dev
Jason Monk [Wed, 16 May 2018 14:46:41 +0000 (07:46 -0700)]
Merge "Add some null checks to slices" into pi-dev
am: 0689312acb

Change-Id: Id936f04e9b54b565547b612cc341f9b7672bb186

6 years agoMerge "Improved notification interruptiveness calculation." into pi-dev
Daniel Sandler [Wed, 16 May 2018 14:41:39 +0000 (07:41 -0700)]
Merge "Improved notification interruptiveness calculation." into pi-dev
am: 4da6e1f3b0

Change-Id: Iab0568f6dde4b247480b1fc259d3e65e50074cd9

6 years ago[automerger skipped] Merge "Merge "Update Android.bp for api-stubs in order to do...
Nan Zhang [Wed, 16 May 2018 14:27:45 +0000 (07:27 -0700)]
[automerger skipped] Merge "Merge "Update Android.bp for api-stubs in order to do api-check." am: 001d2aed31" into stage-aosp-master am: 501f20bc63  -s ours
am: 0df7b9eab8  -s ours

Change-Id: Icdbcc89468f88e613e126815e28db517199d079a

6 years agoMerge "Add some null checks to slices" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 14:27:42 +0000 (14:27 +0000)]
Merge "Add some null checks to slices" into pi-dev

6 years agoMerge "Improved notification interruptiveness calculation." into pi-dev
Daniel Sandler [Wed, 16 May 2018 14:23:38 +0000 (14:23 +0000)]
Merge "Improved notification interruptiveness calculation." into pi-dev

6 years ago[automerger skipped] Merge "Merge "Update Android.bp for api-stubs in order to do...
Nan Zhang [Wed, 16 May 2018 14:16:54 +0000 (07:16 -0700)]
[automerger skipped] Merge "Merge "Update Android.bp for api-stubs in order to do api-check." am: 001d2aed31" into stage-aosp-master
am: 501f20bc63  -s ours

Change-Id: I485171dcd37c6a1977e1dce15ccc0837c261a517

6 years agoFix testable looper threading
Jason Monk [Wed, 16 May 2018 14:15:33 +0000 (10:15 -0400)]
Fix testable looper threading

In the case where an annotation was not used and the TestableLooper
was manually created, then the messages would be executed on the wrong
thread.

Also switch some handlers over to async, might save us a little time.

Test: runtest --path frameworks/base/tests/testables
Bug: 79550837
Change-Id: I70a36449ae08eb5799e2dad41a5d258bb51a3fd3

6 years agoStop using Arrays.checkOffsetAndCount.
Pete Gillin [Wed, 16 May 2018 14:11:54 +0000 (07:11 -0700)]
Stop using Arrays.checkOffsetAndCount.
am: 60f55a255f

Change-Id: Ic9f894d8fe813d0bb6e3776790ff113d2826d881

6 years agoMerge "Merge "Update Android.bp for api-stubs in order to do api-check." am: 001d2aed...
Android Build Merger (Role) [Wed, 16 May 2018 14:09:18 +0000 (14:09 +0000)]
Merge "Merge "Update Android.bp for api-stubs in order to do api-check." am: 001d2aed31" into stage-aosp-master

6 years agoMerge "Update Android.bp for api-stubs in order to do api-check."
Nan Zhang [Wed, 16 May 2018 14:08:44 +0000 (07:08 -0700)]
Merge "Update Android.bp for api-stubs in order to do api-check."
am: 001d2aed31

Change-Id: Ic7500b86c150b2c5f5870374a6ab5b0215278814

6 years agoMerge "Make clock and battery clickable in QS status bar." into pi-dev am: e79d905577
Amin Shaikh [Wed, 16 May 2018 14:03:08 +0000 (07:03 -0700)]
Merge "Make clock and battery clickable in QS status bar." into pi-dev am: e79d905577
am: c5c38ee2f4

Change-Id: I39e86df1b636032cc8af414b434c75c0e412ee4f

6 years agoMerge "Make clock and battery clickable in QS status bar." into pi-dev
Amin Shaikh [Wed, 16 May 2018 13:54:26 +0000 (06:54 -0700)]
Merge "Make clock and battery clickable in QS status bar." into pi-dev
am: e79d905577

Change-Id: I508455d4c3e2362a130edec6ea8354648460afdc

6 years agoMerge "Do not dismiss QS toggling mobile data." into pi-dev am: 3884c102a8
Amin Shaikh [Wed, 16 May 2018 13:49:34 +0000 (06:49 -0700)]
Merge "Do not dismiss QS toggling mobile data." into pi-dev am: 3884c102a8
am: d2c21904ab

Change-Id: I57655252c63841cf5799d496d64d964101552cf2

6 years agoMerge "Make clock and battery clickable in QS status bar." into pi-dev
TreeHugger Robot [Wed, 16 May 2018 13:44:13 +0000 (13:44 +0000)]
Merge "Make clock and battery clickable in QS status bar." into pi-dev

6 years agoMerge "Do not dismiss QS toggling mobile data." into pi-dev
Amin Shaikh [Wed, 16 May 2018 13:42:06 +0000 (06:42 -0700)]
Merge "Do not dismiss QS toggling mobile data." into pi-dev
am: 3884c102a8

Change-Id: I24eac056c2761dbc4594e7e10e1275bb660651ce

6 years agoMerge "Do not dismiss QS toggling mobile data." into pi-dev
TreeHugger Robot [Wed, 16 May 2018 13:29:15 +0000 (13:29 +0000)]
Merge "Do not dismiss QS toggling mobile data." into pi-dev

6 years agoAdd metric to log use of hush gesture
Beverly [Tue, 15 May 2018 20:16:54 +0000 (16:16 -0400)]
Add metric to log use of hush gesture

Change-Id: I14578149a79b1455267cb6efc6493c596129032d
Bug: 79537757
Bug: 78665512
Test: manual, builds

6 years agoMerge "Avoid calling updateOomAdj an extra time" into pi-dev am: e5c8e375e1
Amith Yamasani [Wed, 16 May 2018 13:14:20 +0000 (06:14 -0700)]
Merge "Avoid calling updateOomAdj an extra time" into pi-dev am: e5c8e375e1
am: e3176776b9

Change-Id: Ic319642d1ef01f658c4d0b74bbaeaeead91dc76e

6 years agoMerge "Avoid calling updateOomAdj an extra time" into pi-dev
Amith Yamasani [Wed, 16 May 2018 13:04:19 +0000 (06:04 -0700)]
Merge "Avoid calling updateOomAdj an extra time" into pi-dev
am: e5c8e375e1

Change-Id: I37d9c6ca73f7151805266caf5b6eec5fa55ab075

6 years agoMerge "Stop using Arrays.checkOffsetAndCount."
Pete Gillin [Wed, 16 May 2018 13:04:13 +0000 (13:04 +0000)]
Merge "Stop using Arrays.checkOffsetAndCount."

6 years agoMerge "Avoid calling updateOomAdj an extra time" into pi-dev
Amith Yamasani [Wed, 16 May 2018 12:54:14 +0000 (12:54 +0000)]
Merge "Avoid calling updateOomAdj an extra time" into pi-dev

6 years agoImproved notification interruptiveness calculation.
Dan Sandler [Tue, 15 May 2018 18:06:38 +0000 (14:06 -0400)]
Improved notification interruptiveness calculation.

Apparently comparing Spannables is dangerous because
the various Span classes do not implement .equals() in any
meaningful way, so all CharSequences must be converted to
flat Strings before being compared.

Lots of additional debug code remains, for the next time we
don't understand why an innocuous notification update
appears to be interruptive.

Test: atest com.android.server.notification.NotificationManagerServiceTest
      atest com.android.server.notification.NotificationTest
Bug: 78643290
Change-Id: I1c282238687f28b5b197e28a4b878dc697049f4d

6 years agoFixed regression on jank test of changeBrightness am: 4ef7ca5a9a
shawnlin [Wed, 16 May 2018 09:00:56 +0000 (02:00 -0700)]
Fixed regression on jank test of changeBrightness am: 4ef7ca5a9a
am: 694d77c8af

Change-Id: I2f92e1ddb6d51d4861077f4799d31f974fb5c59d

6 years agoFixed regression on jank test of changeBrightness
shawnlin [Wed, 16 May 2018 08:55:24 +0000 (01:55 -0700)]
Fixed regression on jank test of changeBrightness
am: 4ef7ca5a9a

Change-Id: I7409aac0c7d43e459fc81fc94adabd1ce4b1c392

6 years agoMerge "Add connection state summary for android auto" into pi-dev am: c443a7cbef
ryanywlin [Wed, 16 May 2018 07:11:27 +0000 (00:11 -0700)]
Merge "Add connection state summary for android auto" into pi-dev am: c443a7cbef
am: f1cef39580

Change-Id: I8108c60d09cc74dd01e05a3580698eba71d2b9bf

6 years agoFixed regression on jank test of changeBrightness
shawnlin [Fri, 11 May 2018 08:44:42 +0000 (16:44 +0800)]
Fixed regression on jank test of changeBrightness

Replace using hardware layer for alpha animation with drawing
transparent color with MULTIPLY mode.

Test: atest google/perf/jank/SystemUI/UbSystemUIJankTests-Trace:android.platform.systemui.tests.jank.SystemUiJankTests#testChangeBrightness
Change-Id: I9615af89c4418dd90ccc86e9e7c71d88e7121826
Fixes: 79266233

6 years agoMerge "Add connection state summary for android auto" into pi-dev
ryanywlin [Wed, 16 May 2018 07:02:33 +0000 (00:02 -0700)]
Merge "Add connection state summary for android auto" into pi-dev
am: c443a7cbef

Change-Id: I5130eceb4a79a3a44f0f7df45034e622b79898fa

6 years agoMerge "Add connection state summary for android auto" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 06:52:20 +0000 (06:52 +0000)]
Merge "Add connection state summary for android auto" into pi-dev

6 years agoMerge "Allow recents component to launch non-exported activities" into pi-dev am...
Winson Chung [Wed, 16 May 2018 05:02:18 +0000 (22:02 -0700)]
Merge "Allow recents component to launch non-exported activities" into pi-dev am: 037834d557
am: 11d224f7b4

Change-Id: I3047beabbf1da43569a61710accb4b2703b39812

6 years agoMerge "Allow recents component to launch non-exported activities" into pi-dev
Winson Chung [Wed, 16 May 2018 04:53:06 +0000 (21:53 -0700)]
Merge "Allow recents component to launch non-exported activities" into pi-dev
am: 037834d557

Change-Id: I0696f06e719b62dd79794176f4319b8dc636657a

6 years agoMerge "Allow recents component to launch non-exported activities" into pi-dev
Winson Chung [Wed, 16 May 2018 04:40:35 +0000 (04:40 +0000)]
Merge "Allow recents component to launch non-exported activities" into pi-dev

6 years ago[automerger skipped] Merge "Update Android.bp for api-stubs in order to do api-check...
Nan Zhang [Wed, 16 May 2018 03:53:01 +0000 (20:53 -0700)]
[automerger skipped] Merge "Update Android.bp for api-stubs in order to do api-check." am: 001d2aed31 am: da5d25cac5  -s ours
am: 10e86d9f2f  -s ours

Change-Id: Ie40cfd3e5f02bda389023efca11f61b3f44bec3d

6 years ago[automerger skipped] Merge "Update Android.bp for api-stubs in order to do api-check...
Nan Zhang [Wed, 16 May 2018 03:44:21 +0000 (20:44 -0700)]
[automerger skipped] Merge "Update Android.bp for api-stubs in order to do api-check." am: 001d2aed31
am: da5d25cac5  -s ours

Change-Id: Ic67fee194b491d4fa1868e9022dcee4c1086967f

6 years agoMake clock and battery clickable in QS status bar.
Amin Shaikh [Wed, 16 May 2018 03:43:34 +0000 (23:43 -0400)]
Make clock and battery clickable in QS status bar.

Change-Id: Id96253cb034305337cb2e34b45ca032e5cf8c7ac
Fixes: 79472358
Test: manual

6 years agoDo not dismiss QS toggling mobile data.
Amin Shaikh [Wed, 16 May 2018 03:07:57 +0000 (23:07 -0400)]
Do not dismiss QS toggling mobile data.

Change-Id: I2691b95b182fa16b943338d86b6e49a1b2362fca
Fixes: 79371609
Test: visual

6 years agoMerge "Update misc settingslib icons" into pi-dev am: ee555d5f90
Fan Zhang [Wed, 16 May 2018 03:02:10 +0000 (20:02 -0700)]
Merge "Update misc settingslib icons" into pi-dev am: ee555d5f90
am: 2f8f73e98c

Change-Id: I1db25982e492ae94c5d950bb030af5e0bf1569c3

6 years agoMerge "Fixes Value metrics in statsd and app upgrades." into pi-dev am: c9076fac9b
David Chen [Wed, 16 May 2018 02:54:54 +0000 (19:54 -0700)]
Merge "Fixes Value metrics in statsd and app upgrades." into pi-dev am: c9076fac9b
am: fcac66945b

Change-Id: I69ec35986b48e33b61a93dca78b0aa4dff2a9ce8

6 years agoMerge "Update misc settingslib icons" into pi-dev
Fan Zhang [Wed, 16 May 2018 02:54:51 +0000 (19:54 -0700)]
Merge "Update misc settingslib icons" into pi-dev
am: ee555d5f90

Change-Id: I70da049c0efd0f14ae8521a7b505c7294dd5758d

6 years agoMerge "Update Android.bp for api-stubs in order to do api-check."
Nan Zhang [Wed, 16 May 2018 02:47:02 +0000 (19:47 -0700)]
Merge "Update Android.bp for api-stubs in order to do api-check."
am: 001d2aed31

Change-Id: I6db802857405e61b96c9f1863f96584d43bcbc9a

6 years agoMerge "Update misc settingslib icons" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 02:46:53 +0000 (02:46 +0000)]
Merge "Update misc settingslib icons" into pi-dev

6 years agoMerge "Fix issue where panel wouldn't collapse" into pi-dev am: a0b6b5033d
Lucas Dupin [Wed, 16 May 2018 02:46:16 +0000 (19:46 -0700)]
Merge "Fix issue where panel wouldn't collapse" into pi-dev am: a0b6b5033d
am: 138b13d2bf

Change-Id: If1b45d1b69892ca7dbfbe66a63ba83c8cd275cd3

6 years agoMerge "Fixes Value metrics in statsd and app upgrades." into pi-dev
David Chen [Wed, 16 May 2018 02:41:05 +0000 (19:41 -0700)]
Merge "Fixes Value metrics in statsd and app upgrades." into pi-dev
am: c9076fac9b

Change-Id: Ib54ea85970d57c70cba12157f8d0ef1fcf602a6d

6 years agoMerge "Fix issue where panel wouldn't collapse" into pi-dev
Lucas Dupin [Wed, 16 May 2018 02:36:57 +0000 (19:36 -0700)]
Merge "Fix issue where panel wouldn't collapse" into pi-dev
am: a0b6b5033d

Change-Id: I280773ee8b95388baf3496b59dbc2fbc709a6d22

6 years agoMerge "Fixes Value metrics in statsd and app upgrades." into pi-dev
TreeHugger Robot [Wed, 16 May 2018 02:27:37 +0000 (02:27 +0000)]
Merge "Fixes Value metrics in statsd and app upgrades." into pi-dev