Commit Graph

9714 Commits

Author SHA1 Message Date
Kenny Guy
421338f853 Merge "Fix colorized messaging layout and smart replies." into pi-dev am: a1aafd7718
am: dd2ea24a43

Change-Id: Iefeec29c87fd5b2821c652c0eeef561c94a4bd38
2018-05-10 04:57:52 -07:00
Kenny Guy
14d035c969 Fix colorized messaging layout and smart replies.
Modify messaging style and smart replies view to
cope with colorized backgrounds.

Bug: 78928664
Bug: 77927019
Test: atest SystemUITests (with patch from ag/3992401)
Test: visual - see bug for screenshots

Change-Id: Iee66931574fb48d0340986bf520532f798ef59fc
2018-05-10 10:25:14 +01:00
Dianne Hackborn
19e99b432b Merge "Further flesh out app ops foreground state." into pi-dev am: 7105e2ca9a
am: 74dc457242

Change-Id: I54ec9070d60b234f22c6940f78ab001ffdd15b28
2018-05-09 23:11:48 -07:00
Calin Juravle
9845141701 Merge "Make system server profiling an explicit runtime intent" into pi-dev 2018-05-10 06:03:08 +00:00
Dianne Hackborn
74dc457242 Merge "Further flesh out app ops foreground state." into pi-dev
am: 7105e2ca9a

Change-Id: I3a8056b6685ad7687ff5d54748c242eb9c906343
2018-05-09 22:59:34 -07:00
Dianne Hackborn
7105e2ca9a Merge "Further flesh out app ops foreground state." into pi-dev 2018-05-10 05:49:08 +00:00
Jaewan Kim
8c65f9b68a Merge "MediaSessionService: Provide caller information for media key events" into pi-dev am: 183a63474f
am: 399a7e999c

Change-Id: I7282bf70bfb59ed9d9d81f5780bd49090bb252c6
2018-05-09 22:13:52 -07:00
Jaewan Kim
399a7e999c Merge "MediaSessionService: Provide caller information for media key events" into pi-dev
am: 183a63474f

Change-Id: I6ad5053137c2ae7d123940c7f5239060d70ce68f
2018-05-09 22:02:41 -07:00
Jaewan Kim
183a63474f Merge "MediaSessionService: Provide caller information for media key events" into pi-dev 2018-05-10 04:48:35 +00:00
Dianne Hackborn
65a4f251c7 Further flesh out app ops foreground state.
Fix some bugs, add the ability to monitor state changes, improve
dumpsys output to help debugging, add a new check API that allows
the caller to get the real state.

Bug: 78480444
Test: atest FrameworksServicesTests:AppOpsServiceTest
Test: atest CtsPermissionTestCases:AppOpsTest
Change-Id: I3d41be9968c1d95a1456f4052da958ea64aa068d
2018-05-09 18:02:35 -07:00
Calin Juravle
8172cb6abc Merge "Make system server profiling an explicit runtime intent" am: 232011c7d9 am: a50afa5ebf
am: 9821335e98

Change-Id: Id51584aca3c16e1d8e90fbac16bd851b4e4f7879
2018-05-09 16:44:05 -07:00
Calin Juravle
9821335e98 Merge "Make system server profiling an explicit runtime intent" am: 232011c7d9
am: a50afa5ebf

Change-Id: I163a9815f5001bbd5963dd0575b9fd2125169b38
2018-05-09 16:34:54 -07:00
Calin Juravle
a50afa5ebf Merge "Make system server profiling an explicit runtime intent"
am: 232011c7d9

Change-Id: I07e6b4f0e75ff96bda3d5ce5acf6b9ea1f999325
2018-05-09 16:25:53 -07:00
Calin Juravle
5627db8996 Make system server profiling an explicit runtime intent
Pass an explicit flag to the runtime when we need to profile the system
server. This ensures that we only start the ProfileSaver and allocate the
code cache when needed.

Test: manual, on a device with system server profiling enabled
Bug: 74081010

(cherry picked from commit 8eb891be6f)

Merged-In: I756682a9644796afb53f0c010d2bd2764ea5a828
Change-Id: I756682a9644796afb53f0c010d2bd2764ea5a828
2018-05-09 14:37:56 -07:00
Matthew Ng
68dc2af927 Update the snap targets in minimized mode to reflect the correct targets am: 6317df6e1e
am: 4ef6ed96bd

Change-Id: I946bbf8c833a807a24f72ba5c7206a9e343d43bf
2018-05-09 12:08:34 -07:00
Matthew Ng
6317df6e1e Update the snap targets in minimized mode to reflect the correct targets
In minimized mode there is only 1 split snap target compared to regular
portrait that has 30%, 50%, 70% targets. Update the accessibility options
for minimized mode to reflect the correct targets. Also removed the
middle target if there is only 1 split snap target.

Test: using talkback, see custom options on divider handle in minimized
mode
Fixes: 78304300

Change-Id: I8421499616cf0fe503c1f6a081a2151098640a9c
2018-05-09 17:48:33 +00:00
android-build-team Robot
2ec88c4050 Merge "Allow to influence how loadSafeLabel works" 2018-05-09 15:28:33 +00:00
Michael Kwan
e643fd3101 Merge "Add watch specific tweaks to global actions layouts." into pi-dev am: 9327d2d757
am: b4d35d55fc

Change-Id: I7e340cb83524c566f72980352990c79b915e82b9
2018-05-08 19:14:33 -07:00
Michael Kwan
9327d2d757 Merge "Add watch specific tweaks to global actions layouts." into pi-dev 2018-05-09 01:53:50 +00:00
android-build-team Robot
86aea8a52d Merge "Use the non-chained interface for mobile/wifi power atoms." into pi-dev am: ac10be860f
am: 8e773ac198

Change-Id: Ia7292c552d9a1e27be2bb1fdfbaf5abb782538a7
2018-05-08 12:46:15 -07:00
Philip P. Moltmann
a6f5c70b91 Allow to influence how loadSafeLabel works
Also remove all references to old loadSafeLabel method to prevent
proliferation of old method via copy+paste.

The implementation assumes that there are three cases:
- Short labels that don't have anything wrong with them
- Labels that are fine, but are a little too long
- Intentionally bad label that try to break stuff and slow things down.

In the first two cases no characters are marked for removal, in the
third case we have an implementation that does not use a lot of memory
and has linear performance when there are a lot of bad characters.

Test: gts-tradefed run gts-dev -m GtsContentTestCases
Bug: 77964730
Change-Id: I3feb17b2a12018cd5407c88fe3603f2ebbc9d14e
2018-05-08 11:27:41 -07:00
Jaewan Kim
77748b623c MediaSessionService: Provide caller information for media key events
Current limitation is that we cannot distinguish between key events
from Window#injectInputEvent() and key presses from physical devices.

Bug: 79185725
Test: Manually verified with the test app, and Cts
Change-Id: I1c3da4a963238512eec8b57fbc2d825c7436b140
2018-05-08 15:53:00 +09:00
Yangster-mac
4c7255fdf2 Use the non-chained interface for mobile/wifi power atoms.
Test: statsd test

BUG: b/78075513

Change-Id: Id5b00fdc9738be518aa1b6b4551d959a90443f93
2018-05-08 00:50:38 +00:00
Selim Cinek
93c48c70d1 Merge "Fixed the historic messaging experience" into pi-dev am: e12f7fffcf
am: 64a4170c37

Change-Id: I16b309e7f37d2282055141cd5b3480ec5913d85b
2018-05-07 16:55:01 -07:00
Selim Cinek
e12f7fffcf Merge "Fixed the historic messaging experience" into pi-dev 2018-05-07 20:48:38 +00:00
Selim Cinek
a67c58f4e6 Merge "Fixed the padding when the sender name was empty" into pi-dev am: 4e9bdcdcac
am: 0e765611d9

Change-Id: I8a12fec73778a0a088ae79b322043c8d9088bdb2
2018-05-07 13:24:43 -07:00
Selim Cinek
4e9bdcdcac Merge "Fixed the padding when the sender name was empty" into pi-dev 2018-05-07 19:51:59 +00:00
android-build-team Robot
1cd00f3c8a Merge changes I5ed0feb5,I33faa3c8,Id2ee2e55,Iad0d4e94,I3ae5e544
* changes:
  Revert "Rotate IMEs (subtypes) by Meta+Space."
  Revert "Show toast when subtype is rotated by Meta-Space."
  Revert "Shift+Meta+Space should reverse-rotate subtypes."
  Revert "Shift+Meta+Space should reverse-rotate subtypes part 2."
  Revert "Make sure that Toast is always shown by Meta-Space."
2018-05-07 02:13:23 +00:00
Selim Cinek
0f6a0d0c17 Fixed the padding when the sender name was empty
Certain apps use empty sender names, which looks very
broken. Let me do this one last workaround...

Change-Id: I958319d1e4f9387e5e05afb304c05bef55c3e2fb
Fixes: 73139872
Test: receive a message with empty sender, observe visually
2018-05-04 16:25:07 -07:00
Calin Juravle
66f7bff6d7 Merge "Properly prepare system server profiles" into pi-dev am: cd319fc094
am: 67d2efe0f3

Change-Id: I717b51fd98c81a8ea7a247c44cf9812045a12bcc
2018-05-04 16:02:48 -07:00
Calin Juravle
cd319fc094 Merge "Properly prepare system server profiles" into pi-dev 2018-05-04 22:46:15 +00:00
android-build-team Robot
4a10072c84 Merge "Fixed an animation issue with Smart Replies" into pi-dev am: 12bae55fbc
am: e74dc3cfdd

Change-Id: Ia363a381aa2a35a930a8029a49c625c7f95944bf
2018-05-04 14:43:31 -07:00
android-build-team Robot
12bae55fbc Merge "Fixed an animation issue with Smart Replies" into pi-dev 2018-05-04 21:17:18 +00:00
Calin Juravle
3f3a08ad0d Properly prepare system server profiles
Update the logic for system server profiles to work without disabling
SELinux policies.

Test: check that system_server profile is created without disabling
SElinux

Bug: 74081010
Change-Id: I8aa1e57da0f8059bcfb149fe7366d8278b4bf516
2018-05-04 13:45:20 -07:00
Yohei Yukawa
136b6ceca8 Revert "Shift+Meta+Space should reverse-rotate subtypes."
This reverts commit d39ae85482 [1].

Reason for revert: to deprecate Meta-Space.

 [1]: I3694edd80be6dfe18b90360e24ae4d451b331928

Bug: 79150878
Test: manual
Change-Id: Id2ee2e552ffec009722525a56c65767bda46a63b
2018-05-04 12:53:19 -07:00
Yohei Yukawa
c7cc0ca7d4 Revert "Shift+Meta+Space should reverse-rotate subtypes part 2."
This reverts commit b1e2f4fc3a [1].

Reason for revert: to deprecate Meta-Space.

 [1]: I246223c0856382d68323f22987b998cd1613e98c

Bug: 79150878
Test: manual
Change-Id: Iad0d4e940e7fbc29d2fbcffaa7bd4030e478c244
2018-05-04 12:53:08 -07:00
Selim Cinek
73f1be9388 Fixed an animation issue with Smart Replies
Updating a remoteInputHistory message to non-history
was generating a weird animation because we would
not reuse the view if the remoteInputHistory state
changed.

Bug: 77957392
Test: visual, observe normal animations
Change-Id: Iac869159411cc57c90476ef684a05e8547c14aa4
2018-05-04 12:18:32 -07:00
Selim Cinek
f45ca9b6c1 Fixed the historic messaging experience
The historic message groups are now also gone,
not just the messages

Change-Id: Ib7a454809425c18f5c2fd5905b3dae9ec5ec846f
Fixes: 	72556979
Test: visually, add historic messages, observe group is gone too
2018-05-04 11:37:24 -07:00
Calin Juravle
8eb891be6f Make system server profiling an explicit runtime intent
Pass an explicit flag to the runtime when we need to profile the system
server. This ensures that we only start the ProfileSaver and allocate the
code cache when needed.

Test: manual, on a device with system server profiling enabled
Bug: 74081010
Change-Id: I5647e0bfb47d31c0e39bb3f59650cc956f49c4db
2018-05-03 20:06:10 -07:00
Selim Cinek
bcf17cb415 Merge "Changed the way the ellipsizing of text is measured" into pi-dev am: 497fa8b8ab
am: de0ec73030

Change-Id: Iac49fa43c932e66f1f437c06cab9f32cb16dcab1
2018-05-03 18:26:41 -07:00
Selim Cinek
497fa8b8ab Merge "Changed the way the ellipsizing of text is measured" into pi-dev 2018-05-04 00:54:13 +00:00
Michael Kwan
59b735803d Add watch specific tweaks to global actions layouts.
Also add null check to single action global actions.

Bug: 78276813
Change-Id: I02ebd642b5df00084b7ac5e6425defb6119c3955
2018-05-03 17:45:01 -07:00
android-build-team Robot
87d531ed05 Merge "Fixes a visual issue with the Messaging Layout" into pi-dev am: 8e4b8ea38a
am: f0f0746747

Change-Id: I93da4f1495f292b831ca66098c6c383c02a45007
2018-05-03 16:14:27 -07:00
Selim Cinek
4fefed2b5e Changed the way the ellipsizing of text is measured
This also fixed the paddings for the bigtext layout
by remeasuring it after the initial measure.

Test: runtest systemui
Change-Id: I4b974645606691e6faf2b99b8e52c791e69ee6ea
Fixes: 79111092
2018-05-03 16:13:11 -07:00
android-build-team Robot
8e4b8ea38a Merge "Fixes a visual issue with the Messaging Layout" into pi-dev 2018-05-03 22:20:04 +00:00
Selim Cinek
5572657366 Fixes a visual issue with the Messaging Layout
A messaging group would still look visible if all of its children
were hidden, which is incorrect. We instead regard it as measured too
small.

Test: add message notification with smart reply, click on smart reply
Change-Id: If5174f95038bf16022d935fd05f337969984f0c2
Fixes: 78214933
2018-05-03 14:14:34 -07:00
android-build-team Robot
7c9ec58363 Merge "In place split install native support" into pi-dev am: f4e0438a46
am: 3bc573f375

Change-Id: I18405fea7c2c0813ab352c6c7a686ebb28c9db13
2018-05-03 10:04:02 -07:00
android-build-team Robot
f4e0438a46 Merge "In place split install native support" into pi-dev 2018-05-03 16:38:54 +00:00
android-build-team Robot
9a63fa95c6 Merge "BackgroundFallback: Cover all cases where the fallback is needed" into pi-dev am: 0d58b9bb64
am: 63180005bb

Change-Id: Ib584f14ae26d3b0ded27d80cab9a408699017e6a
2018-05-03 07:16:11 -07:00
android-build-team Robot
0d58b9bb64 Merge "BackgroundFallback: Cover all cases where the fallback is needed" into pi-dev 2018-05-03 13:55:38 +00:00