Commit Graph

394953 Commits

Author SHA1 Message Date
Charles Chen
24e7a9fdb5 Make some IStatusBar APIs support multi-display(1/N)
In this CL, we add parameter displayId in some IStatusBar APIs and also
group flags into an inner class and make it exist per display.

TODO: 1. We left SystemUi implementation in later CL.
      2. Investigate which part of disable should support multi-display
         after main function completes.
      3. Refactor registerStatusBar as an IStatusBar API.
Note: remove mLightsOutListener in NavigationBarTransitions since no one uses it.

Test: atest SystemUITests
Bug: 117478341

Change-Id: Ie50a72f5d18e1f055ff2be4f1d7ac06da0117051
2018-12-05 12:36:50 +00:00
Jakub Pawlowski
33793f6224 Merge "Java doc fix: @throw -> @throws" 2018-12-05 11:56:46 +00:00
Gustav Sennton
e8f49f349a Merge "Prioritize Smart Actions over Smart Replies." 2018-12-05 11:48:52 +00:00
Gustav Sennton
97a0949361 Merge "Use a fixed size for smart actions icons." 2018-12-05 11:48:43 +00:00
Martijn Coenen
711ef9f4fc Merge "Prevent initializing binder from LoadedApk when we can." 2018-12-05 11:46:24 +00:00
TreeHugger Robot
f7c209bf7e Merge "Fix wallpaper size changed to -1*-1 on first boot." 2018-12-05 11:11:05 +00:00
Marcin Oczeretko
b8cd5c434b Merge "BinderCallsStats - add debug entries to output" 2018-12-05 10:23:24 +00:00
TreeHugger Robot
d2bc0b875e Merge "Camera: Extend recommended stream configurations annotations" 2018-12-05 10:10:27 +00:00
Jakub Pawlowski
b0b3a64a37 Java doc fix: @throw -> @throws
Test: compile javadoc
Change-Id: I243b824d0573470455d297c6d45a14e1b503e8ff
2018-12-05 10:58:28 +01:00
Jack Yu
5daf3f1347 [automerger skipped] Merge "Support multiple DcTracker for IWLAN refactoring" am: d413c3288c am: e27e96e0d5
am: 460feac16d  -s ours

Change-Id: I4656329114e90e4ac16d046cc38d686e295032a4
2018-12-05 01:06:32 -08:00
Jack Yu
460feac16d Merge "Support multiple DcTracker for IWLAN refactoring" am: d413c3288c
am: e27e96e0d5

Change-Id: Ib3ed0326f3e4a72621cb0693fc1b31a59d269e43
2018-12-05 00:56:41 -08:00
Jack Yu
e27e96e0d5 Merge "Support multiple DcTracker for IWLAN refactoring"
am: d413c3288c

Change-Id: I7202bee641a842f0dab6fac033013c69df5e977c
2018-12-05 00:38:00 -08:00
Arthur Hung
3d1ee4c48a Merge "Fix InputConsumer for RecentsAnimationController may access null pointer" 2018-12-05 08:29:32 +00:00
Jack Yu
d413c3288c Merge "Support multiple DcTracker for IWLAN refactoring" 2018-12-05 08:20:22 +00:00
TreeHugger Robot
5ead0d9902 Merge "Restore "view" argument for notification remote view click handler" 2018-12-05 07:12:58 +00:00
TreeHugger Robot
764acc461c Merge "Encoding of <overlayable> and <policy>" 2018-12-05 07:06:21 +00:00
TreeHugger Robot
f4764351fc Merge "Add USB_ALARM_TEMPERATURE in SettingsProvider" 2018-12-05 07:02:14 +00:00
Hyundo Moon
8d2cfac24a Merge "AML: Make MediaSessionManager.createSession() as @SystemApi" 2018-12-05 06:48:30 +00:00
Luke Huang
fb1270ae9f Merge "Use ParcelFileDescriptor instead of FileDescriptor in INetd.aidl" am: d6c2dc5908 am: db15177cf7
am: 59cffee13d

Change-Id: I1dd010a0b4ec54c87b509c1e05185164fde9e4cb
2018-12-04 22:44:36 -08:00
Luke Huang
59cffee13d Merge "Use ParcelFileDescriptor instead of FileDescriptor in INetd.aidl" am: d6c2dc5908
am: db15177cf7

Change-Id: I8b89e88d1db96581ab91d649e5af621c499669ed
2018-12-04 22:35:32 -08:00
Jackal Guo
100a6f0417 Merge "Get long press timeout directly" 2018-12-05 06:33:13 +00:00
Luke Huang
db15177cf7 Merge "Use ParcelFileDescriptor instead of FileDescriptor in INetd.aidl"
am: d6c2dc5908

Change-Id: I87360c19d58de38772f95ba8123a559007c6e71d
2018-12-04 22:21:26 -08:00
Hyunyoung Song
9fed6daf9c Merge "Make AdaptiveIconDrawable to read in config_icon_mask at non boot time" 2018-12-05 06:02:31 +00:00
Luke Huang
d6c2dc5908 Merge "Use ParcelFileDescriptor instead of FileDescriptor in INetd.aidl" 2018-12-05 05:55:49 +00:00
Jeff Sharkey
9246fc7616 Merge "Stop indexing location metadata." 2018-12-05 05:46:18 +00:00
Jeff Sharkey
d6c39c026e Merge "Add OWNERS for upcoming MediaStore work." 2018-12-05 05:45:32 +00:00
Jeff Sharkey
be50bf2916 Add OWNERS for upcoming MediaStore work.
Also match contents of external branch and alphabetize.

Bug: 113356944
Test: manual
Change-Id: I136b6e87d19fdcbb7cf8fa21de780e619e7c93b7
Exempt-From-Owner-Approval: updating to match AOSP
2018-12-04 22:43:32 -07:00
Brad Stenning
e315772987 Merge "Move car related code from SystemUI to CarSystemUI" 2018-12-05 04:48:18 +00:00
TreeHugger Robot
513d0bd001 Merge "Let shared user checking to be backward-compatible" 2018-12-05 04:32:03 +00:00
Wale Ogunwale
df43bc0bf6 Merge "Clear out all message on WM handler on WindowManagerServiceRule tearDown" 2018-12-05 04:24:50 +00:00
TreeHugger Robot
eb126b6e12 Merge "Use pooledLambda in RuntimePermissionPresenterService" 2018-12-05 04:18:22 +00:00
Sunny Goyal
cf8be14d5e Merge "Adding API to specify a dark text specific layout in app-widgets" 2018-12-05 04:12:20 +00:00
Pengquan Meng
3ac37ebca6 Merge "Add FrequencyRange comparator to ServiceState" 2018-12-05 04:10:03 +00:00
TreeHugger Robot
7a7f407526 Merge "Prevent 3 button layout from dragging buttons" 2018-12-05 04:04:55 +00:00
TreeHugger Robot
30aa4d3cd6 Merge "Flips default for new interruption model setting to on." 2018-12-05 03:16:40 +00:00
Hyundo Moon
873d88d2c0 Merge "AML: Unhide KeyEvent.isMediaSessionKey()" 2018-12-05 03:00:13 +00:00
TreeHugger Robot
898ab4194c Merge "Fixed an issue when launching notification groups" 2018-12-05 02:46:22 +00:00
TreeHugger Robot
163e42ca59 Merge "Prefer using 3 buffers in vulkan swapchain." 2018-12-05 02:44:32 +00:00
Edgar Wang
495b657b97 Add USB_ALARM_TEMPERATURE in SettingsProvider
In terms of the feature of USB overheat warning, SettingsProvider needs the implementation for the integration.

Bug: 118794842
Test: Build, flash and boot, verify
Change-Id: I41aacd5a7ed7ab1ce0212e7d2520e3c51d7d3bc1
2018-12-05 02:09:08 +00:00
wilsonshih
d9173df676 Fix wallpaper size changed to -1*-1 on first boot.
In previous version we have ensured the DisplaySize won’t be invalided
when getting it from getDisplayDataOrCreate, The problem occurs when
there is no wallpaper (such as first boot or xml error), it will reset
the size to -1 then tries to restore an image wallpaper. Then it will
go wrong because the bitmap size is set to -1.

Change-Id: I71faa85cbbb5dcbb13414a15b1c9e3ad2a37887b
Fix: 120114212
Test: Manually test back/restore wallpaper.
Test: atest WallpaperManagerTest
Test: atest WmTests
2018-12-05 10:08:20 +08:00
TreeHugger Robot
fb27c2c702 Merge "Do not make sound for notifications <= IMPORTANCE_DEFAULT in Android Auto." 2018-12-05 01:59:44 +00:00
Chen Xu
ed11f757b8 Merge "support per carrier based iso country code." 2018-12-05 01:51:17 +00:00
TreeHugger Robot
a06d12e6bd Merge "Fix prox and wake sensor conflict" 2018-12-05 01:41:24 +00:00
TreeHugger Robot
b5857c748f Merge "Initial implementation of Intelligence Service Shell commands." 2018-12-05 01:36:10 +00:00
Jackal Guo
b03bf399ee Merge "Make A11Y_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED as SystemApi" 2018-12-05 01:07:58 +00:00
Nazanin Bakhshi
9f6fb2a365 Merge "add nazaninb to OWNERS files" am: 0b7515e525 am: 9e81c9972c
am: d8993b5495

Change-Id: I2cf0ca20b70db7a692d18598a24d8fd4b20e9bb5
2018-12-04 16:50:18 -08:00
Ryan Mitchell
75e20dda2b Encoding of <overlayable> and <policy>
This change defines two new chunks for encoding overlayable information.
RES_TABLE_OVERLAYABLE_POLICY_TYPE contains flags that represent
restrictions enforced on overlays that try to overlay a specific set of
resource ids. The chunk header is followed by ResTable_ref for each id
that belongs to the policy type. A policy chunk will be created for
every unique combination of policies that are defined in overlayable
declarations.

RES_TABLE_OVERLAYABLE_TYPE holds policy blocks. Since <overlayable>
does not currently have any attributes, only one overlayable block is
encoded in an APK.

This change also removes the SPEC_OVERLAYABLE flag because the runtime
does not use the flag, and the overlayable chunk encoding renders it
obsolete.

Bug: 110869880
Bug: 117545186
Test: libandroidfw_tests and aapt2_tests
Change-Id: I45ae9bf4176699f14c85e2b7a2e8560185d8a0b8
2018-12-04 16:45:26 -08:00
TreeHugger Robot
d3dc5418a0 Merge "Remove bad type param link" 2018-12-05 00:43:38 +00:00
Eugene Susla
4aa2db1d55 Merge "Intersect requestedPermissions with that of current update's one" 2018-12-05 00:39:22 +00:00
Selim Cinek
c42db8df8b Fixed an issue when launching notification groups
The clipping on the bottom wasn't calculated accurately

Change-Id: Iaf4aab575418ce8477503ae3079f9913f8b669f6
Fixes: 110093221
Test: launch group, observe normal animation
2018-12-04 16:38:42 -08:00