310849 Commits

Author SHA1 Message Date
Brian Carlstrom
66524247d4 Dump native stack for background ANR if process is of interest
Bug: 30112521
Bug: 36043456
Bug: 35241370
Test: make -j32 -k && flashall
Change-Id: I25b134ec24c534f3cfeb5a7c43195da3a6285d57
2017-03-17 08:48:52 -07:00
Andrii Kulian
c1b59ed73e Merge "Separate global and override config sent to client" 2017-03-17 15:39:37 +00:00
TreeHugger Robot
edd694e4bf Merge "Change dependency to standard mockito-target-minus-junit4" 2017-03-17 15:32:07 +00:00
TreeHugger Robot
a83ebca651 Merge "Protect against hiding while not attached" 2017-03-17 15:27:49 +00:00
liangweikang
5a2c5a3bd9 Merge "[BUG] fix NullPointerException in Notification.java" am: c14d5db093 am: 79e9f380e2
am: 9b0784aa5f

Change-Id: I41f9d2d027138360d3a967c97dbf3aed69512650
2017-03-17 15:07:50 +00:00
liangweikang
9b0784aa5f Merge "[BUG] fix NullPointerException in Notification.java" am: c14d5db093
am: 79e9f380e2

Change-Id: Ic9356edc395f68c5dda5a19a2efca31b5f16a068
2017-03-17 14:57:55 +00:00
liangweikang
79e9f380e2 Merge "[BUG] fix NullPointerException in Notification.java"
am: c14d5db093

Change-Id: Ib1c17e2fe5f36e0230845ca123b0cd2cb7365154
2017-03-17 14:51:58 +00:00
TreeHugger Robot
1d33b07f44 Merge "Removing 'delegate' from constant names" 2017-03-17 14:48:15 +00:00
Treehugger Robot
c14d5db093 Merge "[BUG] fix NullPointerException in Notification.java" 2017-03-17 14:43:20 +00:00
Paul Duffin
a7773c2fb1 Change dependency to standard mockito-target-minus-junit4
The mockito-updated-target-minus-junit4 target was added because
some tests needed a later version of mockito than was available
through mockito-target-minus-junit4. Since the latter has now
been upgraded to 2.7.13 that is no longer true and so users of
mockito-updated-target-minus-junit4 can be switched to use
mockito-target-minus-junit4 instead.

Bug: 32912773
Test: make checkbuild && runtest systemui
Change-Id: If7e4dd26d7d0e93731856e9739a048c89a835333
2017-03-17 13:52:15 +00:00
Jason Monk
581084123f Protect against hiding while not attached
Change-Id: I44b16d2644c80c737ffc16bf11cc1259e3c3984b
Fixes: 36137783
Test: Edit QS
2017-03-17 09:47:30 -04:00
Julia Reynolds
f619bc5211 Removing 'delegate' from constant names
Change-Id: I2ac4e3ae08f1084da34ea74fdd5177e2d58987af
Fixes: 35812334
Test: build
2017-03-17 08:43:22 -04:00
Neil Fuller
9408983ba7 Track library change in libcore.
Adding a required dependency on new shared library for tzdata code.

Bug: 31008728
Test: make
Change-Id: Ia5c3e961ca9f62e27575c8f4d16d562fac2b3461
2017-03-17 11:53:05 +00:00
Narayan Kamath
089efe43cf Merge "fd_utils: address a couple of TODOs." am: eae1ae9732 am: a34d01d1ee
am: 8497b653f6

Change-Id: Ic8735187a22df886f07da887f12dddff248d1028
2017-03-17 10:05:14 +00:00
Narayan Kamath
8497b653f6 Merge "fd_utils: address a couple of TODOs." am: eae1ae9732
am: a34d01d1ee

Change-Id: I167e56d78a5a1ef6c2f1bcad891d5f20f4e07375
2017-03-17 09:58:12 +00:00
Narayan Kamath
a34d01d1ee Merge "fd_utils: address a couple of TODOs."
am: eae1ae9732

Change-Id: I8e4e92df3c1f0016de2c396345b7a0b4bc0e1cb6
2017-03-17 09:51:35 +00:00
Narayan Kamath
eae1ae9732 Merge "fd_utils: address a couple of TODOs." 2017-03-17 09:44:12 +00:00
Narayan Kamath
3879ecc891 fd_utils: address a couple of TODOs.
Drink the android::base koolaid.

Test: make, boots
Change-Id: Ib24b9b59fa3490e80ba78be0199eafa676225b73
2017-03-17 09:43:53 +00:00
TreeHugger Robot
4bb2ccca8d Merge "Fixed cancel() and commit():" 2017-03-17 08:16:04 +00:00
TreeHugger Robot
b096e58811 Merge "Sets accessibility title for autofill dataset picker." 2017-03-17 06:43:05 +00:00
Jakub Pawlowski
7800604d0d Merge "LE Maximum Advertising Data Length (1/4)" am: 74f2e1a303 am: 2fc3834f4d
am: 066e8551f1

Change-Id: If9ee85705e7c47820e23ad79a048e4c04c4cc11a
2017-03-17 05:31:07 +00:00
Jakub Pawlowski
066e8551f1 Merge "LE Maximum Advertising Data Length (1/4)" am: 74f2e1a303
am: 2fc3834f4d

Change-Id: Iad555280f5d702c63c76a2399c8d02ac39749a77
2017-03-17 05:26:26 +00:00
Jakub Pawlowski
2fc3834f4d Merge "LE Maximum Advertising Data Length (1/4)"
am: 74f2e1a303

Change-Id: I3b6599937ddd04a9c13573d156cc721152c0005a
2017-03-17 05:19:57 +00:00
Jakub Pawlowski
74f2e1a303 Merge "LE Maximum Advertising Data Length (1/4)" 2017-03-17 05:13:45 +00:00
TreeHugger Robot
9d755c046a Merge "Added a new AutofillCallback.EVENT_INPUT_UNAVAILABLE event." 2017-03-17 04:09:57 +00:00
TreeHugger Robot
77724a5be7 Merge "WifiConfiguration: Correct documentation for priority" 2017-03-17 04:06:52 +00:00
Roshan Pius
60d9c84209 Merge "WifiConfiguration: Update psk documentation" 2017-03-17 03:59:40 +00:00
Joel Scherpelz
5e1eb40c8f Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces" am: 52f8421b77 am: b8933942fc
am: f9cd5cd81b

Change-Id: I5ebbe1a63da43f28b0d582bc7e6480ffe74195b7
2017-03-17 03:05:45 +00:00
liangweikang
63b03b573f [BUG] fix NullPointerException in Notification.java
https://code.google.com/p/android/issues/detail?id=252835

Test: null

Change-Id: I6c575686c75b02ac938f35622b522fff25403c29
Signed-off-by: liangweikang <liangweikang900911@gmail.com>
2017-03-17 02:59:49 +00:00
Joel Scherpelz
f9cd5cd81b Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces" am: 52f8421b77
am: b8933942fc

Change-Id: Ic1b6226da3cfb68eeb352c1f81df09733ab52e4d
2017-03-17 02:59:11 +00:00
Joel Scherpelz
b8933942fc Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"
am: 52f8421b77

Change-Id: I5b5d5460f9fe7ed228ab32b2c63cb601be5e1edb
2017-03-17 02:53:11 +00:00
Felipe Leme
6d0cb1e8eb Fixed cancel() and commit():
- Call removeSelfLocked() on cancelSessionLocked.
- Call removeSelf() after dispatching the PendingSaveRequest.
- Added a finalizer callback to PendingSaveRequest that calls removeSelf().
- Fixed SaveUi SnackBar so its actions are only triggered once.
- Reused removeSelfLocked() when needed.
- Removed unnecessary {} on some lambdas.
- Removed unnecessary mLock on PendingSaveRequest.
- Removed unnecessary mLock usage on PendingFillRequest.

Test: CtsAutoFillServiceTestCases (including new tests) pass
Test: manual verification

Fixes: 35721501
Fixes: 35844249

Change-Id: I9789218777b62a9558a602b8eaed0714d8b77fa0
2017-03-16 19:51:59 -07:00
Treehugger Robot
52f8421b77 Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces" 2017-03-17 02:44:07 +00:00
Felipe Leme
24aae15218 Added a new AutofillCallback.EVENT_INPUT_UNAVAILABLE event.
This event is called when:

- After notifyViewEntered() when autofill is disabled.
- After service returns an "empty" FillResponse to FillCallback.onSuccess().

BUG: 36056207

Test: LoginActivityTest.testAutofillCallbackDisabled
Test: LoginActivityTest.testAutofillCallbackNoDatasets
Test: VirtualContainerActivityTest.testAutofillCallbackDisabled
Test: VirtualContainerActivityTest.testAutofillCallbackNoDatasets

Change-Id: I7b8636473f738bf600aa96b28c77827b2cc78815
2017-03-16 19:40:22 -07:00
Karthik Ravi Shankar
e6ccc3e816 Merge "Add API to get compatibility display id" 2017-03-17 02:34:07 +00:00
Philip P. Moltmann
389d1c2b43 Merge "TRON log important auto-fill events" 2017-03-17 02:23:35 +00:00
Andrii Kulian
446079600e Separate global and override config sent to client
There is some flakiness in View#onConfigurationChanged callback -
if ViewRootImpl receives config update earlier than ActivityThread,
it may not detect the configuration change and skip inner updates.
Also now ViewRootImpl assumes that it receives the global config as
a param, but instead it gets merged config from WM. This means that
ViewRootImpl#sConfigCallbacks was sending incorrect values to the
recipients.

This CL switches to sending global and override configuration to the
client separately. Also in case if there is a corresponding activity,
it first updates it and waits for update callback to ViewRootImpl.
This way global config and override config for activity will always
be set first and resources will be updated before inner state of
ViewRootImpl is updated.

Bug: 35870157
Bug: 34164473
Test: android.server.cts.ActivityManagerDisplayTests
Test: testOnMovedToDisplayCallback
Change-Id: Ic9e7541cf25ecfac6ec90e48f7efb0ece91f657e
2017-03-16 19:13:02 -07:00
Jakub Pawlowski
ad10affa4e LE Maximum Advertising Data Length (1/4)
Add ability to check maximum advertising data length.

Bug: 30622771
Test: manual
Change-Id: I281f7e9f294c40a47a67a22809cc753b6693f7c4
2017-03-16 18:27:01 -07:00
Jakub Pawlowski
9f9597e248 Merge "Bluetooth 5 AdvertisingSet implementation (1/4)" am: 15e69df921 am: 45e0c6ea7f
am: d2da3a7874

Change-Id: I3b14feb1d470f818b48acf99b32785f653790cc2
2017-03-17 01:21:38 +00:00
TreeHugger Robot
85fcc0bde8 Merge "IBiometricsFingerprint uses "default" service name" 2017-03-17 01:19:51 +00:00
TreeHugger Robot
bdc813a6ea Merge "Change vold cryptkeeper permissions to be more sensible" 2017-03-17 01:15:11 +00:00
Jakub Pawlowski
d2da3a7874 Merge "Bluetooth 5 AdvertisingSet implementation (1/4)" am: 15e69df921
am: 45e0c6ea7f

Change-Id: I6975c6629e8c4a7be20f355fdeaba268b33396a2
2017-03-17 01:15:08 +00:00
Jakub Pawlowski
45e0c6ea7f Merge "Bluetooth 5 AdvertisingSet implementation (1/4)"
am: 15e69df921

Change-Id: I585fc900b4a153744116fa87764db98b038184d5
2017-03-17 01:09:02 +00:00
Felipe Leme
b4f868deca Sets accessibility title for autofill dataset picker.
Bug: 34219631
Test: CtsAutoFillServiceTestCases (with new tests) pass

Change-Id: I9bda820a41ef82e008f2a1ffd32c286b91841c10
2017-03-16 18:06:22 -07:00
Treehugger Robot
15e69df921 Merge "Bluetooth 5 AdvertisingSet implementation (1/4)" 2017-03-17 01:01:17 +00:00
Yifan Hong
d8f3fe9421 Merge "Start android.frameworks.sensorservice@1.0 in system_server" 2017-03-17 00:58:14 +00:00
Joel Scherpelz
25870a2c9e Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces
This patch tries to change accept_ra_rt_info_max_plen to 64 from its
default value of 0 on kernels that support router advertisements with
route information options. The code fails silently on older unsupported
platforms.

Also factor existing startIPv6() code into a self documenting function
enableInterfaceIpv6PrivacyExtensions()

Bug: 33333670
Test: as follows
    - build sailfish
    - flashed
    - booted
    - runtest frameworks-net passes
    - runtest frameworks-wifi passes

Change-Id: I10ec83b9e04836089477d74417b7222499820066
2017-03-17 09:41:43 +09:00
Derek Sollenberger
08153e655a Merge "Remove usage of deprecated makeImageSnapshot parameter Test: Does it compile?" 2017-03-17 00:41:16 +00:00
TreeHugger Robot
ffe0bbbf60 Merge "Camera: Enable batching for constrained high speed recording" 2017-03-17 00:32:54 +00:00
Chris Craik
97b4ccbd97 Merge "Expose color filter mutate methods" 2017-03-17 00:32:21 +00:00