Commit Graph

11537 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
TreeHugger Robot
667d2c91bc Merge "Don't throw from PooledLambda#toString" into qt-dev 2019-06-27 00:51:27 +00:00
Eugene Susla
9891f0986c Don't throw from PooledLambda#toString
Turns out there was one more place b/134594642#comment23

Fixes: 134594642
Test: presubmit
Change-Id: I602569c6dd0632641215a7482def2987e10701b2
2019-06-26 15:15:23 -07:00
Kalesh Singh
c26cc3d35a Merge "Route KernelWakelockReader's userspace native wakelock stats collection to SystemSuspend (ISuspendControl::getWakeLockStats())" am: a1cae83560
am: 05b194e058

Change-Id: If9203ea35fec2469561e623da907b8db922f34eb
2019-06-26 12:40:23 -07:00
Govinda Wasserman
5e193b0356 Merge "Add handle suppression to learned state" into qt-dev
am: 079d81a479

Change-Id: I333ba403981edbc002246910636620a311a1f55e
2019-06-26 11:38:04 -07:00
Treehugger Robot
a1cae83560 Merge "Route KernelWakelockReader's userspace native wakelock stats collection to SystemSuspend (ISuspendControl::getWakeLockStats())" 2019-06-26 18:16:34 +00:00
TreeHugger Robot
079d81a479 Merge "Add handle suppression to learned state" into qt-dev 2019-06-26 17:08:37 +00:00
Kalesh Singh
759af3274d Route KernelWakelockReader's userspace native wakelock stats
collection to SystemSuspend (ISuspendControl::getWakeLockStats())

Native wakelocks obatined via SystemSuspend when useSuspendCounter is
enabled, will not be reflected in the information available from
/d/wakeup_sources or proc/wakelocks. This information has been
made available via the ISuspendControl AIDL interface of SystemSuspend.
Kernelwakelock stats however are still being collected in the
/d/wakeup_sources.

Change-Id: I208d004aa0fabcf367016faae77ad51388cdf0ea
Bug: 135680393
Test: Observe SystemSuspend service wakelocks in dumpsys batterystats (for
instance, "PowerManager.SuspendLockout"):
`dumpsys batterystats --checkin | grep wl | grep PowerManager.SuspendLockout`
2019-06-25 16:31:38 -07:00
Adam He
209c597aba Merge "Fixed autofill compat mode regression caused by DecorContext" into qt-dev
am: 2f54cf120e

Change-Id: Idbb78b3f2455346d08370f189ad0289745f28a51
2019-06-25 15:17:19 -07:00
TreeHugger Robot
2f54cf120e Merge "Fixed autofill compat mode regression caused by DecorContext" into qt-dev 2019-06-25 21:32:01 +00:00
Eugene Susla
2fd77c3ce9 [DO NOT MERGE] Don't throw from PooledLambdaImpl#toString
am: 75632d616d

Change-Id: I74eb8dc3b62be5909e36bfd27154b98df625b139
2019-06-25 13:12:28 -07:00
Matt Pietal
6e97b7bd29 Merge "Sharesheet: Make max shortcut targets configurable" into qt-dev
am: 8f09cd3de1

Change-Id: I1a40f9ec9b9f196e1dd3b5eed077d0ec5dd730c7
2019-06-25 12:53:29 -07:00
Eugene Susla
224b4c761d Merge "[DO NOT MERGE] Don't throw from PooledLambdaImpl#toString" into qt-dev 2019-06-25 19:52:48 +00:00
Adam He
14c5b94058 Fixed autofill compat mode regression caused by DecorContext
Fixes: 135038324
Test: manual verification
Test: atest CtsAutoFillServiceTestCases
Change-Id: Iab32c24fdd9ad02308e79652422d1c4965be8e7c
2019-06-25 11:40:57 -07:00
Govinda Wasserman
3aa4f362c1 Add handle suppression to learned state
Also adds a phenotype flag to enable handles in the learned state once
per day.

Test: Tested locally
BUG:132983599
Change-Id: I21e422382e62ee098cd6ff76d6b764db98be0cb7
Merged-In: I21e422382e62ee098cd6ff76d6b764db98be0cb7
2019-06-25 18:29:39 +00:00
Eugene Susla
75632d616d [DO NOT MERGE] Don't throw from PooledLambdaImpl#toString
Bug: 134594642
Test: presubmit
Change-Id: Ia0834a76e7ae9a222ec2698dcd989317bb20f2a0
(cherry picked from commit 7f000e1dd9)
2019-06-25 18:03:50 +00:00
Matt Pietal
3ed20a7555 Sharesheet: Make max shortcut targets configurable
Allow different values for different devices

Bug: 135617408
Test: Manual
Change-Id: I01c27834d6218b9f5502976ee2a561eb73c364fc
2019-06-24 12:39:17 -04:00
Dave Mankoff
59809cd9e1 DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType.
am: e0321d5809

Change-Id: I7caa3c1d9722532167b4c0f91a115602c812619a
2019-06-22 17:31:23 -07:00
Dave Mankoff
e0321d5809 DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType.
Test: atest SystemUITests
Bug: 111394067
Change-Id: I0ab9a72d66bf56a56df2de2ad2d247f299d1b748
Merged-In: I0ab9a72d66bf56a56df2de2ad2d247f299d1b748
2019-06-22 14:19:01 +00:00
Andreas Gampe
e4a6ca7231 Merge changes Ie70d0155,I0692a91d,I8c5041a4 am: 4507201da5
am: 70ad27cfb5

Change-Id: I7c11438bd295fd973f78302550e88833c84883b5
2019-06-21 13:52:40 -07:00
Andreas Gampe
8695b40720 LockAgent: Add option to synthesize Java crash logging
Add the ability to dump a "crash" to logcat.

Test: m
Test: manual
Change-Id: I0692a91df995883e526a718fe95f0d3568ac9328
2019-06-20 16:31:58 -07:00
Neil Fuller
15199a5868 Merge "Remove unused class" am: 09f6675744
am: 04ecb95ea9

Change-Id: I2f9c971db885bf7309438f2f44b18de4df62a709
2019-06-20 14:04:12 -07:00
Eugene Susla
aae1c818e2 [DO NOT MERGE] Fix race in AbstractSinglePendingRequestRemoteService
am: 45fcf147c1

Change-Id: I8283708a92b86721426bf35888f486883189319a
2019-06-19 20:26:50 -07:00
Eugene Susla
45fcf147c1 [DO NOT MERGE] Fix race in AbstractSinglePendingRequestRemoteService
Fixes: 135355306
Test: presubmit
Change-Id: I78d9840a9d7e04cd373c967b259a614990153841
2019-06-20 01:50:48 +00:00
Tim Joines
2b9196611e Merge "Add config to control full task snapshot scale" into qt-dev
am: 10b9def7cb

Change-Id: I6e07c1e6d9aa300e42e27daa10ad048af56fc40b
2019-06-19 15:03:46 -07:00
Winson Chung
ffde2ea8e5 Add config to control full task snapshot scale
- Also save the scale with the snapshot data instead of trying to infer it
  from the state
- Also recycle the reduced resolution snapshot copy after writing it

Bug: 135150767
Test: atest TaskSnapshotPersisterLoaderTest
Change-Id: I64a9ccf16f3966ad5c6d07ff0b6ce8e9dd710e40
2019-06-18 14:12:25 -07:00
Varun Anand
2471441b2d Merge changes Ieb8645ac,I6466ec14,I87deb82b,I995b108e,Ib6521459 am: f4c10e8bc2
am: 48f59a0fdf

Change-Id: I960e94b03b29282ae2b03f78a19ed2692bd88e05
2019-06-17 10:33:53 -07:00
Neil Fuller
fb402670bb Remove unused class
This class is no longer used and can be removed.

Bug: 16550209
Test: build / boot / treehugger
Change-Id: I31b9491a57a1246656bb549aa3435b77ab12b8d6
2019-06-17 16:44:28 +01:00
Hui Yu
9561558259 Merge "Fix the missing longwake finish event problem." into qt-dev
am: eb5532eac8

Change-Id: I4f1b554cbf5f9da1b7a922ce89b77537b6be6667
2019-06-13 19:11:28 -07:00
TreeHugger Robot
eb5532eac8 Merge "Fix the missing longwake finish event problem." into qt-dev 2019-06-14 01:03:34 +00:00