Commit Graph

463626 Commits

Author SHA1 Message Date
Matt Pietal
f07bac46ee Remove all control experiments
And plugins, and flags, and any associated code

Bug: 148207527
Test: atest SystemUiTests
Change-Id: Id1b800d6ec96b5297e6ed4792ca003d45b61e53e
2020-01-30 08:49:20 -05:00
Jorim Jaggi
8a269993ce Merge "Dispatch separate navigation bar frame to IME" 2020-01-30 11:33:39 +00:00
Jacky Kao
3ce294d8bf Merge "Limiting the magnified region" 2020-01-30 11:09:08 +00:00
Oli Lan
f6e58c9f53 Merge changes from topic "apexcerollback"
* changes:
  Add tests for DE_sys and CE apex data rollback.
  Snapshot and restore CE apex data directories.
2020-01-30 10:49:47 +00:00
Bernardo Rufino
768686b601 Merge "Gate CHANGE_TEXT_TOASTS_IN_THE_SYSTEM on targetSdk 30+" 2020-01-30 10:42:04 +00:00
Jacky Kao
d5ad33d58e Limiting the magnified region
1. Get the real display size including the status and navigation bar.
2. Calculate the real position of magnification frame
(i.e. mirror window) based on the magnified region should be limited
by the region of the display.

Bug: 143451908
Test: manual test
Change-Id: I907b005f960bc2e254b73691d7ac8d80cdf92a16
2020-01-30 16:03:57 +08:00
TreeHugger Robot
55b30b35dd Merge "Fix missing setAtomId" 2020-01-30 06:58:10 +00:00
Howard Ro
7316004f7b Merge "Use FrameworkStatsLog instead of StatsLog" 2020-01-30 06:49:00 +00:00
Muhammad Qureshi
6bf724f993 Merge "Add SettingsStatsLog" 2020-01-30 05:58:39 +00:00
Alex Buynytskyy
60c9fe14b0 Merge "Session states refactor." 2020-01-30 04:58:06 +00:00
Tej Singh
5dd1dc991a Fix missing setAtomId
Test: adb shell cmd stats print-source 10028
Change-Id: I941af775f9f8e7b4050ef9bf639e0b6d3beb79e1
2020-01-29 20:52:28 -08:00
TreeHugger Robot
c2411e978c Merge "Remove unnecessary gInited" 2020-01-30 03:57:45 +00:00
TreeHugger Robot
6173503605 Merge "Simplify feature enablement to a single constant" 2020-01-30 03:48:43 +00:00
TreeHugger Robot
7be4820419 Merge "Use FrameworkStatsLog in StatsPullAtomService" 2020-01-30 03:05:42 +00:00
TreeHugger Robot
f03a313ee5 Merge "Use FrameworkStatsLog in QSSecurityFooter" 2020-01-30 02:17:16 +00:00
Lucas Dupin
e9e14d9cb5 Merge "Expose managed profile sensitiveness preferences" 2020-01-30 02:17:02 +00:00
TreeHugger Robot
b90b74b44e Merge "Remove usages of @hide methods in telephony code." 2020-01-30 02:13:12 +00:00
Howard Ro
a13e2bc32e Merge "Use FrameworkStatsLog instead of StatsLog" 2020-01-30 02:08:22 +00:00
Alex Buynytskyy
133a628a2a Session states refactor.
1. Moving Seal (back) to commit call as we no longer need it to be async.

2. Current states:
     Stream/Validate/Commit - for Streaming installation might be entered multiple times while waiting for DataLoader to finish.
     Install - renamed from Commit to avoid confusion with mCommitted.

3. Install still has to be a separate state to allow
setPermissionsResult.

Test: atest PackageManagerShellCommandTest
Bug: b/136132412 b/133435829
Change-Id: I6afcfeafabbf7e26906fcf5697c44c5617c9c1b5
2020-01-30 02:07:50 +00:00
TreeHugger Robot
e1eecc1d37 Merge "LogEvent: Avoid unaligned assignment of value" 2020-01-30 01:32:12 +00:00
TreeHugger Robot
59f31d5e3c Merge "Create AppForegroundHelper" 2020-01-30 01:22:36 +00:00
Muhammad Qureshi
759f92f34e Use FrameworkStatsLog instead of StatsLog
As part of statsd becoming a Mainline module in R, autogenerated
StatsLog.write() calls are going away and replaced by
*StatsLog.java
that is autogenerated for each module.
This CL replaces some usages of StatsLog with
FrameworkStatsLog.

Bug: 145952197
Test: m
Change-Id: Ib36d010ca962904bbc905be7e832346d2c08cb2e
2020-01-29 17:22:12 -08:00
Muhammad Qureshi
388089cba9 Use FrameworkStatsLog in QSSecurityFooter
As part of statsd becoming a Mainline module in R, autogenerated
StatsLog.write() calls are going away and replaced by *StatsLog.java
that is autogenerated for each module.
This CL replaces some usages of StatsLog with FrameworkStatsLog.

Bug: 145952197
Test: m
Change-Id: I4a622616aa603fe88d0ecca997c8fe93cfae7abc
2020-01-29 17:18:10 -08:00
TreeHugger Robot
7c0436c1a6 Merge "Enforcing Background Check on RESTRICTED apps." 2020-01-30 01:08:58 +00:00
TreeHugger Robot
63a59e6a16 Merge "Animate overflow button" 2020-01-30 01:05:39 +00:00
TreeHugger Robot
61e8374b44 Merge "Add documentation to #onPictureInPictureRequested" 2020-01-30 01:03:03 +00:00
Muhammad Qureshi
d5449fd56b Use FrameworkStatsLog instead of StatsLog
As part of statsd becoming a Mainline module in R, autogenerated
StatsLog.write() calls are going away and replaced by
*StatsLog.java
that is autogenerated for each module.
This CL replaces some usages of StatsLog with
FrameworkStatsLog.

Bug: 145952197
Test: m
Change-Id: Ied4cad6550c99697003948a2639c74fba31f1fde
2020-01-29 17:03:01 -08:00
Muhammad Qureshi
4e4c44f964 Use FrameworkStatsLog in StatsPullAtomService
Bug: 145952197
Test: m
Change-Id: I9ac1779a78091631d041e04c110b870beb3df4ae
2020-01-29 16:48:42 -08:00
Yuichiro Hanada
58145925a8 Merge "Add InputMethodListListener interface." 2020-01-30 00:45:58 +00:00
Jaewan Kim
3fbf3d600d Merge "MediaSessionManager: Apply API review" 2020-01-30 00:35:09 +00:00
TreeHugger Robot
b651b4562e Merge "Revert "network_stack: Move network_stack @hide bypass to platform"" 2020-01-30 00:23:52 +00:00
Muhammad Qureshi
9afad819d9 Add SettingsStatsLog
Bug: 145952197
Test: m Settings
Change-Id: I7607b9784a7d3d73ccea4b7d7846a84c5c18899e
2020-01-29 16:23:35 -08:00
Zimuzo Ezeozue
5fb485b20d Merge "Grant apps with WRITE_MEDIA_STORAGE legacy storage appop" 2020-01-30 00:16:22 +00:00
Malcolm Chen
862ece814d Remove usages of @hide methods in telephony code.
Replace them with public alternatives.

Bug: 140908357
Test: build
Change-Id: Ib40da3702c64c36613555d61451442eeaf1f2f35
2020-01-29 16:01:14 -08:00
TreeHugger Robot
47c9ac72dd Merge "IME always provides bottom insets, if any" 2020-01-29 23:48:50 +00:00
Hongming Jin
1709c9fca8 Merge "Allow recents components to register/unregister system action." 2020-01-29 23:47:35 +00:00
Meng Wang
603f29f219 Merge "DeviceIdentifierAccessDenied: deprecate is_preinstalled" 2020-01-29 23:47:12 +00:00
TreeHugger Robot
677b004d84 Merge "Implement tune() in JNI" 2020-01-29 23:47:00 +00:00
TreeHugger Robot
9c01b1398b Merge "startop: Add a function test for iorapd." 2020-01-29 23:44:37 +00:00
Christian Wailes
53b77b57f4 Merge "Purge unused native memory before Zygote fork events" 2020-01-29 23:41:25 +00:00
Jay Aliomer
0373c4e613 Merge "Activity Record Splash Screen" 2020-01-29 23:39:45 +00:00
Chris Wailes
7699d61bc5 Purge unused native memory before Zygote fork events
This CL causes the Zygote to purge unused native memory before fork
events. This results in a decrease in the RSS before a fork, which
decreases false sharing between parent and child, and results in less
private dirty memory in the child when allocations and deallocations
begin to dirty bookkeeping data on pages in the anon:libc_malloc
memory region.

The result of these changes is a negligible change to application
startup times, the reduction of usap32 process private dirty memory by
40 KiB and usap64 process private dirty memory by 128 KiB.  Application
RSS and private dirty memory usage (for Calendar) was reduced by 804 KiB
and 624 KiB respectively.

Test: Launched Calendar 500 times
Change-Id: I52f72a5a02182a9e2748f7f87b45665059d9891a
2020-01-29 15:37:32 -08:00
Greg Kaiser
19a88669c3 LogEvent: Avoid unaligned assignment of value
Since we can have 'T' be things like int64_t, and we're arbitrarily
incrementing 'mBuf', we're not always assured 'mBuf' will be
properly aligned for an assignment.  We do a check and use
memcpy() if it's going to be unsafe.

Test: TreeHugger
Bug: 148549384
Change-Id: I76fd12a3241a997acf4625c9ce1176ae76c5bff2
2020-01-29 15:28:55 -08:00
Soonil Nagarkar
b6375a4f7f Create AppForegroundHelper
Create a new helper to deal with application foreground state changes.

1) Rename various Helpers.
2) Move GnssManagerService into location dir.
3) Use new AppForegroundHelper everywhere.
4) Move sendNiRequest to internal API
5) Some refactoring of NetInitiatedActivity

Test: atest AppForegroundHelperTest
Change-Id: Ifffe0e6a34452a18d017c6b190547b904d77b430
2020-01-29 15:23:06 -08:00
Dianne Hackborn
628aeec354 Merge "Fix issue #148487136: Add a little more debug output to devicestoragemonitor" 2020-01-29 23:19:10 +00:00
Lyn Han
c47e171262 Animate overflow button
Add overflow button to mBubbleContainer
Update animation math to account for 6th child

Bug: 138116789
Fixes: 148233216
Test: manual: expand stack - button animates like normal bubbles
Test: manual: collapse stack - button animates like normal bubbles
Test: atest SystemUITests
Change-Id: I8bd575a116ab4a7443c2d682debc5c5207df1808
2020-01-29 14:56:17 -08:00
TreeHugger Robot
24e6e408b0 Merge "Add framework module annotations in atoms.proto" 2020-01-29 22:48:09 +00:00
Bernardo Rufino
944121a8d3 Gate CHANGE_TEXT_TOASTS_IN_THE_SYSTEM on targetSdk 30+
Bug: 148438364
Bug: 144152069
Bug: 144754526
Bug: 128611929
Test: atest android.widget.cts29.ToastTest
Test: Verify com.commsource.beautyplus doesn't crash when sharing photo
      (details on b/148438364)

Change-Id: Iea3ffd69c3fd217b993d89020b7ec6c3c32cea15
2020-01-29 22:24:45 +00:00
Mehdi Alizadeh
505fb76065 Adds CACHED shortcuts and methods to retrieve and remove
Adds a new flag to ShortcutInfo to mark it as cached. Also adds new
APIs in ShortcutManager to remove or retrieve a cached shortcut.

Bug: 148084870
Test: atest com.android.server.pm.ShortcutManagerTest1 \
            com.android.server.pm.ShortcutManagerTest2 \
            com.android.server.pm.ShortcutManagerTest3 \
            com.android.server.pm.ShortcutManagerTest4 \
            com.android.server.pm.ShortcutManagerTest5 \
            com.android.server.pm.ShortcutManagerTest6 \
            com.android.server.pm.ShortcutManagerTest7 \
            com.android.server.pm.ShortcutManagerTest8 \
            com.android.server.pm.ShortcutManagerTest9 \
            com.android.server.pm.ShortcutManagerTest10
Change-Id: I859b416ccd4228eec10a436550ff98866a62af66
2020-01-29 22:06:40 +00:00
Rambo Wang
879bc4ae15 Merge "Clear up permission READ_PRIVILEGED_PHONE_STATE." 2020-01-29 22:06:11 +00:00