Commit Graph

477543 Commits

Author SHA1 Message Date
Fabian Kozynski
574a1e40be Start ControlsControllerImpl on the correct user
The persistence wrappers are started using the correct file
corresponding to the current user, in case that the controler is created
now in OWNER.

Test: manual, restart sysui on secondary user
Bug: 156758594
Change-Id: I6734817a0368aedf9001009fcf4d124e9239b0c2
2020-05-19 15:24:18 -04:00
Lucas Dupin
f7b6901230 Merge "Move ripple initialization to view holder" into rvc-dev 2020-05-18 16:13:22 +00:00
TreeHugger Robot
31db4f456b Merge "Controls UI - Loading animations" into rvc-dev 2020-05-18 15:33:26 +00:00
Diego Vela
b90e71d431 Merge "Revert "Revert "Fix resize info activity not showing in some cases""" into rvc-dev 2020-05-18 15:13:09 +00:00
TreeHugger Robot
50c329fcf9 Merge "Revert "Switch framework-permissions to use java_sdk_library"" into rvc-dev 2020-05-18 15:10:23 +00:00
Beth Thibodeau
f649827923 Merge "Fix notification ids for share/delete actions" into rvc-dev 2020-05-18 15:05:40 +00:00
TreeHugger Robot
d96e01d282 Merge "In new direct share ranking, expand DS row as long as there are enough targets parking in memory, even if targets are still loading on UI." into rvc-dev 2020-05-18 14:56:34 +00:00
TreeHugger Robot
1bf40c2178 Merge "CEC: Restore calling identify in any case" into rvc-dev 2020-05-18 14:43:41 +00:00
TreeHugger Robot
3872a583fc Merge "Use zero relative position for activity animation" into rvc-dev 2020-05-18 14:23:08 +00:00
Matt Pietal
dc6bb1d38a Controls UI - Loading animations
Do not allow behaviors to update the status string
directly. Potentially queue up text updates and change it during an
animation.

Bug: 154625942
Test: visual

Change-Id: I916ca083e0b44e01879ba659ac82a3189017631b
2020-05-18 10:04:59 -04:00
Paul Duffin
7e00564a4f Revert "Switch framework-permissions to use java_sdk_library"
This reverts commit 98bd9ace19.

Reason for revert: Breaks coverage build b/156892973
Bug: 156892973

Change-Id: Id00545e1b2179848d4324d7eacf18e3c3cc476ee
2020-05-18 13:56:43 +00:00
TreeHugger Robot
906f800009 Merge "Log clicks on notification actions" into rvc-dev 2020-05-18 13:30:44 +00:00
Matt Casey
c61e30bcf4 Merge "Hide screenshot UI in setup wizard." into rvc-dev 2020-05-18 13:14:33 +00:00
TreeHugger Robot
dfc677f707 Merge "a11y for controls rearranging" into rvc-dev 2020-05-18 13:13:54 +00:00
Song Hu
b548df99a7 In new direct share ranking, expand DS row as long as there are enough
targets parking in memory, even if targets are still loading on UI.

Backfill targets of top 8 apps into DS row instead of top 4, if the row
is not full.

Bug: 156470651
Test: atest CtsSharesheetTestCases:android.sharesheet.cts.CtsSharesheetDeviceTest
Test: atest com.android.internal.app.ChooserActivityTest
Change-Id: Idefd6c225fca723d6d266b78ef41a4201483c634
2020-05-18 06:13:34 -07:00
TreeHugger Robot
28e8a2c0ca Merge "Adjust float-to-int brightness conversion to be purely in float." into rvc-dev 2020-05-18 12:47:31 +00:00
Pavel Grafov
dbae26e47c Merge "Use exact date and time instead of "tomorrow" in notification" into rvc-dev 2020-05-18 11:20:33 +00:00
Neil Fuller
a5cc646a19 Merge "Revert "Persists bubbles to disk (part 4)"" into rvc-dev 2020-05-18 10:55:35 +00:00
TreeHugger Robot
669b6a5987 Merge "Update documentation for ACTION_CLEAR_APP_CACHE" into rvc-dev 2020-05-18 10:27:53 +00:00
shafik
75bb8caa55 Update documentation for ACTION_CLEAR_APP_CACHE
The actual cache clearing is not async anymore, so we can report the
status to the calling app. Here, we just change the documentation to
make the caller aware of the 3rd possible activity result: EIO.

This value is returned if an error happens while MediaProvider is
clearing the cache. In this case, we don't know how much of the cache
was deleted, if at all.

Test: build
Bug: 155290762
Change-Id: I3a04a9b5b6b07c6ec61e97a4cb0d3bc8b10b0370
2020-05-18 10:26:37 +00:00
TreeHugger Robot
f6fa2536aa Merge "Precache calls to PermissionManager to avoid calls which use shared PackageManager and PermissionManager lock." into rvc-dev 2020-05-18 10:26:25 +00:00
TreeHugger Robot
aca712335e Merge "Switch framework-permissions to use java_sdk_library" into rvc-dev 2020-05-18 09:44:30 +00:00
TreeHugger Robot
bce5e9724f Merge "Add missing metalava options to framework-module-defaults" into rvc-dev 2020-05-18 09:44:25 +00:00
Marvin Ramin
d8de04fa2f CEC: Restore calling identify in any case
Bug: 156668368
Test: atest HdmiControlServiceTest
Change-Id: Id19cd4350f3ef6cf973a68fc10552c49ae42d0fc
2020-05-18 11:24:27 +02:00
TreeHugger Robot
dca99f9618 Merge "Set explicit target when constructing PendingIntent" into rvc-dev 2020-05-18 08:57:52 +00:00
TreeHugger Robot
0d2eacc86e Merge "MediaSessionService: Leave log for any session creation failure" into rvc-dev 2020-05-18 08:56:11 +00:00
Jaewan Kim
2b22f9e255 MediaSessionService: Leave log for any session creation failure
This would help to debug why MediaSessionService fails to create a new session
without leaving log from the app side.

Bug: 155993197
Test: Build
Change-Id: I8427467d5866a5611d539ec08425be6e948b5540
2020-05-18 16:35:09 +09:00
tim peng
2d39120f36 Merge "Add new API to get current package name" into rvc-dev 2020-05-18 05:22:50 +00:00
Lucas Dupin
d621692934 Move ripple initialization to view holder
Test: manual
Bug: 155796337
Change-Id: Ib6680c51500d6fb7e562a985d248059bb195c6bc
2020-05-17 21:59:06 -07:00
Kyunglyul Hyun
a4403c2d4a Merge "Ignore Bluetooth devices doesn't have A2DP, HAP" into rvc-dev 2020-05-18 04:33:07 +00:00
Wei Sheng Shih
e7f5bd073e Merge "Revert^2 Fix missing animation when launch activity from notification" into rvc-dev 2020-05-18 03:55:05 +00:00
TreeHugger Robot
6c66c29f89 Merge "Disable ClockOptionsProvider" into rvc-dev 2020-05-18 03:33:40 +00:00
TreeHugger Robot
156bf9d3c2 Merge "Invoke the occluding callback only if the activity is occluded" into rvc-dev 2020-05-18 03:24:35 +00:00
Stanislav Zholnin
e08a2bbc1e Precache calls to PermissionManager to avoid calls which use shared PackageManager and
PermissionManager lock.

Test: stastsd_testdrive 10075 and observe that is_runtime_permission filled correctly.
Bug: 143519689
Change-Id: I6a23a673092fd072a5aef8edadde7816d937e997
2020-05-18 03:41:35 +01:00
Wei Sheng Shih
7731d2fcdf Merge "Allow wallpaper to be visible if wallpaper target exists." into rvc-dev 2020-05-18 02:28:35 +00:00
Arc Wang
97ea72690f Merge "Deprecate WifiTracker/AccessPoint" into rvc-dev 2020-05-18 02:08:29 +00:00
Philip P. Moltmann
f1e9d52fd8 Merge "Always call back when printer changes" into rvc-dev 2020-05-17 23:09:39 +00:00
Philip P. Moltmann
5020f797e6 Always call back when printer changes
Otherwise it can happen that we swallow previous printer updates and
never end up getting a valid on-printers-updated call.

Fixes: 156222510
Test: atest PrinterDiscoverySessionLifecycleTest
Change-Id: Idab7399a6ab41ba9051cfcbbeebf4c45d6bfc053
2020-05-17 14:40:45 -07:00
Steven Thomas
3d6a1cfb1b Merge "Add default frame rate setting" into rvc-dev 2020-05-17 20:24:45 +00:00
TreeHugger Robot
42de294ab3 Merge "Reset initalization state of notif entries" into rvc-dev 2020-05-17 16:39:04 +00:00
Paul Duffin
98bd9ace19 Switch framework-permissions to use java_sdk_library
The names of the individual modules do not quite follow the pattern
that java_sdk_library uses so this temporarily sets the following:
    naming_scheme: "frameworks-modules"

That causes java_sdk_library to use a naming scheme that matches the
one used by the individual modules of this. It will be cleaned up
later.

Test: m update-api
Bug: 155164730
Change-Id: I56b4db67e919673f353dd2238b63c5bd3e749b05
2020-05-17 16:28:43 +01:00
TreeHugger Robot
b937587289 Merge "Don't readd pending notifs to NEM's allNotifs list" into rvc-dev 2020-05-17 14:00:34 +00:00
Paul Duffin
56195fba42 Add missing metalava options to framework-module-defaults
Bug: 155164730
Test: m droid
Change-Id: I7a852149e3e12c3cb9083b2d0ca483cc55f6348f
2020-05-17 14:02:03 +01:00
Beverly
95fdfad44b Reset initalization state of notif entries
When the notifications views are filtered out, reset their initialization
time, so now we can rely on the initialization time to determine whether
the notification was recently shown in the shade.

Fixes: 153885122
Test: atest NotificationRankingManagerTest
Test: manual
  1. post grouped notifications
  2. swipe down notification shade to view notifications
  3. toggle on/off DND and see notifications are not ungrouped when
they're unfiltered

Change-Id: Ib9b45cd13ead51d7df2484e91d159cd268799e9a
2020-05-17 08:42:46 -04:00
Steven Thomas
d3f82689bf Add default frame rate setting
Add a new priority PRIORITY_DEVICE_PEAK_REFRESH_RATE, and a new config
setting config_defaultRefreshRate which maps to that priority. This
allows an OEM to easily specify a default frame rate different from the
peak frame rate.

Bug: 148978450
Bug: 154648391

Test: - Added new unit tests to verify DisplayModeDirector handles min,
        peak, and default refresh rate settings correctly.

- Modified a Pixel 4 to set config_defaultRefreshRate to 60Hz, confirmed
  we default to 60, but that an app calling setFrameRate(90) switches us
  to 90.

- Confirmed that the "smooth display" and "force 90Hz" options on Pixel
  4 work correctly.

Change-Id: I00c82eea39a914b5b38506dd3143feb936749254
2020-05-16 21:23:42 -07:00
Matt Casey
0dc542c866 Hide screenshot UI in setup wizard.
Full screenshot UI would expose edit/share actions that are not
appropriate for SUW. ThiS CL removes all the UI in this situation and
just does a haptic with a toast indicating that the screenshot has been
taken.

Bug: 151797808
Test: - Verify behavior unchanged w/ normal screenshots.
      - Verify that tooltip UI is used during setup wizard.
      - Verify that screenshots taken during SUW are saved.
Change-Id: Id9791265088e34f067cea68fd1eaba597e3c97b0
2020-05-16 09:12:15 -04:00
TreeHugger Robot
effc2bdd8c [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: e7f3897b6a -s ours
am skip reason: subject contains skip directive

Change-Id: I3725431ffd90b36c6ac0f570e8ebfb6c9e1e3feb
2020-05-16 05:23:16 +00:00
TreeHugger Robot
e7f3897b6a Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2020-05-16 04:59:37 +00:00
TreeHugger Robot
ff6b9350ff [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 0735b26fdd -s ours
am skip reason: subject contains skip directive

Change-Id: I9aa086712eed816ab82f94dc2c149c76b137cc35
2020-05-16 04:51:22 +00:00
TreeHugger Robot
5b04790e16 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 0f05db89c3 -s ours
am skip reason: subject contains skip directive

Change-Id: I5b44d913a8809933c10a237aebb4ddaf132635b6
2020-05-16 04:50:50 +00:00