Commit Graph

11567 Commits

Author SHA1 Message Date
Rajeev Kumar
2123aad7ab Merge "Stop showing disclosure UI when isDisclosureEnabled is false." am: 6452cc3cc1
am: f9e3e40676

Change-Id: I6a7f6b2783441465bdc0a1331b4183b742d9523c
2019-08-08 09:24:14 -07:00
Rajeev Kumar
f9e3e40676 Merge "Stop showing disclosure UI when isDisclosureEnabled is false."
am: 6452cc3cc1

Change-Id: Ie616ed1e05c45a30b5ab20873fa07f963f0d3e49
2019-08-08 09:13:56 -07:00
Rajeev Kumar
6452cc3cc1 Merge "Stop showing disclosure UI when isDisclosureEnabled is false." 2019-08-08 15:42:51 +00:00
Nicolas Geoffray
ed22d5f05c Merge "Notify the ART runtime when boot is complete." am: f83748ae28
am: 6b9ab57b2d

Change-Id: I5466b6f73087c6dea67c9b7cfaa3bf55bacb8a23
2019-08-08 05:32:55 -07:00
Nicolas Geoffray
6b9ab57b2d Merge "Notify the ART runtime when boot is complete."
am: f83748ae28

Change-Id: Iea67d64570657173832ee0d61288dc97af11496b
2019-08-08 05:11:55 -07:00
David Srbecky
6d0d7066cf Notify the ART runtime when boot is complete.
Needed for jit-zygote performance improvements.

Test: device boots
Bug: 119800099
Change-Id: I1e46f49d94440384473430d8afebe29fbee9c68e
2019-08-08 07:57:35 +00:00
Rajeev Kumar
cd497ef6f3 Stop showing disclosure UI when isDisclosureEnabled is false.
Bug: 137395050
Change-Id: Ic7768f7d3306f5d9d5c5c988afda4e8710c4ccd0
Test: Manual tests
2019-08-08 03:09:38 +00:00
Beth Thibodeau
eba1a93c8a Merge "Revert "Stop timer when notification isn't visible"" into qt-dev
am: 628f975c22

Change-Id: I3cc399589f6459687c25923f32f3671ee3bda013
2019-07-31 14:16:57 -07:00
Beth Thibodeau
4c9726e041 Revert "Stop timer when notification isn't visible"
This reverts commit 3c4a8e48d4.

Reason for revert: NPE errors
Fixes: b/138697134

Change-Id: Ic89eb58cd68485dcc5e7c5a3ef48d7ed79c303ca
2019-07-31 20:26:19 +00:00
Kalesh Singh
9c1224cfa3 Merge "Get native wakelock stats from SystemSuspend if /sys/class/wakeup not available." am: dec3796249
am: 8ad549cdf2

Change-Id: I8a3b3915759ba06ec673d21e609ed4d82078eaa1
2019-07-30 12:00:39 -07:00
Kalesh Singh
8ad549cdf2 Merge "Get native wakelock stats from SystemSuspend if /sys/class/wakeup not available."
am: dec3796249

Change-Id: I994a051e37e53417ab8df6df13318adcf071945b
2019-07-30 11:36:12 -07:00
Beth Thibodeau
6d122f1837 Merge "Stop timer when notification isn't visible" into qt-dev
am: 7256c379df

Change-Id: I5b4cdd65de92803b06e425e9716fd91242730199
2019-07-29 14:13:39 -07:00
Kalesh Singh
eedacc3221 Get native wakelock stats from SystemSuspend if /sys/class/wakeup not available.
If /sys/class/wakeup is available, get both kernel and native wakelock
stats from SystemSuspend, else we get native wakelock stats from
SystemSuspend and fallback to /d/wakeup_sources for kernel wakelock
stats.

Bug: 128923994
Test: atest FrameworksCoreTests:KernelWakelockReaderTest
Test: Compare dumpsys suspend_control against
      dumpsys batterystats --checkin | grep kwl
      to verify BatteryStats is getting wakelock stats
      from SystemSuspend.

Change-Id: I08e56c984b903285bb965dd853dae4a63fdeb824
2019-07-26 17:07:30 -07:00
Beth Thibodeau
3c4a8e48d4 Stop timer when notification isn't visible
Fixes: 138261464
Test: manual, atest com.android.systemui.statusbar.notification.row.wrapper.NotificationMediaTemplateViewWrapperTest
Change-Id: Id7b1b586f3ab258fad8670070240ef951080c969
2019-07-26 11:33:18 -04: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
2106ef79ad DO NOT MERGE Do not call drawableChanged pre Q
am: 843f9dee8b

Change-Id: Id54fa3b2327faec88c936228109643c8425eeb2a
2019-07-24 16:17:49 -07:00
Jorim Jaggi
d007c7b90d Merge "DO NOT MERGE Do not call drawableChanged pre Q" into qt-dev 2019-07-24 22:49:21 +00: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
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
Daniel Sandler
69a42c8217 Merge "Q card." into qt-dev
am: 13de667fa6

Change-Id: I844b8a49d78988b4bf5cffbce04c9b4b4e3469ca
2019-07-10 21:21:31 -07: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
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
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
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
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
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
13ffa87a6d Merge "Restore some greylist entries." into qt-dev
am: f76bdce6e0

Change-Id: I320e33be57b8124ff7c132a67c8981d53802f8f5
2019-06-28 07:43:43 -07:00
Matt Pietal
1437b43eb6 Merge "Resolver - Improve flow for Intent URL handling" into qt-dev
am: d73543b588

Change-Id: I158e33705154e00fae20c29ebb7177877beae655
2019-06-28 07:39:26 -07:00
TreeHugger Robot
f76bdce6e0 Merge "Restore some greylist entries." into qt-dev 2019-06-28 12:02:43 +00:00
Matt Pietal
d73543b588 Merge "Resolver - Improve flow for Intent URL handling" into qt-dev 2019-06-28 12:02:04 +00:00
Mathew Inwood
3a75f264a8 Restore some greylist entries.
In Q, these APIs were either:
- removed from the greylist entirely without good reason
- Moved to the restricted greylist without any public alternative
  information added

So they are being moved back to the greylist for Q.

Test: Treehugger
Bug: 136102585
Change-Id: I5ac8b8b9b23c3789d80239cf456072cc7dfa1203
2019-06-28 10:15:37 +01:00
Matt Pietal
0d6834adfe Resolver - Improve flow for Intent URL handling
When a URL is detected and all resolved targets are browsers, allow
the user to set a default browser from the Resolver. If one of the
options is an App and not a browser (as defined by
ResolveInfo.handleAllWebDataURI) then direct the user to the settings
page where they can make changes to set the default app for particular
URLs.

On the settings page, highlight the correct setting to change so it's
clear to the user.

Bug: 132071949
Test: Manually resolve URLs with multiple browsers and apps like Reddit/Twitter
Change-Id: Ib8f867a020ecfbb73fa5f1d7db84890c72e4842d
2019-06-27 13:35:11 -04:00
Jorim Jaggi
b99472439e Request invalidate root when legacy nav bar bg changes
am: 6482df5602

Change-Id: I9e682b0b8bfac5cfb59857c3899e31a060758068
2019-06-27 04:28:17 -07:00
Jorim Jaggi
6482df5602 Request invalidate root when legacy nav bar bg changes
...because only invalidating the root window node will ensure that
onPostDraw() will be called again.

Test: Open com.planeth.rhythm
Fixes: 135207159
Change-Id: I03f814eb7435d91287968f3dcb72f579ab4a35ed
2019-06-27 11:15:14 +00:00
Eugene Susla
290ca1ec3b Merge "Don't throw from PooledLambda#toString" into qt-dev
am: 667d2c91bc

Change-Id: I8511be019f12ac077dbf7832b9aea741186c3d19
2019-06-26 18:14:43 -07:00