Commit Graph

743825 Commits

Author SHA1 Message Date
Kenneth Ford
cda48cdca5 Updates OverrideRequestController to allow for one override
request at max

To simplify orchestration around handling multiple override
requests, we are reducing the OverrideRequestController to
only having one override request at a time. If a new request
is added, the previous request will be cancelled and removed.

This change also means that we can remove the SUSPENDED status
of a request and the accompanying callbacks

Bug: 216495664, Bug: 207686851
Test: OverrideRequestControllerTest
Change-Id: I787f2ce8567812a633c0afdd5b3f684da4508249
2022-01-29 00:56:30 +00:00
Sudheer Shanka
6c03192f3d Merge "Make broadcast response window duration configurable." 2022-01-28 17:22:07 +00:00
Yohei Yukawa
93d65d9e98 Merge "Support nav button color transitions" 2022-01-28 17:20:48 +00:00
Aaron Liu
0e105c4185 Merge "Home Controls: Adjust resource configs for UI to be responsive." 2022-01-28 17:19:37 +00:00
Yohei Yukawa
dec2c21955 Support nav button color transitions
With this CL, the back and IME switcher buttons on the navigation bar
have the same color transition even when they are rendered by the IME.

Note that the behavior is still behind a flag

  persist.sys.ime.can_render_gestural_nav_buttons,

which is still off by default.  There should be no observable changes
no matter whether the flag is enabled or disabled though.

Fix: 215549533
Test: Manually tested with ThemedNavBarKeyboard sample
  1. Build aosp_coral-userdebug and flash it
  2. adb root
  3. adb shell setprop \
      persist.sys.ime.can_render_gestural_nav_buttons true
  4. adb reboot
  5. make -j ThemedNavBarKeyboard
  6. adb install -r \
      $OUT/system/app/ThemedNavBarKeyboard/ThemedNavBarKeyboard.apk
  7. adb shell ime enable \
      com.example.android.themednavbarkeyboard/.ThemedNavBarKeyboard
  8. adb shell ime set \
      com.example.android.themednavbarkeyboard/.ThemedNavBarKeyboard
  9. Open the Dialer app
 10. Focus in the top edit field.
 11. Tap "EXTENDED LIGHT NAVIGARION BAR" mode
 12. Make sure that the navigation button color changes from light
     to dark with animation.
 13. Tap "EXTENDED DARK NAVIGARION BAR" mode
 12. Make sure that the navigation button color changes from dark
     to light with animation.
Change-Id: I41a3478a97d67b238c4424d93acbcad646aee0d2
2022-01-28 09:15:24 -08:00
Kriti Dang
a9f0101e33 Merge "Change the way in which user preferred display mode gets applied" 2022-01-28 17:04:01 +00:00
TreeHugger Robot
2bbbc9a2e8 Merge "Exclude WindowState from transition targets" 2022-01-28 16:39:35 +00:00
Dave Mankoff
86d5713de2 Merge "Ensure VpnStatusObserver is injectable for TV" 2022-01-28 16:00:25 +00:00
Felipe Leme
11ef3cc33c Merge "Improves dump() to handle special cases." 2022-01-28 15:57:19 +00:00
TreeHugger Robot
475be0c928 Merge changes Ic0f47a09,I4db2cdbf
* changes:
  Remove block_device_writer from pts suite
  Remove workarounds by data_device_bins
2022-01-28 15:47:26 +00:00
TreeHugger Robot
828654cc0b Merge "Create a new icon cache mechanism for memory improvement" 2022-01-28 15:45:14 +00:00
Lucas Dupin
07cfb556ae Merge "Make all Vibrator calls async" 2022-01-28 15:43:50 +00:00
Yasin Kilicdere
4a883f3a32 Merge "Visual changes made to "profile info" dialog as in go/avatarpicker/" 2022-01-28 15:07:15 +00:00
Jeff DeCew
ed2a0a58a7 Merge "New Pipeline: Group Alert" 2022-01-28 14:58:43 +00:00
Jeff DeCew
7aca652fda Merge "New Pipeline: Prevent group summaries of groups with promoted children from appearing in shade." 2022-01-28 14:56:40 +00:00
John Reck
b87bf3fe5b Merge "Adjust initCheck to compare against OK instead" 2022-01-28 14:38:12 +00:00
Antoan Angelov
7cb84c79f3 Merge "Protect getPersistentDataPackageName with ACCESS_PDB_STATE" 2022-01-28 14:32:07 +00:00
Pablo Gamito
d72672e545 Merge "Add option to override background color for animation through overridePendingTransition" 2022-01-28 14:26:11 +00:00
Michał Brzeziński
e139c016a9 Merge "Fixing duplicate status bars in split shade" 2022-01-28 13:55:01 +00:00
Weng Su
8b3a90c864 Merge "Fix ConnectivityPreferenceControllerTest failures" 2022-01-28 13:35:03 +00:00
Lalit Maganti
d145d12784 Merge "base: add support for routing traces to reporters" am: 3a24d6bffb am: 26a716c74e am: a70c08c6f5 am: 8df5573e81
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1918624

Change-Id: I3831fc11a7c105177256fe4f3e0fad53f03da319
2022-01-28 13:21:32 +00:00
TreeHugger Robot
6c84fb3d29 Merge "Include the new USAGE_CLASS_MEDIA in the UsageClass IntDef." 2022-01-28 13:20:10 +00:00
Lalit Maganti
8df5573e81 Merge "base: add support for routing traces to reporters" am: 3a24d6bffb am: 26a716c74e am: a70c08c6f5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1918624

Change-Id: I99d8f5456585dceda748857f525a2eee8c73a337
2022-01-28 13:07:19 +00:00
TreeHugger Robot
23edc861e6 Merge "Include all apps when getting Recents" 2022-01-28 13:01:47 +00:00
Lalit Maganti
a70c08c6f5 Merge "base: add support for routing traces to reporters" am: 3a24d6bffb am: 26a716c74e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1918624

Change-Id: Ie12e3b039837db7cd218f5d5c797337a26377824
2022-01-28 12:52:07 +00:00
Treehugger Robot
340617773d Merge "Clear counters and delete tag data from NetworkStatsService." am: d2e67f24d0 am: 67105844ab am: 0a150ce24f am: 210605b3a9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1962922

Change-Id: I3441101cd1500f2ea13efe000786e2d4a6e87f3a
2022-01-28 12:46:25 +00:00
Treehugger Robot
210605b3a9 Merge "Clear counters and delete tag data from NetworkStatsService." am: d2e67f24d0 am: 67105844ab am: 0a150ce24f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1962922

Change-Id: I974df59b976b52d54ea1f769a469148796972fb6
2022-01-28 12:45:30 +00:00
Lalit Maganti
26a716c74e Merge "base: add support for routing traces to reporters" am: 3a24d6bffb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1918624

Change-Id: If2c06f5698f1952c02f5b449a6ab9fac9257c9b6
2022-01-28 12:35:46 +00:00
Treehugger Robot
0a150ce24f Merge "Clear counters and delete tag data from NetworkStatsService." am: d2e67f24d0 am: 67105844ab
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1962922

Change-Id: Iaa0ddbb9d6b291cfe7b2ca6396dc2aeaf5617bf1
2022-01-28 12:28:13 +00:00
Robert Horvath
5dfac22224 Merge changes from topics "low-power-standby-api", "lps-wakelock-testapi"
* changes:
  Add API to configure LPS maintenance mode behavior
  Add TestApi to force Low Power Standby to be active
  Add TestApi wakelock flag to have system acquire wakelock
  Allowlist active voice interaction session from Low Power Standby
  Introduce Low Power Standby API and wakelock restrictions
2022-01-28 12:27:05 +00:00
Lalit Maganti
3a24d6bffb Merge "base: add support for routing traces to reporters" 2022-01-28 12:15:57 +00:00
Treehugger Robot
67105844ab Merge "Clear counters and delete tag data from NetworkStatsService." am: d2e67f24d0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1962922

Change-Id: I124edaa4087280a66403bb0b6d8000b34aa73e37
2022-01-28 12:08:05 +00:00
Treehugger Robot
d2e67f24d0 Merge "Clear counters and delete tag data from NetworkStatsService." 2022-01-28 11:51:43 +00:00
Ricky Wai
d8d1b82e44 Merge "Add restricted settings app ops and apply it into Restricted Preference" 2022-01-28 11:23:17 +00:00
Christian Göllner
4885b4bef9 Merge "Split shade motion: improve expansion timing" 2022-01-28 11:09:22 +00:00
Pat Manning
c9327bc2da Merge "Track immersive mode via a new SysUI state." 2022-01-28 10:24:07 +00:00
Kriti Dang
69affba988 Merge "Fixing issue in parsing arguments for setUserDisabledHdrTypes" 2022-01-28 10:07:28 +00:00
Haoyu Zhang
1826221d68 Merge "Move HandwritingInitiatorTest to the stylus folder" 2022-01-28 08:58:31 +00:00
Adam Bookatz
992f8b5b0f Include all apps when getting Recents
The current RecentTasks fetches the recents app (based on
config_recentsComponentName). However, it does so for user 0. In some
cases, the recents app might not be installed in user 0 (even though it
is installed in other users). We need to fetch it even in that case, so
that recents can work on those other users. (Otherwise, the attempting
app will not only not do recents, it'll probably crash.)

Bug: 216636343
Test: manual confirmation on a headless user 0 device where launcher is
uninstalled on user 0

Change-Id: Ib2b536e997d58f8fb34c75e92a1cdd843b4b04fa
2022-01-28 00:46:22 -08:00
Felipe Leme
4381e4f0fa Improves dump() to handle special cases.
When "dumpsys activity" is called with special arguments (like
--list-dumpables), dump() should be handled by Activity itself,
not the subclasses, otherwise the end result would be spammed.

This CL fixes that behavior, but only for apps targeting T (so it
maintains backward compatibility for apps that are explicitly
checking for the special values).

Bug: 149254050

Test: m update-api
Test: manual verification with 'adb dumpsys activity ...'
Test: atest CtsAppTestCases:android.app.cts.ActivityDumpTest
Test: adb shell dumpsys platform_compat|grep DUMP_IGNORES_SPECIAL_ARGS||echo NOT_FOUND

Change-Id: I918c9a6649cb66f9e2b6509a643005fac110d152
2022-01-28 00:06:24 -08:00
Sudheer Shanka
cc59c25bd1 Make broadcast response window duration configurable.
Bug: 206518114
Test: atest tests/tests/app.usage/src/android/app/usage/cts/UsageStatsTest.java
Change-Id: Ifc6792e969304967af7019483fdd1ec242bd2a83
2022-01-28 07:22:30 +00:00
Jing Ji
dc97de5820 Merge "Add proper locks in the AppBatteryTracker" 2022-01-28 07:09:11 +00:00
TreeHugger Robot
b0c937196d Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-01-28 06:43:01 +00:00
Chris Kuiper
a2a7cee3d9 Merge "DisplayManager: Switch RampAnimator to ramp in HLG space." 2022-01-28 06:21:02 +00:00
Ahaan Ugale
00e99e742a Merge changes from topic "aff_bottom_sheet"
* changes:
  Add bottom sheet fill UI for Autofill
  Implement actions on client and service for bottom sheet
  Notify Autofill while activity started
  Adds APIs for Autofill bottom sheet UI
2022-01-28 06:01:03 +00:00
TreeHugger Robot
0891d4b390 Merge "Add all the Smartspace UI templates' corresponding data classes." 2022-01-28 05:43:15 +00:00
Zach Johnson
c63b02afc0 Merge "Add SystemApi getter to bluetooth constant" 2022-01-28 05:30:43 +00:00
Treehugger Robot
25fb9b96d2 Merge "[MS76] Remove NetworkTemplate hidden api dependencies in NPMS" am: 51b03bb79c am: f46434dea0 am: d1c2bb936c am: 10289e31b0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1958893

Change-Id: I7fe6c15ec0a0f13e922364505ce420c8ba3f8542
2022-01-28 05:12:44 +00:00
Treehugger Robot
10289e31b0 Merge "[MS76] Remove NetworkTemplate hidden api dependencies in NPMS" am: 51b03bb79c am: f46434dea0 am: d1c2bb936c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1958893

Change-Id: Ic5ccb7396485e4422f25643d6bb2d6fdad590d27
2022-01-28 04:56:35 +00:00
TreeHugger Robot
444dbf9551 Merge "Add dumpsys to GameManagerService" 2022-01-28 04:55:44 +00:00