Commit Graph

640958 Commits

Author SHA1 Message Date
Jing Ji
9d28fa063d Add state BOUND_FGS_OR_TOP and FGS into ProcessState Enum in ProcStats
Previously these two states in AMS are being mapped into the ImpFg
in the ProcStats, we were unable to distinguish them in the aggregated
proc stats. Now with these two new states in ProcStats, the process
states we're using in AMS could be mapped into them, and eventually
get mapped into the state definition in the aggregated proc stats.

Bug: 186438656
Test: atest ProcStatsValidationTests
Test: atest ProcessStatsDumpsysTest
Test: atest CtsIncidentHostTestCases:ProcStatsProtoTest
Test: atest CtsStatsdHostTestCases
Test: atest CtsAppTestCases:ActivityManagerProcessStateTest
Change-Id: I94eaa18d9c99f90200603fd0aafe198b62e963f7
2021-04-29 10:05:19 -07:00
Ying Xu
1ce4cdb8ff Merge "Mock the makeCopy() method in the unit test" into sc-dev 2021-04-29 17:02:14 +00:00
Daniel Santiago Rivera
2a2aa6d3c5 Merge "Added SQLite versions used on API levels 28, 30 and 31." 2021-04-29 17:00:01 +00:00
Bill Yi
ac18886190 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 47ff768e64 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie59c293266e86c840c172bca4915df55ed99ae3b
2021-04-29 16:57:57 +00:00
Dmitri Plotnikov
cfe7c4f19b Merge "Fix mismatch between measured energy value for GNSS" into sc-dev 2021-04-29 16:56:29 +00:00
Mihai Niță
0df2fb42d2 Merge "Update Android language picker with all eligible languages" into sc-dev 2021-04-29 16:53:47 +00:00
Evan Rosky
aadebf0a38 Merge "Adapt transition merge during recents into onTaskAppeared." into sc-dev 2021-04-29 16:53:17 +00:00
Garfield Tan
efc43e9003 Merge "Add Dimmer to RootDisplayArea" into sc-dev 2021-04-29 16:52:22 +00:00
Brad Ebinger
be8de58cf0 Merge "Do not throw NPE if GRUU uri is not populated" am: a2fc362eb9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690268

Change-Id: I5e1b81be5320cffb3fe1a709abbe0346f6021733
2021-04-29 16:42:55 +00:00
Evan Severson
c786cbe92a Fix incorrect index usage in SensorPrivacyService init
TODO: Add test coverage for service init

Merged-In: I0ce26eda21035a34f1cb09a71c94ee84301aef84
Change-Id: I0ce26eda21035a34f1cb09a71c94ee84301aef84
Test: None yet
Bug: 186578100
(cherry picked from commit adb86329d8)
2021-04-29 16:39:47 +00:00
Nikita Iashchenko
17b3dd0b66 Rename getters and setters android.compat.Compatibility.ChangeConfig
As a part of api review rename getters and setters to comply guidelines.

Bug: 183512903
Test: m droid
Change-Id: I53b987ce88ce4a6f87f331c5b8108568b3f3e184
2021-04-29 17:38:01 +01:00
TreeHugger Robot
5dbfd93d4b Merge "Add test coverage for android.hardware.lights.LightsRequest and hide android.hardware.lights.LightsManager.LightsSession constructor." into sc-dev 2021-04-29 16:31:10 +00:00
TreeHugger Robot
d708154ede Merge "Rename Battery to BatteryState." into sc-dev 2021-04-29 16:30:16 +00:00
Brad Ebinger
a2fc362eb9 Merge "Do not throw NPE if GRUU uri is not populated" 2021-04-29 16:28:40 +00:00
Hongwei Wang
bcf4d577d1 Merge "Ignore moveTaskToBack transition for PiP" into sc-dev 2021-04-29 16:28:40 +00:00
Ricky Wai
b11309b1fc Change mounting storage data and obb flag to on by default
Change mounting storage data and obb flag to on by default

Test: unbundled/launcher/nexus_unit_test_multi_device_platform
Test: atest android.appsecurity.cts.ExternalStorageHostTest
Test: atest AdoptableHostTest
Test: pass cts/cts_postsubmit_cf_stable-cloud-tf

Bug: 148049767
Change-Id: Iffa8339b10427bea96aa90030463ed18c96eafce
2021-04-29 15:59:00 +00:00
James O'Leary
3d121b7119 Merge "Don't use pow for distance calculation" into sc-dev 2021-04-29 15:55:49 +00:00
Hyunyoung Song
ce5f5faab8 Merge "API council review for SearchUiManager" into sc-dev 2021-04-29 15:52:12 +00:00
Nataniel Borges
8a26f00f1f Merge "Fix pip window visibility assertions" into sc-dev 2021-04-29 15:51:59 +00:00
James O'Leary
fada9e8571 Don't use pow for distance calculation
Bug: 186664313
Test: `mp droid`, verify wallpaper extraction continues to succeed
Change-Id: I8136522379abfe5cbce83beae904559e68725aca
2021-04-29 11:48:39 -04:00
Bill Yi
ba94d565cd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I873d14583db283b2cbbe45347bf4949d4c0f2001
2021-04-29 15:45:07 +00:00
chaviw
87a07ea39d Restore old behavior in pulic API setGeometry
When setFrame was removed, it required some changes to setGeometry.
However, this created some behavior changes between R and S. Modified
setGeometry to restore old behavior.

1. Destination can't have negative left and top. If negative values are
set, it will revert to (0,0,w,h)
2. If invalid source is set, an invalid rect for crop will be sent to SF
which would normally mean crop is ignored.

Test: ASurfaceControlTest
Bug: 185533162
Change-Id: I5c86da7327f97e82c63ae1f1c985829b8a4dbaef
2021-04-29 10:41:01 -05:00
James O'Leary
a23d054838 Color appearance model library
Create colors using CAM16 hue and chroma, L*a*b* L*,
and map them to RGB without distortion.

Test: atest FrameworksCoreTests:com.android.internal.graphics.cam
.CamTest, all passed. No link, atest/my build are broken and cannot
upload results.
Bug: 186640057
Change-Id: I64b605dd452d64e57be0047d2e4672917c01c2a8
2021-04-29 11:40:47 -04:00
Bill Yi
d8bb588ae6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9cb5e93c3b8604c15524953602a995e713946a23
2021-04-29 15:36:59 +00:00
Chavi Weingarten
89e0e3fb07 Merge "Updated DisplayHash APIs" into sc-dev 2021-04-29 15:31:20 +00:00
Jeff Sharkey
02b741f883 Merge "Restore file truncation where expected." into sc-dev 2021-04-29 15:31:16 +00:00
Julia Reynolds
d61aae299c Restrict alarm broadcast
To android only

Test: NotificationManagerTest, NotificationManagerServiceTest
Bug: 175614289
Change-Id: I4f8e56729d90f8f5288d08881129b1c45d5790e7
Merged-In: I4f8e56729d90f8f5288d08881129b1c45d5790e7
(cherry picked from commit abf15b731a)
(cherry picked from commit 4056976f1e)
(cherry picked from commit f1e84b42b1)
2021-04-29 15:30:43 +00:00
George Mount
a4b222f48d Merge "Allow intercept touch event while animating edge glow." into sc-dev 2021-04-29 15:21:51 +00:00
Bill Yi
1d2e2f9f22 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I37cf6913e2e8db085e4bc37e69fa661128c9294a
2021-04-29 15:19:34 +00:00
TreeHugger Robot
c8a0871269 Merge "Disable flaky app pair assertions" into sc-dev 2021-04-29 15:18:23 +00:00
Bill Yi
47ff768e64 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9cf1d15d0bbb219131fbc0838211d1cd6c0f39d8
2021-04-29 15:16:45 +00:00
Bill Yi
26cbdaa84b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I45ca6916db47926d01830ac48fb0a6533d20970a
2021-04-29 15:15:19 +00:00
Fabian Kozynski
1488a0af62 Brightness slider animation, expand
Also, test for NaN in TouchAnimator

Test: manual
Bug: 186195281
Change-Id: I3d6a5a8d27bd1e069dbcf53ab5adb0db4dbe4811
2021-04-29 11:08:46 -04:00
Tsung-Mao Fang
5565da2a9c Merge "Fix the padding for top intro preference" into sc-dev 2021-04-29 15:03:08 +00:00
Matt Pietal
5ab8c632b6 Smartspace - Check sensitivity settings
For both the current user and any managed profiles, check to see if
sensitive smartspace content should be filtered out, based on the user
settings.

Bug: 183401939
Test: atest KeyguardClockSwitchControllerTest

Change-Id: I5de56b1e3229629864304853c26dc45c98ef0114
2021-04-29 10:53:32 -04:00
Evan Severson
985b4f4ca5 Merge "Fix pin requirement for sensor toggle dialog" into sc-dev 2021-04-29 14:53:14 +00:00
Lyn Han
e42ee92f3f Scroll notifications fullscreen
NSSL lets NPVC know if mOwnScrollY changed
Then NPVC updates background scrim position

Bug: 172289889
Test: manual
Change-Id: I0e2599849df5d44021e401a4d62b378f66d1c713
2021-04-29 09:41:45 -05:00
Ryan Mitchell
3ec445926b Merge "Add <macro> tag to aapt2" into sc-dev 2021-04-29 14:15:41 +00:00
Shan Huang
a78718ac81 Merge "Play ripple on pluggedIn event instead of charge event." into sc-dev 2021-04-29 14:10:14 +00:00
Peter_Liang
6f90704f49 Fix the GAR issue of all the icons on A11y FM have no meaningful A11y label.
Patch action:
Add the state or content description into the corresponding feature target.

Bug: 178289063
Test: atest AccessibilityTargetAdapterTest AccessibilityTargetAdapterTest
Change-Id: I2f421da027bc95021ab24cadf8b3afdc30fa6d4a
2021-04-29 21:58:35 +08:00
Fabian Kozynski
c41e5371d7 Merge "Don't clip tiles as pages as scrolled" into sc-dev 2021-04-29 13:58:02 +00:00
Bill Yi
a63ad2afa3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7f1f328ec7a68bc9219f11fffc32b650de1a3bf3
2021-04-29 13:56:51 +00:00
Daniel Sandler
db5b068c96 Merge "Fix longstanding 0B in heap tile" into sc-dev 2021-04-29 13:54:39 +00:00
Wilson Wu
f5cded5a11 Merge "Make IInputMethodPrivilegedOperations to async (6/N)" into sc-dev 2021-04-29 13:42:04 +00:00
Beverly Tai
98b6d799d9 Merge "Animate clock weight to 0 on bypass face auth" into sc-dev 2021-04-29 13:31:35 +00:00
Bill Yi
330e4d9861 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I39224c26930e4bfb0fd701004e114bd80e7bbd99
2021-04-29 13:21:57 +00:00
Nikita Iashchenko
246c8c1326 Copy StringPool to framework
Libcore class StringPool has single usage outside libcore, in framework.
As a part of api cleanup in libcore StringPool is removed from
SystemApi, thus, it is copied to com.android.internal.util package.

Bug: 154796679
Test: m droid
Test: atest FrameworksUtilTests
Change-Id: Iaa332eb8ade68f3451639bdce62d5cfea30c2f97
2021-04-29 14:09:18 +01:00
Bill Yi
b69af71af4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If64c8aa8d6fe16e15cf55099310a97f155e4b5a6
2021-04-29 12:43:54 +00:00
TreeHugger Robot
9693ec26d9 Merge "Fixed DPMS.listForegroundAffiliatedUsers()." into sc-dev 2021-04-29 12:41:09 +00:00
Kholoud Mohamed
2e2e0a8c0b Merge "Fix security vulnerability in DPMS#isProvisioningAllowed" into sc-dev 2021-04-29 12:39:52 +00:00