314752 Commits

Author SHA1 Message Date
Selim Cinek
0847acd4d4 Implementing gradual image fade for the media template
Test: play music
Merged-In: I525513ce1da1237c4edad32c0ed31e79d5eacd32
Change-Id: I525513ce1da1237c4edad32c0ed31e79d5eacd32
Fixes: 36561228
2017-04-27 22:21:50 +00:00
Selim Cinek
5fb73f8629 Extracting the notification colors based on the album art
Media notifications are now extracting the background and
foreground colors from the album art.

Test: manual, play different songs
Bug: 36561228
Merged-In: I9c3c962fa59eb70ef9b2d4893b939be6e1ee1ab0
Change-Id: I9c3c962fa59eb70ef9b2d4893b939be6e1ee1ab0
2017-04-27 22:21:17 +00:00
Jakub Pawlowski
9a4b756c9b Merge changes from topic 'bt5-cherry-pickerry-3' into oc-dev
* changes:
  Fix NPE when accessing mCallback in BluetoothGatt
  Expose LE advertiser address for easier PTS tests (1/6)
  Read by UUID for PTS tests (1/5)
2017-04-27 22:20:43 +00:00
Casey Burkhardt
a338b51e02 @NonNull on AccessibilityButtonController methods
Make Handler parameter @NonNull and adjust implementation
to always expect non-null Handlers.

Bug: 37709203
Test: Manual
Change-Id: I3937ae1c4e49bfc7652750cc64cac9e78f9d3ce2
2017-04-27 15:19:52 -07:00
TreeHugger Robot
13d03e504d Merge "Address API feedback for new fragment APIs" into oc-dev 2017-04-27 22:18:11 +00:00
TreeHugger Robot
f9dc09f4ea Merge "Disable Vulkan backend when running hwui_unit_tests." into oc-dev 2017-04-27 22:10:49 +00:00
Sujith Ramakrishnan
b4f21f0482 Merge "Updated intent action name to comply with CTS." into oc-dev 2017-04-27 22:10:09 +00:00
Chris Tate
cfdc7eb87c Merge "Fix 'jobscheduler run' shell command" into oc-dev 2017-04-27 22:03:57 +00:00
Chad Brubaker
ffa07d2a8f Allow system apps to define ephemeral permissions
Test: manual
Change-Id: Ib21c48348d0d3e84fe9d913960443cdbec0bdc8b
2017-04-27 15:01:27 -07:00
Todd Kennedy
a50f89ffeb add 'changes' cmd to dumpsys
Bug: 37714054
Test: Manual; adb shell dumpsys package changes
Change-Id: Ibab209f80da7ac588bae54c3226305a95306cd7c
2017-04-27 14:58:42 -07:00
TreeHugger Robot
a851b5ae76 Merge "DO NOT MERGE Revert "Wallpaper color extraction API stub"" into oc-dev 2017-04-27 21:44:56 +00:00
Phil Weaver
be5e14a65e Remove reference to removed string
Bug: 37750336
Test: make
Change-Id: I982f9e9a4d40abaf3f990d85d7c02c79f3147a38
2017-04-27 14:42:47 -07:00
TreeHugger Robot
b71f3ca3f0 Merge "new reset carrier signals/actions" into oc-dev 2017-04-27 21:35:47 +00:00
Selim Cinek
2630dc7ecf Moved notification builder creation to the background
In preparation of future colorization work, the creation
of the notification builder is moved to the background.

Test: manual, add notifications, update them etc.
Test: runtest systemui
Bug: 36561228
Merged-In: Iaec5febf4d8d9da348d77e0d4f6f61b9746fae16
Change-Id: Iaec5febf4d8d9da348d77e0d4f6f61b9746fae16
2017-04-27 21:34:40 +00:00
Erik Wolsheimer
4769b54d49 Add logging around dream start/stop
Bug: 28455483
Change-Id: I31d4d52c3ed4cbfc6f6a9d978fd2669224ba95b4
2017-04-27 14:32:46 -07:00
Evan Rosky
d0c6cf9bc0 Merge "Only restrict arrows out of text fields from keyboard" into oc-dev 2017-04-27 21:28:13 +00:00
Tima Vaisburd
5544f6c63b Hide onMovedToDisplay for WebView
Bug: 37724053
Test: Not needed
Change-Id: Ic6decc3be65e6b16f8fb42149f3e0798e855d4b7
2017-04-27 14:24:24 -07:00
TreeHugger Robot
e669ae438f Merge "Use invalid package names for special keys in AccountManager." into oc-dev 2017-04-27 21:23:40 +00:00
Seigo Nonaka
9610c69531 Remove FontsContract.buildTypeface with weight/italic argument.
Passing weight/italic to the family does not make sense.

Bug: 37750436
Test: N/A
Change-Id: I43a624179338c1f98aad36cfd08daa152e83944c
2017-04-27 14:15:52 -07:00
Philip P. Moltmann
8abf3cbe1a Fix LoginActivityTest#testIsServiceEnabled
Test: CtsAutoFillServiceTestCases
Change-Id: I584fb1bf72cbb233a4b3280f3bce47d02dee933c
Fixes: 37728979
2017-04-27 14:07:09 -07:00
Suprabh Shukla
e1aaf7d577 Fixing service notification on secondary users
The notification was starting application details activity in user 0
instead of the user in which the service is running

Test: Manually tested that clicking on the notification starts app info
activity in the current user

Bug: 37530249

Change-Id: I9545c37bf1a36515813cbf1124c82c1c0fc3ad21
Merged-In: I9545c37bf1a36515813cbf1124c82c1c0fc3ad21
2017-04-27 21:04:23 +00:00
Jorim Jaggi
560324cfa0 Merge "Implement API council feedback for dismissKeyguard" into oc-dev 2017-04-27 20:57:11 +00:00
Julia Reynolds
0ffc13b9f2 Documentation updates
Test: make
Change-Id: I9c02b3bd40ff19615747d238b1156d5d21e492e6
Fixes: 37736867
Bug: 37743680
2017-04-27 20:53:34 +00:00
Julia Reynolds
a78cdffd80 Change snoozing behavior for notifications in groups
- Snoozing a summary notification will snooze its current
children in addition to itself
- Posting a non-snoozed notification to a summary will
unsnooze the summary
- snoozing the only child of a group will also snooze the group
summary

Test: runtest systemui-notification
Change-Id: I5edba1461a59131c6c202f02e6f89404d22bb404
Fixes: 35934956
2017-04-27 16:47:36 -04:00
Sudheer Shanka
7e7f7d526d Merge "Rename ActivityMonitor.onMatchIntent to onStartActivity." into oc-dev 2017-04-27 20:47:09 +00:00
Bryce Lee
d08c064976 Merge "Don't call adjustFocusedActivityStackLocked on finished activity." into oc-dev 2017-04-27 20:41:36 +00:00
Sudheer Shanka
8dd177c4e8 Merge "Update VIMS internal state when a packge is modified." into oc-dev 2017-04-27 20:31:09 +00:00
Sujith Ramakrishnan
48e19c8cc9 Updated intent action name to comply with CTS.
- Updated "android.intent.action.GLOBAL_BUTTON" to
	  @SystemApi

Test: manual - Bottom button on Fugu brings up pairing screen
Test: manual - GUIDE button on Fugu brings up TV channels app

Bug: 37499047
Change-Id: I3b92ed99aeb53674fbaac91126e8c5e7fcffa715
2017-04-27 13:26:43 -07:00
Tima Vaisburd
9c14b91aa9 Merge "Hide getTextClassifier and setTextClassifier for WebView" into oc-dev 2017-04-27 20:22:15 +00:00
TreeHugger Robot
3a4987bbe7 Merge "Improve docs for AssistStructure#isHomeActivity" into oc-dev 2017-04-27 20:21:49 +00:00
Jakub Pawlowski
0e0e75793d Fix NPE when accessing mCallback in BluetoothGatt
This issue was introduced in commit
4eab49652e48159fd37f827d30b822f2f187551e.

Bug: 37710354
Test: none
Change-Id: I2d985ce97c44d4e096713e156e57437f44ea3ddb
(cherry picked from commit 0e4ac75f2e291305a493796186d44a081926f3a8)
2017-04-27 13:16:32 -07:00
Jakub Pawlowski
348ba3da78 Expose LE advertiser address for easier PTS tests (1/6)
This patchset adds a hidden method getOwnAddress, that lets app with
BLUETOOTH_PRIVILEGED permission to lear their own addreess. This is done
exclusively for PTS tests.

Bug: 35147497
Test: manual
Change-Id: Iaf0f2fe0613de44b8430ac25e691d66a4ad44f8d
(cherry picked from commit 4bc4a441007e0a9ef6ccd1816c831ffd2dfa4c18)
2017-04-27 13:15:58 -07:00
Jakub Pawlowski
ce21cb903c Read by UUID for PTS tests (1/5)
Add a hidden api for reading characteristic by UUID for PTS.

Bug: 35150313
Test: sl4a GattReadTest.byUuid
Change-Id: Ice4076d99e4694d20374ba0fdcae74d5ae841147
(cherry picked from commit de74891d1c603326691678ec301c80b4525bc4ef)
2017-04-27 13:15:43 -07:00
TreeHugger Robot
898b0cb39a Merge "SysUI A11y: Fix keyguard time utterance" into oc-dev 2017-04-27 20:10:54 +00:00
Makoto Onuki
301663a61b Merge "Change IMPORTANCE_PERCEPTIBLE_DEPRECATED to IMPORTANCE_PERCEPTIBLE_PRE_26" into oc-dev 2017-04-27 20:03:22 +00:00
TreeHugger Robot
54e534d6e7 Merge "Use InetAddress instead of String in network events." into oc-dev 2017-04-27 19:53:58 +00:00
Geoffrey Pitsch
900be26b34 Fix notification text not wrapping and clipping switch.
Change-Id: I9b2a86d3377f028b75785f1bbf0b33c010419787
Fixes: 37558563
Test: runtest systemui
2017-04-27 15:45:44 -04:00
Adam Powell
10d69ac250 Address API feedback for new fragment APIs
Framework edition

Bug: 37637473
Bug: 37636731
Bug: 37638276

Test: run fragment tests
Change-Id: I3e77ab51d60f5a550d60701fc81a84e143a53244
2017-04-27 12:35:15 -07:00
Svet Ganov
54523413f8 Force autofill on overflow only if empty
Test: manual

bug:37244196

Change-Id: I0953546492ade815617d30f698e92282a1172302
2017-04-27 12:32:08 -07:00
Chad Brubaker
a9d0e6b205 Merge "Allow apps to provide the Instant App installer extra information" into oc-dev 2017-04-27 19:30:57 +00:00
Christopher Tate
ee87b96ee5 API: make "what's the quota?" an operation on the backup data sinks
...instead of a method of the BackupAgent lifecycle component, callable
only while a backup is underway.

Bug 37565111
Test: unit

Change-Id: I4a56f93ee164ec499d5621f1641d932f091adf57
2017-04-27 12:29:22 -07:00
Dmitry Dementyev
cbe1bd1d42 Use invalid package names for special keys in AccountManager.
Bug: 37672088
Test: cts, manual.
Change-Id: I7fd40e0646a50f809b5c9b89dfe4242ceb00195d
2017-04-27 19:15:57 +00:00
Christopher Tate
851a35abe8 Fix 'jobscheduler run' shell command
Tidying up the locking + deferred-work shape of the job scheduler's
internal flow inadvertently meant that we were now trying to bind to
a job service while under the shell user's uid when the relevant
shell command was used to kick off the job.  Now we don't do that.

Bug 37744607
Test: manual

Change-Id: Ia4b83f83f9fbd2e5678eaa279f1d86206fb05023
2017-04-27 12:14:20 -07:00
Philip P. Moltmann
6249eff01d Do not autofill twice
Looks like a merge issue

Bug: 37728979
Test: CtsAutoFillServiceTestCases
Change-Id: I743b1cdc1a5544712e15d81073c9b1449d527b6e
2017-04-27 12:07:23 -07:00
TreeHugger Robot
38439169bd Merge "Reenable presubmit runs for BackupSettingsTest now that it's fixed" into oc-dev 2017-04-27 19:03:24 +00:00
Evan Rosky
776fa5f728 removeAllViews should also clean-up focusedInCluster
Other removes do this, somehow removeAllViews got overlooked

Bug: 37569764
Test: manual tested against docs.
Change-Id: I2f7699affb11dc370c4825ca9be669cf3b756c85
2017-04-27 11:28:01 -07:00
Andrii Kulian
0dca566677 Merge "Report correct display id in stack info" into oc-dev 2017-04-27 18:18:33 +00:00
Andrii Kulian
bfe5aa23e8 Merge "Hide onMovedToDisplay callback" into oc-dev 2017-04-27 18:09:17 +00:00
fionaxu
982799eb08 new reset carrier signals/actions
- new carrier signal intended for notifying carrier apps that all
carrier actions has been reset due to sim load/absent.
- default carrier apps clean up UI on reset actions.

Bug: 34626476
Test: Manual test on TMO and ZIP SIM
Change-Id: I232dd19294e99fb0a7d53ca1b5c049e6e3e2e050
2017-04-27 11:07:54 -07:00
Dianne Hackborn
c154195d27 Fix issue #37714224: API Review: ACTION_NEW_VIDEO
Test: none, docs only.

Change-Id: Id6e3667884a5907c0877aabb3760fac88863ff7a
2017-04-27 10:56:12 -07:00