Commit Graph

640958 Commits

Author SHA1 Message Date
Riddle Hsu
bb1a4ad2b0 Merge "Verify that TaskOrganizer gets transferred launch cookie" into sc-dev 2021-04-21 04:04:17 +00:00
Shan Huang
d19fb697aa Add system config to suppress charging ripple.
Test: Manual, SystemUITests
Bug: 185551352

Change-Id: Ibfc6e78ade690cf7a647c599905df85d18010a5c
2021-04-21 11:55:49 +08:00
TreeHugger Robot
7a80f253ec Merge "Smartspace - Fade out secondary cards" into sc-dev 2021-04-21 03:54:02 +00:00
TreeHugger Robot
0b4354de32 Merge "Revert "Update user profiles on user unavailable"" into sc-dev 2021-04-21 03:38:06 +00:00
TreeHugger Robot
7b8cdbf081 Merge "Move FrameworksServicesTests to group presubmit-large" into sc-dev 2021-04-21 03:38:01 +00:00
Tianjie Xu
ffbcac67ab Merge "Catch security exceptions in RoR APIs" am: 27dcfb808c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1651270

Change-Id: I4f06dc0b0dc5ae9ba252251f25b7a63cee0909ec
2021-04-21 03:34:25 +00:00
Benedict Wong
3bad1d413e Merge "Fix NPE in dump and add additional dump data" am: 36478cfdaa
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1682045

Change-Id: I0542725ae7f4402c1940848b299ee6eac945bae6
2021-04-21 03:29:42 +00:00
Tianjie Xu
27dcfb808c Merge "Catch security exceptions in RoR APIs" 2021-04-21 03:22:56 +00:00
Peter Li
993e1907a6 Merge "Change API names and constants by API review" into sc-dev 2021-04-21 03:20:56 +00:00
James Mattis
772afb9b20 Merge "Correctly count nri uid request counts" am: 1b7a5e282c am: 0c8d65b489 am: 8bc9d3464c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1655051

Change-Id: Ibec1f37f2062827cf390eb344dd30447bdabec13
2021-04-21 03:17:13 +00:00
Treehugger Robot
26869310e5 [automerger skipped] Merge "Adding a permission to Shell for testing" am: 7342dafaa5 am: 23f9ef4d2b am: fd03622048 -s ours
am skip reason: skip tag Change-Id Ia0f8afa6dc1a13c95553b691f352c6d8c7ae5ccf with SHA-1 b0db699780 is already in history

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

Change-Id: I80c586492f04250f71a9534f167d5e1245687a73
2021-04-21 03:16:46 +00:00
Chris Li
a3e28dec2c Merge "Fix flaky legacy split screen flicker tests" into sc-dev 2021-04-21 03:07:15 +00:00
Benedict Wong
36478cfdaa Merge "Fix NPE in dump and add additional dump data" 2021-04-21 03:04:53 +00:00
Dmitri Plotnikov
2da1afff2e Fix BatteryStatsViewer makefile...
to allow BatteryStatsViewer to be included in the system build.

Also, setting the launcher icon to match other similar test apps.

Bug: 185952656
Test: include BSV in device.mk, build and flash

Change-Id: I4d0216418dd30b54adb20d88ac121a09e82350a4
2021-04-20 19:57:21 -07:00
James Mattis
8bc9d3464c Merge "Correctly count nri uid request counts" am: 1b7a5e282c am: 0c8d65b489
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1655051

Change-Id: If4ff10a4793cee3a00aa1d66bf85af19f9e88b72
2021-04-21 02:52:41 +00:00
Treehugger Robot
fd03622048 Merge "Adding a permission to Shell for testing" am: 7342dafaa5 am: 23f9ef4d2b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679721

Change-Id: I6f02958325c6c6a5f944bf4220338e950b7b0d10
2021-04-21 02:52:28 +00:00
lucaslin
8851bd8ee4 Add the related extra information in the javadoc
Bug: 185876442
Test: make docs
Change-Id: Ib0abc43e2009dbf5ee7b6c2a076424834d3d53f2
2021-04-21 10:43:15 +08:00
Diego Vela
7dc16384da Update WindowManager Jetpack in SC
Update window-extensions aar.
Update window-sidecar aar.
Remove deprecated fields.

Bug: 173739071
Test: Manual build with extensions, set a device state 3
Test: Set a dislay feature to go horizontally and run sample app
Change-Id: I67f1b109aeb4202c7c531b074d2d6e89e1e8c831
2021-04-20 19:39:31 -07:00
James Mattis
0c8d65b489 Merge "Correctly count nri uid request counts" am: 1b7a5e282c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1655051

Change-Id: I5ab86516030c8758b77c7335da68fd4f01b34a60
2021-04-21 02:23:29 +00:00
Treehugger Robot
23f9ef4d2b Merge "Adding a permission to Shell for testing" am: 7342dafaa5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679721

Change-Id: I8d412d08c63660956b282566ef3ecd09add58c12
2021-04-21 02:15:13 +00:00
Andy Hung
fb082f6463 Audio: Add ENCODING_DRA
China DTMB digital TV.
See SJ/T11368-2006
“Specification for multichannel digital audio coding technology”.

Test: atest AudioFormatTest
Bug: 185950819
Change-Id: Id6078e65941020a73f8a43017f480574c2a78999
2021-04-20 19:12:59 -07:00
James Mattis
1b7a5e282c Merge "Correctly count nri uid request counts" 2021-04-21 02:06:33 +00:00
Chloris Kuo
e67161b7b6 NAS Setting Migration
Cancel onboarding notification when user migrates from settings

Bug: 185428329
Test: atest NotificationManagerServiceTest, NotificationAssistantsTest
Change-Id: I24941e7e046d4b43978db11b9b58516aeaaf0ef3
2021-04-20 19:02:05 -07:00
Kyunglyul Hyun
05df0a936c Merge "Revert^2 "Change PlaybackState#isActiveState to isActive"" into sc-dev 2021-04-21 01:56:15 +00:00
Mat Bevilacqua
29ad8e6798 Fix oneway error on IUwbRangingCallbacks calls
Bug: 185948331
Test: atest android.uwb.cts.UwbManagerTest
Test: atest android.uwb
Change-Id: Ifd35f7cced39937c8e0766be6a1efde655c014fb
2021-04-20 18:55:09 -07:00
Treehugger Robot
7342dafaa5 Merge "Adding a permission to Shell for testing" 2021-04-21 01:49:34 +00:00
Jackal Guo
a3e316fb01 Apply package visibility to LauncherApps.Callback
Applications could know package related events via registering and
implementing the LaunchersApps.Callback. We should also apply the
visibility to LauncherApps.Callback like what we did for Broadcast-
Receiver.

For removed one, using a new protected broadcast with the visibility
allow list in the extra instead since the PackageSetting is already
deleted and wouldn't be able to get its visibility allow list.

Bug: 143946569
Test: atest AppEnumerationTests
Test: atest ShortcutManagerLauncherCallbackTest
Test: atest IncrementalLoadingProgressTest
Test: atest NonIncrementalLoadingProgressTest
Change-Id: If457e2d7892d9d4fbb8cf0ca230de423526eeb10
2021-04-21 09:48:40 +08:00
Hyundo Moon
013cf241a1 Merge changes from topic "system_mr2_media_content_control" into sc-dev
* changes:
  System MediaRouter2: Resolve API review
  Change MODIFY_AUDIO_ROUTING permission to MEDIA_CONTENT_CONTROL
2021-04-21 01:45:42 +00:00
Yanchao Su
2e2e479ef1 Merge "fix bug 184901520." into sc-dev 2021-04-21 01:44:08 +00:00
Nate Myren
449e217211 Flag-gate immersive mode indicator
Disable the immersive mode indicator unless the
enable_immersive_indicator device config flag is set

Bug: 185947709
Test: manual
Change-Id: Ief38fd7debad8291ddccdc8153fe6b1cdbcbc5ed
2021-04-20 18:40:59 -07:00
Arc Wang
b0ea152982 Merge "Fix UsageProgressBarPreference progress bug when zero total size" into sc-dev 2021-04-21 01:34:06 +00:00
Andy Hung
05be3db5ae Merge changes from topics "360RA channel mask", "audio channels" am: b1060eb9f5 am: d6c0a357ab am: c1b0ca6a32
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1669510

Change-Id: I94aa095ed5ba59acac76a59a46acca90dd383359
2021-04-21 01:28:31 +00:00
Dmitri Plotnikov
442b6a80a4 Save power component names in the summary parcel for MeasuredEnergySnapshot
This is the second attempt at Ibb68bb2ee62678db5f3b30c4f2ef607006ccc81b, which
broke a test

Bug: 185534915
Test: mp :BatteryStatsViewer && adb shell am start -n com.android.frameworks.core.batterystatsviewer/.BatteryStatsViewerActivity
  and check that custom component is displayed as "GPU", not "CUSTOM_10000"
Test: atest FrameworksServicesTests:com.android.server.am.MeasuredEnergySnapshotTest

Change-Id: I9f65488a682233c49d47d73fc9426b76aab07627
2021-04-20 18:24:54 -07:00
Adam He
e565d31bce API feedback: change language from String to ULocale.
Bug: 176208267
Bug: 184685163
Test: atest CtsTranslationTestCases
Change-Id: I10310f4980d4b9d869eb76542e0327420ad2f9de
2021-04-20 18:23:13 -07:00
Remi NGUYEN VAN
4306458c29 Revert^2 "Remove framework-connectivity from the private API"
No target should build against hidden symbols in framework-connectivity,
as it has been moved to a mainline module that only exposes a stable
API.

Change-Id: I7e98314ce58419d3dce4845cba9c2b1852690c36
Fixes: 182859030
Test: m
2021-04-21 01:13:53 +00:00
TreeHugger Robot
d07ae7b445 Merge "Reroute surfaceflinger atoms through system server" into sc-dev 2021-04-21 01:11:20 +00:00
Remi NGUYEN VAN
36bae70378 Merge "Revert "Remove framework-connectivity from the private API"" into sc-dev 2021-04-21 01:08:54 +00:00
Remi NGUYEN VAN
fab0a766da Revert "Remove framework-connectivity from the private API"
This reverts commit 17045d956f.

Reason for revert: Broken build: b/185947883

Change-Id: Ia7e6af3b47540142b5ea511e825a9dc86c0680c6
2021-04-21 01:07:54 +00:00
Andy Hung
c1b0ca6a32 Merge changes from topics "360RA channel mask", "audio channels" am: b1060eb9f5 am: d6c0a357ab
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1669510

Change-Id: I2fbce01d6817edb9ea41284f38fe2fa09d5eea79
2021-04-21 01:03:54 +00:00
TreeHugger Robot
3723a67112 Merge changes I100846a4,I61b12a00 into sc-dev
* changes:
  Revert "Added exposure effect on ImageWallpaper"
  Revert "Stops ImageWallpaper Thread when phone is idle"
2021-04-21 00:57:50 +00:00
TreeHugger Robot
51f7357af1 Merge "Add back deprecated Translator.translate() method" into sc-dev 2021-04-21 00:57:08 +00:00
Garfield Tan
4091a47400 Add a method to obtain task info with intent extra
Also change boolean parameters to bitwise flags to clean up the
signature. Fixed the unit test in RunningTasksTest because it didn't
set up the test correctly.

Bug: 185492118
Test: atest RunningTasksTest
Change-Id: Id6771c48de2e219acd998b39f82a71ed6e0c59a2
2021-04-20 17:56:32 -07:00
Brad Ebinger
5934699aab Add the REGISTRATION_TECH_NR Tech type
Adds the new NR registration technology for devices
that support IMS over NR so that the APIs can report
this technology.

Bug: 179724463
Test: atest CtsTelephonyTestCases
Change-Id: I4b0f9882dcf36e2ff7151778cbadb8e83513df5a
2021-04-20 17:56:24 -07:00
Kweku Adams
6e9b1e4a90 Clean up SyncManager.
1. Remove unused variables
2. Remove random selection of new job ID and make sure we always exit
   the loop. New job IDs will be selected more deterministically.
3. Query pending system jobs only once instead of for every potential
   new job ID.
4. Switch from iterator to basic for loop.

Bug: 169959994
Test: atest ContentResolverTest (all)
Test: atest CtsSyncManagerTest
Test: atest SyncOperationTest
Test: atest SyncManagerTest
Test: atest SyncRequestTest
Change-Id: Iff0f8edba8d424075f64a95e523b8c0c986aab33
2021-04-20 17:49:35 -07:00
Kurtis Schlepp
0bdbcc479c Add Japanese Photo L size
L size media is very common in Japan, as listed at
https://en.wikipedia.org/wiki/Photo_print_sizes. DPS and other
print services must add their own definitions of this popular size.

Including it in PrintAttributes will allow other software to
leverage it instead of re-defining it, leading to a more consistent
experience in the future.

Test: L is present in API
Change-Id: I7022881846d1bf46bda80b4825c5cba01b794821
Signed-off-by: Glade Diviney <mopriadevteam@gmail.com>
2021-04-20 17:49:33 -07:00
Joanne Chung
497dadea9c Merge "Remove the deprecated APIs in UiTranslationManager." into sc-dev 2021-04-21 00:48:53 +00:00
Benedict Wong
85d294282c Rename get/setRetryInterval to get/setRetryIntervalsMs
Per API feedback, the get/set methods for retry intervals are renamed to
be plural, and have time units

Bug: 184612525
Test: atest FrameworksVcnTests
Test: atest CtsVcnTestCases
Change-Id: I51b3ffcfa44f72805f359e56b263da2558325372
2021-04-21 00:44:37 +00:00
Roshan Pius
3deea32184 Merge changes from topic "uwb_aosp_service_permission" into sc-dev
* changes:
  UwbService: Enforce UWB_RANGING runtime permission
  UwbService: Enforce UWB_PRIVILEGED permission
2021-04-21 00:34:54 +00:00
Joanne Chung
be20ca46f6 Merge "API feedback: Translation View API refinement." into sc-dev 2021-04-21 00:29:24 +00:00
Steven Moreland
021f3e3d3f ServiceManagerNative: update for updatableViaApex
See if a VINTF instance is updatable via APEX.

Bug: 185832616
Test: N/A
Change-Id: I3413707eb18beae1ac417a92e9082655f6d07f11
2021-04-21 00:28:53 +00:00