Commit Graph

644628 Commits

Author SHA1 Message Date
Jay Aliomer
bc32a51ceb NullPointerException when retriving wallpaper page areas
Fixes: 191293701
Test: manual
Change-Id: I18c4d627f29848b50bb8c7dc2b4a02627ff3a89b
2021-06-25 13:50:57 -04:00
Beth Thibodeau
b01c33a788 Merge "Fix stray AOD animation" into sc-dev 2021-06-22 18:19:15 +00:00
Winson Chiu
343684b523 Merge "Fix parsing code parcelling errors" into sc-dev 2021-06-22 18:10:43 +00:00
TreeHugger Robot
cb302ae4f0 Merge "dexopt: Drop native libraries from the class loader context." into sc-dev 2021-06-22 18:09:26 +00:00
TreeHugger Robot
4c4ab603d7 Merge "Fixing notification background peeking from the bottom when expanding QS" into sc-dev 2021-06-22 18:04:47 +00:00
TreeHugger Robot
ec801cc398 Merge "clearLockTask for root tasks as well at removal" into sc-dev 2021-06-22 18:01:09 +00:00
TreeHugger Robot
e28794b1fb Merge "Set max transmit packet size for OBEX packets to the max if they exceed the max allowed packet size" into sc-dev 2021-06-22 17:58:15 +00:00
Alexander Dorokhine
27b63bb150 Merge "Update framework from jetpack." into sc-dev 2021-06-22 17:30:26 +00:00
Matt Pietal
e1ae3b743e Merge "Lockscreen spacing to UX specs" into sc-dev 2021-06-22 16:42:01 +00:00
Hajime Morrita
9ffa963eff dexopt: Drop native libraries from the class loader context.
Native shared libraries are recently introduced through
<uses-native-library> manifest declaration. This value is
intended to limit the native shared library loading path,
not to limit Dex shared library path.

This CL filters these native libraries from the class loader
context encoded into the oat files.

Without this change, the class loader specified in the odex and
runtime class loader has a discrepancy and the runtime failed to
verify the odex file, falling back to a slow execution path.

Test: Followed the steps below:
  * Install the latest GoogleCamera APK.
  * Run following commands:
  $ adb shell am start com.google.android.GoogleCamera && \
    sleep 5 && \
    adb shell am force-stop com.google.android.GoogleCamera
  $ adb shell cmd package compile -m speed-profile \
    -f com.google.android.GoogleCamera
  $ adb logcat -c && \
    adb shell am start com.google.android.GoogleCamera && \
    sleep 2
  & adb shell 'logcat -d | grep "id.GoogleCamer:"'
  * No "ClassLoaderContext shared library size mismatch."
    warning is observed.

Bug: 191182412
Change-Id: I069aff0386ac51c842703f5fcd75075a30f09cf5
2021-06-22 09:33:16 -07:00
Rahul Sabnis
6338fb0d7f Set max transmit packet size for OBEX packets to the max if they exceed the
max allowed packet size

Tag: #feature
Bug: 187174891
Test: Manual
Merged-In: I80422e03d14958f2ea95327f95d010c747948e2c
Change-Id: I80422e03d14958f2ea95327f95d010c747948e2c
2021-06-22 18:15:16 +02:00
TreeHugger Robot
55a8db6450 Merge "Split long vibration composition using HAL limits" into sc-dev 2021-06-22 16:08:22 +00:00
Cecilia Hong
a9b80b098c Merge "Remove logspam from Smartspace media update pipeline." into sc-dev 2021-06-22 15:30:37 +00:00
Josh Tsuji
f1c4d4e1a4 Merge "Fix AOD2 notifications not waking up the device if the screen off animation played." into sc-dev 2021-06-22 15:17:00 +00:00
TreeHugger Robot
8affbdac22 Merge "Create config for audio haptic channels max value" into sc-dev 2021-06-22 14:59:21 +00:00
Eran Messeri
40aa279d77 Merge "Remove ASSOCIATED_DATA tag" into sc-dev 2021-06-22 14:53:46 +00:00
Ying Xu
c09eeb3aa0 Merge "Show the icons in QS/SB as long as the default is default" into sc-dev 2021-06-22 14:50:08 +00:00
Lais Andrade
a1167c2a06 Split long vibration composition using HAL limits
Load composition and pwle limits from the HAL and apply them on
VibrationThread to split long vibrations in multiple calls.

This ensures that long vibration will be performed by the HAL.

Bug: 188431691
Fix: 183517124
Test: VibrationThreadTest & VibrationInfoTest
Change-Id: I09a04c7b1de331320d453899f59b01e4bbb42ac3
2021-06-22 15:36:23 +01:00
TreeHugger Robot
e8fa51a152 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 1ebd5bc012 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15058478

Change-Id: Idb272252469994b4c58fe1bf0c4c02e29183bf05
2021-06-22 14:35:29 +00:00
Beverly Tai
d91a6a077e Merge "Update opacity of LightRevealScrim" into sc-dev 2021-06-22 14:32:30 +00:00
Beverly Tai
196f74572e Merge "Quick pickup triggers AOD2 instead of AOD1" into sc-dev 2021-06-22 14:31:52 +00:00
TreeHugger Robot
b7f594bd90 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-22 14:21:37 +00:00
TreeHugger Robot
4d2729898d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: dcbe2fd27a -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15058484

Change-Id: I37d4611f4ddc6e8a35349f40de927471223c7752
2021-06-22 14:21:11 +00:00
TreeHugger Robot
4a7f6559ea Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-22 14:20:48 +00:00
TreeHugger Robot
1ebd5bc012 Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-06-22 14:17:59 +00:00
Nikita Ioffe
23403fdc99 Merge "Add sys config to handle apexes that are allowed to be updated" into sc-dev 2021-06-22 14:15:41 +00:00
TreeHugger Robot
42ff60e874 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-22 14:10:38 +00:00
TreeHugger Robot
dcbe2fd27a Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-06-22 14:08:58 +00:00
Josh Tsuji
412a2d2c3d Merge "Check whether StatusBar is initialized in ScreenOffAnimationController." into sc-dev 2021-06-22 13:56:13 +00:00
Jeff DeCew
580ee3e136 Merge "Notifications in landscape should line up with the QS tiles." into sc-dev 2021-06-22 13:41:32 +00:00
Jeff DeCew
f24e216a60 Merge "Fix a security exception breaking notification inflation." into sc-dev 2021-06-22 13:40:35 +00:00
Sergey Volnov
56686819a8 Merge "Implement preriodic trusted process restarting for hotword detectors." into sc-dev 2021-06-22 13:33:08 +00:00
Pedro Loureiro
b4350b9dc4 Merge "Add lint database filtering tool" into sc-dev 2021-06-22 13:20:04 +00:00
Matt Casey
184c61395e Merge "Fix mPositionInWindow to not use global coords" into sc-dev 2021-06-22 12:44:33 +00:00
Nikita Ioffe
637be99afd Add sys config to handle apexes that are allowed to be updated
Unlike staged installer check, we can't check if given APEX package is
allowed to be updated at session creation time, since we don't have
knowledge of the package being installed yet. Instead, the check is
implemented in PackageInstallerSession#handleInstall.

Like staged install check, allowed apex update check has similar
exemptions (adb is allowed to update any APEX,
`adb shell pm --bypass-allowed-apex-update-check` makes next install
session bypass the check).

In order to implement these exemptions, a new
INSTALL_DISABLE_ALLOWED_APEX_UPDATE_CHECK flag that can only be set by
system is added. PackageInstallerSession will skip the APEX update
checks if INSTALL_DISABLE_ALLOWED_APEX_UPDATE_CHECK is set.

Bug: 189274479
Test: atest CtsStagedInstallHostTestCases
Test: atest GtsStagedInstallHostTestCases
Test: atest FrameworksServicesTests:SystemConfigTest
Change-Id: I22921a3ac4d43011b565733d7a7183e5cdb4fe80
Merged-In: I22921a3ac4d43011b565733d7a7183e5cdb4fe80
(cherry picked from commit aafaaec0d5)
2021-06-22 13:39:41 +01:00
Eran Messeri
71d57d976e Remove ASSOCIATED_DATA tag
Remove the ASSOCIATED_DATA tag since it is unused.

Bug: 183737811
Test: That it compiles.
Change-Id: If0d051c36f9f7ba6fa8578b6c99256c71f1f03df
2021-06-22 13:15:01 +01:00
Nikita Ioffe
4db95cceb9 Merge "allocateSpaceForUpdate: clear calling identity before calling into apexd." into sc-dev 2021-06-22 11:55:55 +00:00
Lais Andrade
a2c4eda89c Create config for audio haptic channels max value
Leave the configuration empty by default, which should be ignored by the
audio framework and impose no limit to haptic signals.

Bug: 188025353
Test: N/A
Change-Id: I7553fc00d59d6b0dd52c679320880fc86c4c4aa7
2021-06-22 12:43:35 +01:00
Sergey Volnov
1b2b909a16 Implement preriodic trusted process restarting for hotword detectors.
Bug: 188892570
Test: 1) adb shell cmd voiceinteraction restart-detection
2) Tried locally with restarting every 30 seconds, verified everything
works
3) adb shell ps | grep <test_package_name> - shows:

u0_a221       3328  1026 14501612 69208 0                   0 R com.google.th
u0_i9002      9049  1026 14448104 53860 0                   0 S com.google.th:com.google.th.SampleHotwordDetectionService:hotword_detector_3

Change-Id: I9f08943212c20b83da35c18df56460eaedbbf8f0
2021-06-22 12:43:08 +01:00
Bill Yi
aaa3273222 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib1f0db1fae307f0e3257d70ba41e94f3c2fa6a17
2021-06-22 11:25:58 +00:00
Bill Yi
45fc313bf4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib9d0646e0fceece5f8744b141adf61d7d35ded24
2021-06-22 11:24:40 +00:00
Santos Cordon
410dd5be58 Merge "High Brightness Mode (HBM) Refresh Rate Limiting." into sc-dev 2021-06-22 11:23:02 +00:00
Wei Sheng Shih
a1b3ce5250 Merge "Ignore exit animation when view is detached from window." into sc-dev 2021-06-22 11:02:59 +00:00
Adrian Roos
e53e6f5c10 Merge "Insets Animations: Always dispatch onEnd when cancelled" into sc-dev 2021-06-22 10:29:08 +00:00
Pedro Loureiro
b91f45d6f4 Add lint database filtering tool
lint database file (api-versions.xml) is used for NewApi checks. These checks
were written thinking about app developers.

When used inside the platform codebase, quite often it produces false positives
which make relying on it cumbersome.

This CL removes APIs introduced by mainline modules from the lint database to
remove many such false positives. While some of them might be real issues, the
alternative would be not turning these checks on at all.

Bug: 186478867
Bug: 177434707
Test: m lint-check
Test: m filter-api-versions
Test: atest api_versions_trimmer_unittests
Change-Id: Ic45db0b71a2f13dc456463ce04b2f7744a0e330c
2021-06-22 10:24:22 +00:00
TreeHugger Robot
2adcf7686d Merge "Fix SysUI NPE crash during the boot/init progress" into sc-dev 2021-06-22 07:27:24 +00:00
Bill Yi
e74d6a70e8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7c81076ad1bff775f9e6c0a2207fba753233f050
2021-06-22 07:22:27 +00:00
Bill Yi
9b77df1360 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6ce3d354611ad6ca341c7b53d73e5507a27acf3c
2021-06-22 07:12:06 +00:00
Arc Wang
51e147b260 Merge "Shows ripple effect for SettingsSpinnerPreference" into sc-dev 2021-06-22 07:08:48 +00:00
Bill Yi
14490bdb8d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7d56bd2a5ac3313b21a26e24826d30dc9342cb58
2021-06-22 06:56:07 +00:00