Commit Graph

640958 Commits

Author SHA1 Message Date
Bill Yi
ac49e596d2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iae8456c7084210727e90710c462a146229b92021
2021-04-17 17:50:11 -07:00
Brad Ebinger
d0812639e0 Move READ_PHONE_STATE compat id to @hide
Bug: 185121376
Test: atest CtsTelephony2TestCases CtsTelecomTestCases2
Change-Id: I0207faf30c85cc3275e312939bec570390129304
2021-04-17 16:24:06 -07:00
Kohsuke Yatoh
94635fcb89 Introduce SpellCheckerSessionParams.
SpellCheckerSessionParams encapsulates parameters for
TextServicesManager#newSpellCheckerSession().

Bug: 179804789
Test: atest CtsInputMethodTestCases:SpellCheckerTest
Change-Id: I724aaad15b0a4bd38f6a24585c4c45cfeee5b499
2021-04-17 22:49:25 +00:00
TreeHugger Robot
2ce8aef9ee Merge "Update native font API to read updated font files." into sc-dev 2021-04-17 22:36:55 +00:00
TreeHugger Robot
0566ee964d Merge "Add FontConfig.Font.getPostScriptName API" into sc-dev 2021-04-17 22:34:51 +00:00
Jiabin Huang
6c98925999 Merge "Support 8 channel IEC61937." into sc-dev 2021-04-17 22:00:24 +00:00
Brad Ebinger
844b7dee2a Hide RCS PUBLISH mapping due to complicated structure
Hide until we can encode complicated structures like this
in something like a parcelable.

Bug: 182370110
Test: manual
Change-Id: I1797da52bfd447f198b48bd163b1bd0944aadb58
2021-04-17 21:07:45 +00:00
Brad Ebinger
e09fc1cd18 Clarify SipDelegateImsConfiguration getVersion Documentation
Bug: 181764870
Test: docs only change
Change-Id: I5ced81d33d80ecc90f704d910c08d0625396d163
2021-04-17 20:40:43 +00:00
Huihong Luo
054b8d3000 Webview overlay support
The basic idea is to create a child surface control from the root surface control passed from ViewRootImpl to the render thread.

Transactions are sent back to the java layer to get merged.

In case of offscreen layers, SurfaceControl must be disabled.

This new feature is disabled for Vulkan at the moment, a new CL will be used to enable the support.

Bug: 173671170
Test: manual, webview apks
Change-Id: I119405d13eca3c59fd3ec78e50dc7739f78411d4
2021-04-17 13:24:48 -07:00
Jason Hsu
37e451745a Merge "Add icon for "Extra dim" used in accessibility shortcut" into sc-dev 2021-04-17 16:49:47 +00:00
Matt Casey
c2fa9124ff Merge "Hide LongScreenshotActivity title in dark theme." into sc-dev 2021-04-17 12:24:05 +00:00
Jeff Sharkey
85e6031fb7 Merge changes from topic "apr16" into sc-dev
* changes:
  More Bluetooth API annotation updates.
  Refine BluetoothLeAdvertiser permissions.
2021-04-17 12:04:15 +00:00
Jason Chang
7833cf0af4 Merge "Fix screen will flicker when swipe-down around NavigationBar to trigger One-Handed mode many times quickly in a short time" into sc-dev 2021-04-17 10:23:09 +00:00
TreeHugger Robot
8d8d75af36 Merge "Revert "Use the existing wallpaper command API to send wake/sleep events to the wallpaper."" into sc-dev 2021-04-17 08:53:40 +00:00
Seigo Nonaka
5681124abb Add FontConfig.Font.getPostScriptName API
Bug: 184003133
Bug: 185508395
Test: atest FontManagerTest#fontManager_PostScriptName
Change-Id: Ie44e0d500c61b37035a0b39039891da13cd6a5ce
2021-04-17 00:46:04 -07:00
Janis Danisevskis
e5ae08e49d Merge "Fix operation auth bound keys." am: b3671c4ab5 am: f941d3fb5b am: 0992040e48
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1677200

Change-Id: Ie4972c2b9da95515b3e98f66af716e7d1fcf156c
2021-04-17 07:09:40 +00:00
Janis Danisevskis
0992040e48 Merge "Fix operation auth bound keys." am: b3671c4ab5 am: f941d3fb5b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1677200

Change-Id: Ia2c52ec3e34b067d61b605fd4bb0bcbc3b420e55
2021-04-17 06:44:19 +00:00
Janis Danisevskis
f941d3fb5b Merge "Fix operation auth bound keys." am: b3671c4ab5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1677200

Change-Id: I25a5f2d933e3bdb97057b2dd470213538f5f5c06
2021-04-17 06:18:24 +00:00
Aaron Huang
402b1fd272 Rename getAllNetworkStateSnapshot which should be pluralized
Address API review feedback, ConnectivityManager#getAllNetworkStateSnapshot
should be pluralized so rename the method to getAllNetworkStateSnapshots

Bug: 183972554
Test: make, FrameworksNetTests
      FrameworksServicesTests
Change-Id: Ic18d17d05984fa2466c962c7843c0ef7183ce77c
2021-04-17 14:08:49 +08:00
Janis Danisevskis
b3671c4ab5 Merge "Fix operation auth bound keys." 2021-04-17 05:51:38 +00:00
Tim Peng
eb06df60d3 [RTL] "Pair New device" overlap on + icon for ar, fa, iw and ur languages
-Add "start" to layout_gravity setting

Bug: 185178433
Test: manual testing
Change-Id: I0232c4db6db6e338a38f3eb2417db839a348e7cb
2021-04-17 11:53:13 +08:00
TreeHugger Robot
86d8e12a06 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-17 03:00:31 +00:00
Matt Casey
bfcadd02f1 Merge "Add transition between LongScreenshotActivity and editor" into sc-dev 2021-04-17 02:51:07 +00:00
TreeHugger Robot
7ca8325425 Merge "Remove libarctimer dependencies" into sc-dev 2021-04-17 02:45:50 +00:00
TreeHugger Robot
7a4aa71c41 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-17 02:44:38 +00:00
Ahaan Ugale
7110641881 AutoTranslate: Pad view text for compatibility reasons.
Some apps operate on the view text based on layout calculations made on
the transformed text. This can cause issues (even crashes) if the
transformed text is longer than the original, as is often the case with
Translate. A previous temporary fix,
I685ae4a9752c817db81f0d736f1d746b2e4a9839, ellipsized the translated
text. This change fixes it properly by instead padding the original
text.

A followup change will make this controllable by API instead of padding
every TextView.

The en space character, U+2002, is used for the padding here. It seems
to work well in practice for multiple languages. We don't make this
configurable through API as it could make debugging harder (issues
triggered by server-side changes).

Bug: 179693024
Test: atest CtsTranslationTestCases
Test: manual - toggling between original and translated, scrolling, new
 views appearing, multiple apps
Change-Id: I9d7db5d2bc200e4042baf3267796f00cfc298f19
2021-04-16 19:38:28 -07:00
TreeHugger Robot
3415660cd2 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-17 02:38:10 +00:00
Matt Casey
21c4c71b2a Merge changes Ie275f5c3,I1cab53a6 into sc-dev
* changes:
  Move RecyclerView scroll capture to the center
  Move scroll capture back to ScreenshotController.
2021-04-17 02:23:28 +00:00
Arc Wang
5ec2095fe7 Tweak UI of UsageProgressBarPreference
- Number in usage summary shows font of size 64.
- Usage summary uses sans font.
- Remove width percentage design.
- Change top/bottom padding from 32 to 16.
- Remove margin between summary text and progress bar.

Bug: 177617478
Test: manual visual
Change-Id: I8e19d98b03226828959be57ed2c0c21a90a88f81
2021-04-17 02:02:43 +00:00
Dmitri Plotnikov
a5163de7af Use BatteryStats instead of BatteryStatsImpl in BatteryUsageStatsProvider
This is being done in preparation for a switch of BatteryStats.dumpLocked
from BatteryStatsHelper to BatteryUsageStats

Bug: 162380414
Test: atest FrameworksCoreTests:com.android.internal.os.BatteryStatsTests

Change-Id: Ia8bf02116517c77f008b85c2012f68353b39c044
2021-04-16 17:47:04 -07:00
Siddika Parlak Polatkan
d560996d0f Merge "Add sensor detection latency to LatencyTracker" into sc-dev 2021-04-17 00:19:38 +00:00
TreeHugger Robot
caff843199 Merge "Fix API review issues for 5G Slicing feature" into sc-dev 2021-04-17 00:16:14 +00:00
Sarah Chin
7fa5d35a45 Merge "Update documentation for setSubscriptionOverride" into sc-dev 2021-04-16 23:58:42 +00:00
TreeHugger Robot
ad6ad26441 Merge "Add a test api for checking if system supports TaskSnapshot" into sc-dev 2021-04-16 23:25:12 +00:00
Amy Zhang
15823c22a7 Fix TunerService/TunerClient implementation issues
1. TunerJNI is setting Tuner 1.1 Frontend extended settings regardless of the tuner hal version

2. SectionSettings section bit copy issue

Test: make
Bug: 185627837
Change-Id: I7ab03e2c96b6abd1439f6a277450005e625c0015
2021-04-16 16:21:56 -07:00
Sarah Chin
d86b2e7c6d Add URSP matching failures as permanent failures
Prevent retry and continuous set up/fail loop.

Test: build
Fix: 185609488
Change-Id: I641ff0a9f6d96ba2bcc07cfebf54205d46e0e5ef
2021-04-16 15:59:50 -07:00
Dan Sandler
9d193906c6 Default power menu QS button on when enabled by resource.
Fixes: 185615637
Test: visual
Change-Id: I22551b51605fd046e6017b5449a3537836e8bdd7
2021-04-16 18:28:11 -04:00
Lucas Dupin
eef5f6d4e5 Merge "Update background colors of apps" into sc-dev 2021-04-16 22:24:55 +00:00
TreeHugger Robot
8b2a8cd445 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-16 22:21:56 +00:00
TreeHugger Robot
72f75fd65d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-16 22:02:42 +00:00
jiabin
543858416a Support 8 channel IEC61937.
There is no longer a requirement for IEC61937 streams to be stereo.
For high bit-rate streams they may have 8 channels.

Test: create AudioTrack with 8 channel IEC61937
Bug: 31916412
Change-Id: I4dfd3e78041a81601d5bde47a4deaa0313066028
2021-04-16 21:58:52 +00:00
Keun-young Park
deb3b21eb3 Merge "Use caller's user id for recent caller info" into sc-dev 2021-04-16 21:53:54 +00:00
TreeHugger Robot
577c2d8863 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-16 21:51:11 +00:00
Bill Yi
0f9d30ac12 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9d4b1b34f6aa87ac58939f161c5ca2b3c80952f1
2021-04-16 21:46:25 +00:00
TreeHugger Robot
f99ce7e98f Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-16 21:46:21 +00:00
Bill Yi
0ab7312078 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2912f9da03e832d92afd03e89214748a9a414911
2021-04-16 21:26:47 +00:00
Sergey Volnov
307f51a17d Ensure updateState() is available for software hotword.
We accidentally missed propagating this method to the interface before
the previous deadline.
Otherwise the change should be trivial and backwards compatible.

Bug: 168305377
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: Ib85f5264932aeab73ff67a3371f2304d368383ae
2021-04-16 22:23:06 +01:00
Rubin Xu
de9d0b0ead Merge "Fix LockSettingsServiceTest" into sc-dev 2021-04-16 21:19:40 +00:00
Yuncheol Heo
a35b769999 Revert "Use the existing wallpaper command API to send wake/sleep events to the wallpaper."
This reverts commit bde980759e.

Reason for revert: b/185615919

Change-Id: I4906f109de478361790e459c117bd5d6a88a778c
2021-04-16 21:15:06 +00:00
Wale Ogunwale
3c8f9e1f1a Merge "Don't use WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY" into sc-dev 2021-04-16 21:11:18 +00:00