314629 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Pavel Grafov
a6ea92097c Use InetAddress instead of String in network events.
This is a conservative change that converts strings to
InetAddress on the fly just before givint it to the client.

Also renamed getIpAddressesCount to getTotalResolvedAddressCount
to make it 1) harder to misuse it as getInetAddresses().length
2) more descriptive.

Bug: 37625453
Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/NetworkEventTest.java
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testNetworkLoggingWithSingleUser
Change-Id: I2a31dddd6874f1a629895e4dff105cf41984a775
2017-04-27 18:53:11 +01:00
Joe Onorato
213161f05d Turn off log spew, and make it use Slog.w instead of e.printStackTrace
That said, it's happening.

system     04-26 17:01:43.344 1000   1140   2684   W/ActivityManager: Failed setting process group of 21751 to 0
main       04-26 17:01:43.344 1000   1140   2684   W/System.err: java.lang.IllegalArgumentException: Given thread 21496 does not exist
main       04-26 17:01:43.349 1000   1140   2684   W/System.err:    at android.os.Process.setThreadPriority(Native Method)
main       04-26 17:01:43.349 1000   1140   2684   W/System.err:    at com.android.server.am.ActivityManagerService.applyOomAdjLocked(ActivityManagerService.java:21704)
main       04-26 17:01:43.349 1000   1140   2684   W/System.err:    at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:22015)
main       04-26 17:01:43.349 1000   1140   2684   W/System.err:    at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:22093)
main       04-26 17:01:43.349 1000   1140   2684   W/System.err:    at com.android.server.am.ActiveServices.unbindServiceLocked(ActiveServices.java:1239)
main       04-26 17:01:43.349 1000   1140   2684   W/System.err:    at com.android.server.am.ActivityManagerService.unbindService(ActivityManagerService.java:18127)
main       04-26 17:01:43.349 1000   1140   2684   W/System.err:    at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:594)
main       04-26 17:01:43.349 1000   1140   2684   W/System.err:    at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2936)
main       04-26 17:01:43.350 1000   1140   2684   W/System.err:    at android.os.Binder.execTransact(Binder.java:674)

Bug: 37252687
Test: development/tools/logblame/app_switch_log_test
Change-Id: I138147c34141e212256012afe8aaf239f3443b82
2017-04-27 10:43:08 -07:00
TreeHugger Robot
e6746726bc Merge "Revise method comment on setFontVariationSettings" into oc-dev 2017-04-27 17:34:48 +00:00
David Farrow
6986e8a1ba Merge "documentation fixes" into nyc-mr1-dev am: 14826e5489 am: b1e3d9ab26
am: 4ea763ad8a

Change-Id: I1b3005ef17b9d54e1f9b9c75138d214e80fc414c
2017-04-27 17:28:28 +00:00
Rubin Xu
71e0fcbf2f Merge "Reduce scrypt time in synthetic password flow" into oc-dev 2017-04-27 17:25:00 +00:00
Doris Liu
f4063d4201 Merge "Refine JavaDocs for AnimatorSet#getCurrentPlayTime()" into oc-dev 2017-04-27 17:20:23 +00:00
David Farrow
4ea763ad8a Merge "documentation fixes" into nyc-mr1-dev am: 14826e5489
am: b1e3d9ab26

Change-Id: I4f2682c11384a9f656054b95cfba56132085634a
2017-04-27 17:19:21 +00:00
David Farrow
b1e3d9ab26 Merge "documentation fixes" into nyc-mr1-dev
am: 14826e5489

Change-Id: I18df5f88d8f72ec74e62b39a056459e4e715b9db
2017-04-27 17:09:26 +00:00
Mady Mellor
aa94a61c56 Merge "Improve swipe to show notification menu gesture" into oc-dev 2017-04-27 17:01:30 +00:00