Commit Graph

11543 Commits

Author SHA1 Message Date
Kalesh Singh
7faeb8c82f Merge "Get wakelock stats from SystemSuspend" am: dff4801d6b am: 7c7c466e1b
am: bd2c24e1d1

Change-Id: I27016c9f7cb7914f89f608ff0ba1b47d3c677579
2019-07-25 00:51:12 -07:00
Kalesh Singh
bd2c24e1d1 Merge "Get wakelock stats from SystemSuspend" am: dff4801d6b
am: 7c7c466e1b

Change-Id: I149f176165fda0ac02c890677a3c2e97459aaed3
2019-07-25 00:32:06 -07:00
Kalesh Singh
7c7c466e1b Merge "Get wakelock stats from SystemSuspend"
am: dff4801d6b

Change-Id: I96bda190d2935e3a21391e831d23f50526c8fc93
2019-07-25 00:21:12 -07:00
Treehugger Robot
dff4801d6b Merge "Get wakelock stats from SystemSuspend" 2019-07-25 07:02:25 +00:00
Vadim Caen
d6aa056512 DO NOT MERGE Do not call drawableChanged pre Q am: 843f9dee8b
am: 2106ef79ad

Change-Id: Ic5ceb704346deb38d1151f0e1fdc79fbb28ff82d
2019-07-24 16:38:48 -07:00
Vadim Caen
2106ef79ad DO NOT MERGE Do not call drawableChanged pre Q
am: 843f9dee8b

Change-Id: Id54fa3b2327faec88c936228109643c8425eeb2a
2019-07-24 16:17:49 -07:00
Vadim Caen
843f9dee8b DO NOT MERGE Do not call drawableChanged pre Q
Some apps rely on not updating the window format when changing the
background of the DecorView. To keep the compatibilty with these app we
add only call DecoreView.drawableChanged() when the window background is
changed on app targetting Q and above.

Test: Manually test by lunching Instagram TV and pressing return twice.
The window should aninate with no flickering.
Bug: 136987724

Change-Id: I3593d30dc6f10519008151974e475f0dad86fc64
2019-07-24 21:29:12 +00:00
Dave Mankoff
f62794fab9 Merge "Allow BrightLineFalsingManager settings to be experimented with via Phenotype." into qt-dev
am: 8d56bbf2e3

Change-Id: I02f776454972a2b96744c02bad1de3b9e24e689c
2019-07-24 12:28:42 -07:00
Dave Mankoff
e38da07841 Allow BrightLineFalsingManager settings to be experimented with via Phenotype.
This is a CP of http://ag/8687829

Bug: 138308096
Test: atest SystemUITests
Change-Id: I9e2b22b157c45da1606466acdfff3c5de7f182e1
Merged-In: I9fa4d1344bb184dea00f92f8d265667f0be11466
2019-07-24 18:37:11 +00:00
Kalesh Singh
f166d19ebe Get wakelock stats from SystemSuspend
Read wakelock stats from SystemSuspend if possible else fallback to
/d/wakeup_source, /proc/wakelocks.

Bug: 128923994
Test: KernelWakelockReaderTest

Change-Id: I859092d53d7697a4940f9369480e203181f0c370
2019-07-23 09:40:31 -07:00
Dave Mankoff
a50e7bb20d Merge "Allow BrightLineFalsingManager settings to be experimented with via Phenotype." into qt-r1-dev
am: 1ec1ecb364

Change-Id: I8ff7f9c7f9e9c4d10d5e36285f6ac043de8cca11
2019-07-19 12:48:00 -07:00
Dave Mankoff
1b80884e03 Allow BrightLineFalsingManager settings to be experimented with via Phenotype.
This also ensures that the FalsingManagerProxy cleans up its internal instance
whenever a Phenotype flag changes.

Bug: 71762354
Test: atest SystemUITests
Change-Id: I9fa4d1344bb184dea00f92f8d265667f0be11466
2019-07-18 17:22:54 -04:00
randy.jeong
7e01bc3e2c Ignore signal registration for debugging am: 3ea9580a29
am: 0d79e1293c

Change-Id: I7a970d1d4f06e1261a3f5e9bb894f21315fc6d9d
2019-07-15 17:26:48 -07:00
randy.jeong
0d79e1293c Ignore signal registration for debugging
am: 3ea9580a29

Change-Id: I90f90104e68b4911f15bbfc1dfc3407320b86564
2019-07-15 16:44:05 -07:00
randy.jeong
2526b492a4 [FRAMEWORK] Ignore signal registration for debugging
It's difficult to identify native crash/error of 3rd party app.
Because they can control their app with own signal handling.
Therefore I would like to support the way to ignore signal
registration in 3rd party app with the specific property.

To enable this, do just setprop "debug.ignoreappsignalhandler 1".

Test: test app to hook signal, then setprop debug.ignoreappsignalhandler 1

Change-Id: I2af98a0f58e5ac039eab0ebe9c3780357aca7820
Merged-In: I2af98a0f58e5ac039eab0ebe9c3780357aca7820
Signed-off-by: randy.jeong <randy.jeong@samsung.com>
2019-07-15 23:16:49 +00:00
randy.jeong
3ea9580a29 Ignore signal registration for debugging
It's difficult to identify native crash/error of 3rd party app.
Because they can control their app with own signal handling.
Therefore I would like to support the way to ignore signal
registration in 3rd party app with the specific property.

To enable this, do just setprop "debug.ignoreappsignalhandler 1".

Test: test app to hook signal, then setprop debug.ignoreappsignalhandler 1

Merged-In: I2af98a0f58e5ac039eab0ebe9c3780357aca7820
Exempt-From-Owner-Approval: Cherry-pick
Change-Id: I2af98a0f58e5ac039eab0ebe9c3780357aca7820
Signed-off-by: randy.jeong <randy.jeong@samsung.com>
2019-07-15 21:45:40 +00:00
Beverly
189c662b0e Merge "Adjust window rounded corners" into qt-r1-dev
am: dcba632b41

Change-Id: Icbd2513a96469ae187f2624a289982261478d475
2019-07-11 13:34:06 -07:00
TreeHugger Robot
dcba632b41 Merge "Adjust window rounded corners" into qt-r1-dev 2019-07-11 20:01:41 +00:00
Daniel Sandler
ea28adf7de Merge "Q card." into qt-dev am: 13de667fa6
am: 59fdc5ca76

Change-Id: Ia448d7b73d88f69ab53b0cd888bd25c242aa6d4f
2019-07-10 21:31:55 -07:00
Daniel Sandler
69a42c8217 Merge "Q card." into qt-dev
am: 13de667fa6

Change-Id: I844b8a49d78988b4bf5cffbce04c9b4b4e3469ca
2019-07-10 21:21:31 -07:00
Daniel Sandler
59fdc5ca76 Merge "Q card." into qt-dev
am: 13de667fa6

Change-Id: Ia30df6e52c78381860782b282125d9deef9511b5
2019-07-10 21:21:30 -07:00
Beverly
72dbd11ccd Adjust window rounded corners
Test: manual
Fixes: 136652290
Change-Id: I969b00528e269da16021387cb8298e05aeeb63ab
2019-07-10 14:00:17 -04:00
Dan Sandler
8c7b8cbd39 Q card.
(Goodbye, hypno-P and your '90s tech magazine color palette.)

Bug: 123903304
Test: adb shell am start -n android/com.android.internal.app.PlatLogoActivity
Test: adb shell am start -c com.android.internal.category.PLATLOGO -a android.intent.action.MAIN
Test: adb shell am start -n com.android.egg/.paint.PaintActivity # still works
Change-Id: I4865024a14b6a78e7a043c56d2330b5f9dd214c6
Merged-In: I4865024a14b6a78e7a043c56d2330b5f9dd214c6
2019-07-10 17:21:30 +00:00
Matt Pietal
5153eb6f4e Merge "Resolver - 'Always' button broken for non VIEW cases" into qt-dev am: 914de104b3
am: ef430bb118

Change-Id: Ib168d0e8fa6eb436a215b0a0a01119a81627c571
2019-07-03 18:23:30 -07:00
Ray Essick
5a33417f50 Merge "Revert "Preload sfplugin_ccodec for performance"" into qt-dev am: fb4fab4fa3
am: de7e7b1e61

Change-Id: I614d66b28875df8cfa9529db9e7db417b57d9c08
2019-07-03 17:50:54 -07:00
Matt Pietal
d4f87e905f Merge "Resolver - 'Always' button broken for non VIEW cases" into qt-dev
am: 914de104b3

Change-Id: Ibe159fb80f851be84cf825416ce936b481b38cf8
2019-07-03 17:37:56 -07:00
Ray Essick
de7e7b1e61 Merge "Revert "Preload sfplugin_ccodec for performance"" into qt-dev
am: fb4fab4fa3

Change-Id: I6d51b391c335ad4df81073313003576a06c02da1
2019-07-03 16:55:15 -07:00
Matt Pietal
ef430bb118 Merge "Resolver - 'Always' button broken for non VIEW cases" into qt-dev
am: 914de104b3

Change-Id: I5583dde27c46f7130a540fce1476400767e7ec98
2019-07-03 16:55:05 -07:00
Ray Essick
790f8912a3 Merge "Revert "Preload sfplugin_ccodec for performance"" into qt-dev
am: fb4fab4fa3

Change-Id: I7be69015e447bd251edfe8595d6774327b491570
2019-07-03 16:51:28 -07:00
Matt Pietal
914de104b3 Merge "Resolver - 'Always' button broken for non VIEW cases" into qt-dev 2019-07-03 20:11:59 +00:00
TreeHugger Robot
fb4fab4fa3 Merge "Revert "Preload sfplugin_ccodec for performance"" into qt-dev 2019-07-03 19:08:42 +00:00
Ray Essick
4a0199a899 Revert "Preload sfplugin_ccodec for performance"
This reverts commit 30da74bda4.

Reason for revert: occasional audio race, losing volume control for device

Bug: 133186424
Bug: 135763139
Change-Id: I3aca2780dfcf80cfe0095af2a40496f3af0733cd
2019-07-03 18:48:16 +00:00
Matt Pietal
a310c1fa3a Resolver - 'Always' button broken for non VIEW cases
Users are incorrectly being directed to the settings app when
selecting 'Always', making them unable to actually open an app through
the resolver.

Bug: 132071949
Test: Steps are reported in b/136451610
Change-Id: I11775d7b0b780195f08273ad2b90b8ecd2ee1db4
2019-07-03 09:12:56 -04:00
Winson Chung
ed586b2c53 Merge "Check that alpha is zero instead of transparent color to decide scrim" into qt-dev am: 1abc45038b
am: a5c11b4ae4

Change-Id: I1590888f5fc01c2feed7e7af9c0d08ba12d729c4
2019-07-02 12:06:03 -07:00
Ray Essick
b816bc76c6 Merge "Preload sfplugin_ccodec for performance" into qt-dev am: 878a6b2015
am: 0ef82ad076

Change-Id: Ia00336a9c12a1082607f59145201db26624261ba
2019-07-02 11:58:58 -07:00
Matt Pietal
24df27b6e2 Merge "Sharesheet - Fix regression in direct share sorting" into qt-dev am: ac1c8ddcc3
am: 3d1f220698

Change-Id: Idb5ab5b887e89fe08c670cb14a76471662b68b22
2019-07-02 11:36:13 -07:00
Winson Chung
1f5a4106d8 Merge "Check that alpha is zero instead of transparent color to decide scrim" into qt-dev
am: 1abc45038b

Change-Id: I53601e0d7d9f747a339f7db3a2d36a1dffa5bb38
2019-07-02 11:20:08 -07:00
Winson Chung
a5c11b4ae4 Merge "Check that alpha is zero instead of transparent color to decide scrim" into qt-dev
am: 1abc45038b

Change-Id: I0c9ef5ebce04c7a477b55570c4b39f71e8bba14d
2019-07-02 11:17:22 -07:00
Ray Essick
0ef82ad076 Merge "Preload sfplugin_ccodec for performance" into qt-dev
am: 878a6b2015

Change-Id: Idae0ffb08ba0027b94bb0ff55f70af6dca7e2bd3
2019-07-02 10:59:30 -07:00
Matt Pietal
1861a11b43 Merge "Sharesheet - Fix regression in direct share sorting" into qt-dev
am: ac1c8ddcc3

Change-Id: I7abc46fe03e5476ce129e4fb9712ed0200cd978b
2019-07-02 10:45:43 -07:00
Ray Essick
80643498fe Merge "Preload sfplugin_ccodec for performance" into qt-dev
am: 878a6b2015

Change-Id: I2b88849d2b3df487d949054f30a69858e5c7ca08
2019-07-02 10:38:59 -07:00
Winson Chung
1abc45038b Merge "Check that alpha is zero instead of transparent color to decide scrim" into qt-dev 2019-07-02 17:37:34 +00:00
Matt Pietal
3d1f220698 Merge "Sharesheet - Fix regression in direct share sorting" into qt-dev
am: ac1c8ddcc3

Change-Id: Ib664b368f34d3ee936444ce784326300ef260372
2019-07-02 10:26:37 -07:00
Ray Essick
878a6b2015 Merge "Preload sfplugin_ccodec for performance" into qt-dev 2019-07-02 17:10:33 +00:00
shawnlin
eecbda50a3 [DO NOT MERGE] Remove the server side flag of clockface blacklist
Bug: 136090066
Test: atest com.android.keyguard.clock.ClockManagerTest
Change-Id: I7aa2c2deb690a3c8a5648754eeb6ae10ed0af0d8
Merged-In: I7aa2c2deb690a3c8a5648754eeb6ae10ed0af0d8
2019-07-02 11:47:07 +00:00
shawnlin
9e89ef2a2e Remove the server side flag of clockface blacklist
Bug: 136090066
Test: atest com.android.keyguard.clock.ClockManagerTest
Change-Id: I7aa2c2deb690a3c8a5648754eeb6ae10ed0af0d8
2019-07-02 06:10:57 +00:00
Winson Chung
ffc70a68c0 Check that alpha is zero instead of transparent color to decide scrim
Bug: 136370711
Test: atest EnsureBarContrastTest
Change-Id: I45c4a81d5e7fe6f99615efca528a623f3830f16a
2019-07-01 22:46:07 +00:00
Matt Pietal
bdbeea28d2 Sharesheet - Fix regression in direct share sorting
When mutiple apps share shortcuts and are given to the UI to display,
the ranked order from both the App Prediction Service and the legacy
ranker is inadvertently being discarded. This means that targets the
user almost never uses will now be shown as high priority, causing
confusion and pretty horrible user experience.

Address the issue by adding in a score for shortcuts, based on the
index in the ordered list.

Bug: 136201796
Test: atest ChooserActivityTest and manually compare results from
      AppPredictionService to verify order is consistent
Change-Id: I1fe2c2d2e13195f6f6c3a5818fade4844c15488e
2019-07-01 16:52:52 -04:00
Mathew Inwood
89f02cc81c Merge "Restore some greylist entries." into qt-dev am: f76bdce6e0
am: 13ffa87a6d

Change-Id: I4c92e5685804a5b03510ab5b9396c0dc6f4aad46
2019-06-28 08:49:28 -07:00
Matt Pietal
861c5782b7 Merge "Resolver - Improve flow for Intent URL handling" into qt-dev am: d73543b588
am: 1437b43eb6

Change-Id: Iea3b2f52e8d466eab71e0bff13b00c674794d7af
2019-06-28 08:45:13 -07:00