Mehdi Alizadeh
f4c7bf02e4
Skip using the AppPredictionService if the component is not available
...
am: a1c18a81af
Change-Id: I8ca1aaf0b36ee04b7b63a5d04b3fae460e7c554b
2019-08-16 18:50:22 -07:00
Mehdi Alizadeh
a1c18a81af
Skip using the AppPredictionService if the component is not available
...
This CL adds a safeguard in ShareSheet to avoid calls to
AppPredictionService when the service is defined but is not available,
for example in the case of a wrong AiAi apk pushed from GooglePlay.
Bug: 138595943
Test: Manual test by removing the AiAi package from device
Change-Id: I4109c5122faa753d5111ee45698301cb6ccdd7b5
2019-08-16 23:57:46 +00:00
Rajeev Kumar
a9ba0f30ca
Merge "Stop showing disclosure UI when isDisclosureEnabled is false." am: 6452cc3cc1 am: f9e3e40676 am: 2123aad7ab
...
am: df003a7ba1
Change-Id: I463fa34afc551e61b7367525acc1a180d0d7376b
2019-08-08 09:56:34 -07:00
Rajeev Kumar
df003a7ba1
Merge "Stop showing disclosure UI when isDisclosureEnabled is false." am: 6452cc3cc1 am: f9e3e40676
...
am: 2123aad7ab
Change-Id: I286356883be0a88252a4ca7468f2413c73df97c7
2019-08-08 09:46:18 -07:00
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
6e16874401
Merge "Notify the ART runtime when boot is complete." am: f83748ae28 am: 6b9ab57b2d am: ed22d5f05c
...
am: 8f93d19459
Change-Id: Iddebb915552b39cfb4cbe59bb67eb1c2aae0c8ea
2019-08-08 05:53:00 -07:00
Nicolas Geoffray
8f93d19459
Merge "Notify the ART runtime when boot is complete." am: f83748ae28 am: 6b9ab57b2d
...
am: ed22d5f05c
Change-Id: I88c5ab8807446464854d59f95ffc2877fa6aa963
2019-08-08 05:43:38 -07: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
d8c9f1a833
Merge "Stop timer when notification is not visible" into qt-r1-dev am: f7ad427d8b
...
am: 84b999ccb1
Change-Id: I2ae849e3b8a5a449d380fc391841689a0438ddd7
2019-08-06 13:38:28 -07:00
Beth Thibodeau
84b999ccb1
Merge "Stop timer when notification is not visible" into qt-r1-dev
...
am: f7ad427d8b
Change-Id: I49db80e1342ed8e82a21246c2f3a5f195e249b1c
2019-08-06 13:28:53 -07:00
Beth Thibodeau
3ea5a1fcbe
Merge "Stop timer when notification is not visible" into qt-r1-dev
...
am: f7ad427d8b
Change-Id: I601b736974dffc1a4f5b8ced66d1d97127a42541
2019-08-06 13:28:50 -07:00
Beth Thibodeau
f7ad427d8b
Merge "Stop timer when notification is not visible" into qt-r1-dev
2019-08-06 20:11:27 +00:00
Beth Thibodeau
4e4c86e1b5
Stop timer when notification is not visible
...
This combines ag/8888937 and ag/9019277 into one CL, plus fixes another issue
where the timer could restart if the user had removed a notification and then
restarted the stream
Fixes: 138261464
Test: manual, atest NotificationMediaTemplateViewWrapperTest
Also checked the changes on the master branch since that had very
obvious issues when locking / unlocking the phone before
Change-Id: I6a0bbc675d33a5c7d4ce7f0884aec19606bff4fa
2019-08-06 13:21:20 -04:00
Roshan Pius
2e463f4b42
Merge "XmlUtils: Fix hex parsing in readThisByteArrayXml" into qt-qpr1-dev
...
am: 2883327fba
Change-Id: I98cc9d175a028e760d072bd3af4d56e7857ca5d6
2019-08-06 02:32:52 -07:00
Roshan Pius
2883327fba
Merge "XmlUtils: Fix hex parsing in readThisByteArrayXml" into qt-qpr1-dev
2019-08-05 23:51:37 +00:00
Adrian Roos
fde134f106
GestureNav: Log exclusion rect heights
...
am: 5f2c9a14f5
Change-Id: I6b72f4b68773a21575296601f5545746d012524e
2019-08-05 14:17:15 -07:00
Adrian Roos
5f2c9a14f5
GestureNav: Log exclusion rect heights
...
Logs the rejected and requested exclusion rect heights.
Test: adb shell device_config put android:window_manager key_system_gesture_exclusion_log_debounce_millis 1000
Bug: 135152789
Change-Id: Ie12640f4bf0a8b40b666e604188a0bedd85e8981
Exempt-From-Owner-Approval: DeviceConfig.java: Adding constant to WindowManager namespace.
2019-08-05 21:19:40 +02:00
Roshan Pius
08a61aa733
XmlUtils: Fix hex parsing in readThisByteArrayXml
...
hex 'a' is not correctly deserialized in readThisByteArrayXml.
Change readThisByteArrayXml & writeByteArrayXml to use HexEncoding for
hex conversions.
Bug: 138482990
Test: Was seeing parsing errors with ag/9135251.
Validated the fix with ag/9135251.
Change-Id: If9f86b5ed85a9f883130e4110f85cd2faa995439
2019-08-05 11:18:10 -07:00
Beth Thibodeau
e515b48544
Merge "Revert "Stop timer when notification isn't visible"" into qt-dev am: 628f975c22
...
am: 51185d56d2
Change-Id: Ied28534111d438cf0475b563514368cb885c61e4
2019-07-31 14:34:22 -07: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
51185d56d2
Merge "Revert "Stop timer when notification isn't visible"" into qt-dev
...
am: 628f975c22
Change-Id: If351a368f5a1132e61dab1e7a1b1d5e290b092f7
2019-07-31 14:14:40 -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
5f669a5009
Merge "Get native wakelock stats from SystemSuspend if /sys/class/wakeup not available." am: dec3796249 am: 8ad549cdf2
...
am: 9c1224cfa3
Change-Id: I31802f57dcf2e6fc4fd509ea95864259ab90565a
2019-07-30 12:15:24 -07: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
d06c69e951
Merge "Stop timer when notification isn't visible" into qt-dev am: 7256c379df
...
am: 8594033be0
Change-Id: I45e044aa055ac945377a578f325850e00772d4e3
2019-07-29 14:45:41 -07:00
Beth Thibodeau
8594033be0
Merge "Stop timer when notification isn't visible" into qt-dev
...
am: 7256c379df
Change-Id: If8705c20723e5ee725399e9377f0c6e33e997429
2019-07-29 14:13:58 -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
Miranda Kephart
d28885df81
Merge "Add phenotype flags for transcription speed" into qt-r1-dev
...
am: bb600247ec
Change-Id: I8ae79afa3d7acccf20e214b931bda5d78252a07d
2019-07-29 13:51:54 -07:00
Miranda Kephart
bb600247ec
Merge "Add phenotype flags for transcription speed" into qt-r1-dev
2019-07-29 19:46:21 +00: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
Miranda Kephart
6369fc0379
Add phenotype flags for transcription speed
...
Bug: 138305857
Test: manual (tested along with changes to pick up/use the flags)
Change-Id: I9b65079c75e01829a243ffd1286e8c171438cc6f
2019-07-26 17:02:51 -04: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
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
605e74c930
DO NOT MERGE Do not call drawableChanged pre Q
...
am: 843f9dee8b
Change-Id: I813f41905386da06e6eaebd6b7f85c17a6051456
2019-07-24 16:19:39 -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
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