Commit Graph

13133 Commits

Author SHA1 Message Date
Selim Cinek
5568ff4a4c Merge "Improved the transitions and layout of the app name in conversations" into rvc-dev 2020-03-21 01:04:00 +00:00
TreeHugger Robot
eb0d8bff9b Merge "Add application name to expanded conversation view" into rvc-dev 2020-03-21 00:53:04 +00:00
TreeHugger Robot
fd8d9650ac Merge "Add importance ring around conversation badge" into rvc-dev 2020-03-21 00:46:13 +00:00
TreeHugger Robot
4bd7796e1d Merge "Made image messages display externally in the layout" into rvc-dev 2020-03-20 22:20:28 +00:00
Selim Cinek
cef53f36de Improved the transitions and layout of the app name in conversations
The transition was using getTop instead of absolute positions which
didn't work well for the conversation layout.
Also, we were fading in views that were GONE and making them VISIBLE
which lead to bugs during the transitions.
Additionally, the header text would become visible when a notification
was removed from a group and reset.

Bug: 150905003
Test: visual, add conversations in groups and non-groups
Change-Id: I3c31006a1fc79f7d58cc1dd3d5af44129c9f02bb
2020-03-20 18:03:34 -04:00
Steve Elliott
52440e988c Add application name to expanded conversation view
Bug: 150905003
Test: manual
Change-Id: Ibb16717028498c508beda423a76375499a6f6ad9
2020-03-20 18:03:34 -04:00
Steve Elliott
928bb16c9f Add importance ring around conversation badge
Bug: 150905003
Test: manual
Change-Id: I967122fcf6404491fb514bc42e5f9e64490b8024
2020-03-20 18:03:32 -04:00
Selim Cinek
514b52c091 Made image messages display externally in the layout
Previously image messages were embedded in the
messaging list instead of at the root.
Also rendering the images slightly differently such that
they don't always use the aspect ratio but can scale

Bug: 150905003
Test: add messaging layout with image, observe nice display
Change-Id: Iba25a1f81d77b58bfccbe2f9b8dfc502fdf8bdd4
2020-03-20 15:59:06 -04:00
TreeHugger Robot
dd7b1691ab Merge "Put accessibility labels for tabs." into rvc-dev 2020-03-20 15:56:05 +00:00
arangelov
791509de7f Put accessibility labels for tabs.
Fixes: 151694643
Test: manual
Change-Id: I3fba76302bc3f99a96bc692fe78b35d141fa6b5c
2020-03-20 13:01:53 +00:00
Anmol Gupta
ea8748a29b Merge "Include more details in SoftInputShowHideHistory" into rvc-dev 2020-03-19 21:37:45 +00:00
Hall Liu
2227afaacb Merge "Rename NotificationChannel#setBlockableSystem" into rvc-dev 2020-03-19 21:06:53 +00:00
TreeHugger Robot
f4d1abb386 Merge "Improve strings for share sheet and intent resolvers." into rvc-dev 2020-03-19 17:39:58 +00:00
arangelov
afec9d0356 Improve strings for share sheet and intent resolvers.
Fixes: 151694643
Fixes: 150942431
Test: manual
Change-Id: Ie419e791aa1d2d2cbd32b3f091833b54b90c81eb
2020-03-19 15:46:09 +00:00
Steve Elliott
a7aededa7d Merge "Populate conversation notifs from shortcut info" into rvc-dev 2020-03-19 15:18:33 +00:00
Anna Trostanetski
5165c12a4a Merge "Introduce listUIChanges API for developer UI" into rvc-dev 2020-03-19 14:52:18 +00:00
TreeHugger Robot
0e56c85768 Merge "Renamed DisplayInfo to TelephonyDisplayInfo" into rvc-dev 2020-03-19 14:29:24 +00:00
TreeHugger Robot
bfdf19c46d Merge "Call setAdapter from handleLayoutChanged." into rvc-dev 2020-03-19 12:59:42 +00:00
arangelov
2731fa71fe Call setAdapter from handleLayoutChanged.
Test: manual
Fixes: 150918223
Fixes: 150922090
Fixes: 151329221
Fixes: 151077241
Change-Id: I723634840cfdc40eb307f2ce4e170178692f12f3
2020-03-19 12:10:13 +00:00
atrost
be8e9b2fc7 Introduce listUIChanges API for developer UI
Filter out changes that are: logging only, older then enabled after P,
newer then enabled after Q.
Added missing @Test that broke builds.

Test: atest com.android.server.compat.PlatformCompatTest
Bug: 151299145
Change-Id: Ic4c12ceec3f4018a1f206b8498e8216466ecf960
2020-03-19 12:06:52 +00:00
Anmol Gupta
29f209d6a3 Include more details in SoftInputShowHideHistory
Modify SoftInputShowHideHistory class to include additional information. New data in entry object:
  - Current focused window
  - show/hide soft input request window
  - Editor info
  - Full screen mode or not

Fixes: 141738570
Test: manual by calling "adb shell dumpsys input_method"
Change-Id: I793f2e3ca478496616a83b8090440986b2ccfb19
2020-03-18 20:50:52 -07:00
TreeHugger Robot
3e95fbba28 Merge "Add back ImsUceManager status definitions" into rvc-dev 2020-03-18 23:33:27 +00:00
Jack Yu
ac3ca33567 Renamed DisplayInfo to TelephonyDisplayInfo
To reduce ambiguity with android.view.DisplayInfo.

Test: Telephony sanity tests + unit tests
Bug: 151101989
Change-Id: Ic507b6bf082ca5510ff6d1dcde501f5be9ef074f
2020-03-18 15:11:31 -07:00
Anthony Stange
8aee27ad7a Merge "Revert "Introduce listUIChanges API for developer UI"" into rvc-dev 2020-03-18 21:52:28 +00:00
Anthony Stange
9c862eab69 Revert "Introduce listUIChanges API for developer UI"
Revert "Show only listUIChanges instead of all"

Revert submission 10721220-hide

Reason for revert: Caused build breakage - b/151857606
Reverted Changes:
I7c725a1ec:Show only listUIChanges instead of all
Iec8755171:Introduce listUIChanges API for developer UI

Change-Id: I53ea91ee96bb6cb45e31e5fce58826cc59e58df6
2020-03-18 21:33:10 +00:00
Anna Trostanetski
6b408f801a Merge "Introduce listUIChanges API for developer UI" into rvc-dev 2020-03-18 18:15:51 +00:00
Steve Elliott
46bb2a10a2 Populate conversation notifs from shortcut info
Fixes: 151330577
Test: manual
Change-Id: Ib7b7037155fc1891935fcbe89ced9f1639378ba0
2020-03-18 13:23:51 -04:00
Misha Wagner
c9925a661c Merge "Fix directory iteration when path disappears." into rvc-dev 2020-03-18 16:21:14 +00:00
Misha Wagner
23d004ca7b Fix directory iteration when path disappears.
When iterating across `proc` directories, occasionally a directory would
disappear due to a process finishing. This often throws `IOException`
when accessing the directory, but can throw `DirectoryIteratorException`
if this happens during iteration:

  java.nio.file.DirectoryIteratorException: java.nio.file.NoSuchFileException: /proc/8708/task

This change catches `DirectoryIteratorException`.

Test: Build only (bug is difficult to reproduce).
Bug: 150888564

Change-Id: I7484d28231d0040b25dafc59b12b64a9342098a4
(cherry picked from commit 52474456b7)
2020-03-18 14:25:42 +00:00
Misha Wagner
1f9fef655f Fix NullPointerException in KernelCpuThreadReaders.
If KernelCpuThreadReader init failed, then the null instance was passed
to KernelCpuThreadReaderDiff, which then failed when invoked.

Test: Build only (bug is difficult to reproduce).
Bug: 150988957

Change-Id: Id46d466b931d816dda85c4f068a4bec53c6f3032
(cherry picked from commit 478c873fe4)
2020-03-18 14:24:17 +00:00
atrost
373b2a21c8 Introduce listUIChanges API for developer UI
Filter out changes that are: logging only, older then enabled after P,
newer then enabled after Q.

Test: atest com.android.server.compat.PlatformCompatTest
Bug: 151299145
Change-Id: Iec87551716ee47c4d1ad4fd8c72b33f1d86d0950
2020-03-18 14:03:49 +00:00
Antoan Angelov
fbf401e3d3 Merge "Open app details for the correct user depending on the profile." into rvc-dev 2020-03-17 17:33:35 +00:00
Antoan Angelov
76562e161f Merge "Make tabs respect the device default style." into rvc-dev 2020-03-17 17:32:21 +00:00
arangelov
4b8ad343ce Make tabs respect the device default style.
Also make "Turn on" work profile button and spinner
use the system accent color.

Test: none
Fixes: 149737133
Fixes: 151686022
Change-Id: I218de254ef87d5fc62d230d39fbe7a7e8b544766
2020-03-17 15:35:42 +00:00
arangelov
ebf3c0577f Open app details for the correct user depending on the profile.
Fixes: 149732838
Test: manual
Change-Id: I477a3af794f98aa91ad6c3164338339be0858cb3
2020-03-17 13:48:24 +00:00
Eric Sandness
e89d0e1ba5 Don't Show Work Profile Toast During Setup
Before device setup is complete, we shouldn't ever show the "using this
app outside your work profile" toast.  This toast is confusing in the
context of Setup Wizard.

Fixes: 150451876
Test: atest com.android.internal.app.IntentForwarderActivityTest
Test: Manually verified no toast during setup
Test: Manually verified toast appears after setup
Change-Id: I661cc18c625609726388f3705c7b893517e23323
2020-03-17 09:26:42 +00:00
TreeHugger Robot
18dd476b0c Merge "Attempt to fix race condition in PooledLambdaImpl." into rvc-dev 2020-03-16 22:58:11 +00:00
Selim Cinek
8a6c2bf38d Merge "Fixed various paddings of the messaging layout" into rvc-dev 2020-03-16 19:46:09 +00:00
Selim Cinek
62ee4e97ad Merge "Made the old MessagingLayout work again" into rvc-dev 2020-03-16 19:44:06 +00:00
Ricky Wai
bac0268f63 Merge "Pass bind mount storage data decision from java to zygote" into rvc-dev 2020-03-16 15:39:52 +00:00
TreeHugger Robot
76d201490e Merge "Start quiet mode from a background thread." into rvc-dev 2020-03-16 11:11:31 +00:00
Mehdi Alizadeh
f2b28e9b0b Applies left and right edge scale to side swipe width
Also adds listeners to update the values on settings change

Bug: 146004827
Test: atest DisplayPolicyInsetsTests DisplayPolicyLayoutTests AlwaysOnDisplayPolicyTest

Change-Id: Ia3344f3bef8f3439fc2c60d9f4e83dc0163f83dd
2020-03-15 13:47:19 -07:00
Selim Cinek
afc2058776 Fixed various paddings of the messaging layout
Previously the expand button could run into the header
And the content had no padding at the end.
Also, the content was incorrectly padded when collapsed.

Bug: 150905003
Test: add messagingLayout, observe UI
Change-Id: I3178b21dc8831f986a8249ee1e22aebffff75ef1
2020-03-13 20:15:38 -07:00
Song Hu
e9851d5fad Merge "Prototype for Sharesheet direct share row append mechanism" into rvc-dev 2020-03-14 01:09:13 +00:00
Selim Cinek
a91778a3e3 Made the old MessagingLayout work again
Fixed the layout of groups for the old MessagingLayout

Bug: 150905003
Change-Id: I007067d7b0524b7819f3a5e753f8664129d4cd93
2020-03-13 17:30:34 -07:00
Evgenii Stepanov
eeff2cf753 Enable gwp-asan in system_server.
Enables gwp-asan in system_server with a small probability, same as any
native process or system app.

Bug: 149991821
Test: kill system_server in a loop - find "GWP" in /proc/$PID/maps
      eventually
Change-Id: I3900f5d277d28987883a918d62fe9390c780ac30
(cherry picked from commit 2bb1dba5c7)
2020-03-14 00:10:02 +00:00
Kevin Chyn
6b7b2300c4 Merge "Pass operationId to LSS, add HAT to KeyStore" into rvc-dev 2020-03-13 23:53:16 +00:00
Brett Chabot
4d93b189a9 Attempt to fix race condition in PooledLambdaImpl.
invoke can read flags after object has been returned to
pool/recycled.

Skip reading isRecycled in that case.

Bug: 151407445
Test: See repro instructions in bug
Change-Id: I0ae42c4fcd121d42dfaedb26d186ac7d51508f6c
2020-03-13 15:46:12 -07:00
Eugene Susla
ff17a587a8 Merge "Introduce per-app manifest flags for autoRevoke" into rvc-dev 2020-03-13 22:40:36 +00:00
Selim Cinek
5f003f4e10 Merge changes I69b33b0c,If904c85e,I28444df4,I3bfa4580,I88d9667d, ... into rvc-dev
* changes:
  Decrease avatar and sender name sizes in MessagingStyle
  Fixed various conversation layout appearences
  Implemented FacePile if no group icon is present
  Fixed the behavior of headers in conversation groups
  Ensured correct coloring of badge in dark mode
  Fixed an issue where the bubble badge was visible independent of the icon
  Improved transitions for expanding messaging notifications
  Adjusted single line representation to include a colon
  Made the expand button positioning conditional on expanded state
  Ensured that the sender of the first message is hidden
  Baseline for the new ConversationLayout
2020-03-13 21:01:24 +00:00