OSDN Git Service
Andrii Kulian [Fri, 17 Mar 2017 17:30:50 +0000 (10:30 -0700)]
Allow holders of MANAGE_ACTIVITY_STACKS to launch on private displays
MANAGE_ACTIVITY_STACKS permission allows moving stacks, tasks and
activities between corresponding parents. It makes no sense to
require more strict START_ANY_ACTIVITY permission to launch on
private display, as an activity still can be moved to it.
Bug:
34164473
Test: 'adb unroot' and run android.server.cts.ActivityManagerDisplayTests
Change-Id: I3b59127829c432e42a46630025eeddd152bce1b0
Neil Fuller [Fri, 17 Mar 2017 15:50:31 +0000 (15:50 +0000)]
Merge "Track library change in libcore." am:
ed9c176e16 am:
301f1d3645
am:
cef08e7482 -s ours
Change-Id: Ide1ba5f3864e13376e15c561a911d5e2394328fa
Neil Fuller [Fri, 17 Mar 2017 15:44:05 +0000 (15:44 +0000)]
Merge "Track library change in libcore." am:
ed9c176e16
am:
301f1d3645
Change-Id: Ifb24866783cab6a602ac5f3dd1df705ba93d931e
Andrii Kulian [Fri, 17 Mar 2017 15:39:32 +0000 (15:39 +0000)]
Merge "Separate global and override config sent to client"
Neil Fuller [Fri, 17 Mar 2017 15:38:01 +0000 (15:38 +0000)]
Merge "Track library change in libcore."
am:
ed9c176e16
Change-Id: Iae6166cf055625947589b3a14b72ed7828738311
TreeHugger Robot [Fri, 17 Mar 2017 15:32:02 +0000 (15:32 +0000)]
Merge "Change dependency to standard mockito-target-minus-junit4"
Treehugger Robot [Fri, 17 Mar 2017 15:28:35 +0000 (15:28 +0000)]
Merge "Track library change in libcore."
TreeHugger Robot [Fri, 17 Mar 2017 15:27:44 +0000 (15:27 +0000)]
Merge "Protect against hiding while not attached"
liangweikang [Fri, 17 Mar 2017 15:07:50 +0000 (15:07 +0000)]
Merge "[BUG] fix NullPointerException in Notification.java" am:
c14d5db093 am:
79e9f380e2
am:
9b0784aa5f
Change-Id: I41f9d2d027138360d3a967c97dbf3aed69512650
liangweikang [Fri, 17 Mar 2017 14:57:55 +0000 (14:57 +0000)]
Merge "[BUG] fix NullPointerException in Notification.java" am:
c14d5db093
am:
79e9f380e2
Change-Id: Ic9356edc395f68c5dda5a19a2efca31b5f16a068
liangweikang [Fri, 17 Mar 2017 14:51:58 +0000 (14:51 +0000)]
Merge "[BUG] fix NullPointerException in Notification.java"
am:
c14d5db093
Change-Id: Ib1c17e2fe5f36e0230845ca123b0cd2cb7365154
TreeHugger Robot [Fri, 17 Mar 2017 14:48:11 +0000 (14:48 +0000)]
Merge "Removing 'delegate' from constant names"
Treehugger Robot [Fri, 17 Mar 2017 14:43:20 +0000 (14:43 +0000)]
Merge "[BUG] fix NullPointerException in Notification.java"
Paul Duffin [Tue, 14 Mar 2017 16:37:39 +0000 (16:37 +0000)]
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
Jason Monk [Fri, 17 Mar 2017 13:47:30 +0000 (09:47 -0400)]
Protect against hiding while not attached
Change-Id: I44b16d2644c80c737ffc16bf11cc1259e3c3984b
Fixes:
36137783
Test: Edit QS
Julia Reynolds [Fri, 17 Mar 2017 12:32:23 +0000 (08:32 -0400)]
Removing 'delegate' from constant names
Change-Id: I2ac4e3ae08f1084da34ea74fdd5177e2d58987af
Fixes:
35812334
Test: build
Neil Fuller [Wed, 22 Feb 2017 18:29:47 +0000 (18:29 +0000)]
Track library change in libcore.
Adding a required dependency on new shared library for tzdata code.
Bug:
31008728
Test: make
Merged-In: Ia5c3e961ca9f62e27575c8f4d16d562fac2b3461
Change-Id: I40b725a97ae2bc258b1fd4b2312b6c60ff83fe64
Neil Fuller [Wed, 22 Feb 2017 18:29:47 +0000 (18:29 +0000)]
Track library change in libcore.
Adding a required dependency on new shared library for tzdata code.
Bug:
31008728
Test: make
Change-Id: Ia5c3e961ca9f62e27575c8f4d16d562fac2b3461
Narayan Kamath [Fri, 17 Mar 2017 10:05:14 +0000 (10:05 +0000)]
Merge "fd_utils: address a couple of TODOs." am:
eae1ae9732 am:
a34d01d1ee
am:
8497b653f6
Change-Id: Ic8735187a22df886f07da887f12dddff248d1028
Narayan Kamath [Fri, 17 Mar 2017 09:58:12 +0000 (09:58 +0000)]
Merge "fd_utils: address a couple of TODOs." am:
eae1ae9732
am:
a34d01d1ee
Change-Id: I167e56d78a5a1ef6c2f1bcad891d5f20f4e07375
Narayan Kamath [Fri, 17 Mar 2017 09:51:35 +0000 (09:51 +0000)]
Merge "fd_utils: address a couple of TODOs."
am:
eae1ae9732
Change-Id: I8e4e92df3c1f0016de2c396345b7a0b4bc0e1cb6
Narayan Kamath [Fri, 17 Mar 2017 09:44:11 +0000 (09:44 +0000)]
Merge "fd_utils: address a couple of TODOs."
Narayan Kamath [Thu, 2 Mar 2017 17:30:03 +0000 (17:30 +0000)]
fd_utils: address a couple of TODOs.
Drink the android::base koolaid.
Test: make, boots
Change-Id: Ib24b9b59fa3490e80ba78be0199eafa676225b73
TreeHugger Robot [Fri, 17 Mar 2017 08:15:55 +0000 (08:15 +0000)]
Merge "Fixed cancel() and commit():"
TreeHugger Robot [Fri, 17 Mar 2017 06:42:58 +0000 (06:42 +0000)]
Merge "Sets accessibility title for autofill dataset picker."
Jakub Pawlowski [Fri, 17 Mar 2017 05:31:07 +0000 (05:31 +0000)]
Merge "LE Maximum Advertising Data Length (1/4)" am:
74f2e1a303 am:
2fc3834f4d
am:
066e8551f1
Change-Id: If9ee85705e7c47820e23ad79a048e4c04c4cc11a
Jakub Pawlowski [Fri, 17 Mar 2017 05:26:26 +0000 (05:26 +0000)]
Merge "LE Maximum Advertising Data Length (1/4)" am:
74f2e1a303
am:
2fc3834f4d
Change-Id: Iad555280f5d702c63c76a2399c8d02ac39749a77
Jakub Pawlowski [Fri, 17 Mar 2017 05:19:57 +0000 (05:19 +0000)]
Merge "LE Maximum Advertising Data Length (1/4)"
am:
74f2e1a303
Change-Id: I3b6599937ddd04a9c13573d156cc721152c0005a
Jakub Pawlowski [Fri, 17 Mar 2017 05:13:44 +0000 (05:13 +0000)]
Merge "LE Maximum Advertising Data Length (1/4)"
TreeHugger Robot [Fri, 17 Mar 2017 04:09:50 +0000 (04:09 +0000)]
Merge "Added a new AutofillCallback.EVENT_INPUT_UNAVAILABLE event."
TreeHugger Robot [Fri, 17 Mar 2017 04:06:46 +0000 (04:06 +0000)]
Merge "WifiConfiguration: Correct documentation for priority"
Roshan Pius [Fri, 17 Mar 2017 03:59:36 +0000 (03:59 +0000)]
Merge "WifiConfiguration: Update psk documentation"
Joel Scherpelz [Fri, 17 Mar 2017 03:05:45 +0000 (03:05 +0000)]
Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces" am:
52f8421b77 am:
b8933942fc
am:
f9cd5cd81b
Change-Id: I5ebbe1a63da43f28b0d582bc7e6480ffe74195b7
liangweikang [Thu, 16 Mar 2017 11:22:15 +0000 (19:22 +0800)]
[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>
Joel Scherpelz [Fri, 17 Mar 2017 02:59:11 +0000 (02:59 +0000)]
Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces" am:
52f8421b77
am:
b8933942fc
Change-Id: Ic1b6226da3cfb68eeb352c1f81df09733ab52e4d
Joel Scherpelz [Fri, 17 Mar 2017 02:53:11 +0000 (02:53 +0000)]
Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"
am:
52f8421b77
Change-Id: I5b5d5460f9fe7ed228ab32b2c63cb601be5e1edb
Felipe Leme [Thu, 16 Mar 2017 15:59:50 +0000 (08:59 -0700)]
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
Treehugger Robot [Fri, 17 Mar 2017 02:44:07 +0000 (02:44 +0000)]
Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"
Felipe Leme [Wed, 15 Mar 2017 19:33:01 +0000 (12:33 -0700)]
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
Karthik Ravi Shankar [Fri, 17 Mar 2017 02:34:02 +0000 (02:34 +0000)]
Merge "Add API to get compatibility display id"
Philip P. Moltmann [Fri, 17 Mar 2017 02:23:29 +0000 (02:23 +0000)]
Merge "TRON log important auto-fill events"
Andrii Kulian [Thu, 16 Mar 2017 18:06:24 +0000 (11:06 -0700)]
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
Jakub Pawlowski [Fri, 17 Mar 2017 01:22:36 +0000 (18:22 -0700)]
LE Maximum Advertising Data Length (1/4)
Add ability to check maximum advertising data length.
Bug:
30622771
Test: manual
Change-Id: I281f7e9f294c40a47a67a22809cc753b6693f7c4
Jakub Pawlowski [Fri, 17 Mar 2017 01:21:38 +0000 (01:21 +0000)]
Merge "Bluetooth 5 AdvertisingSet implementation (1/4)" am:
15e69df921 am:
45e0c6ea7f
am:
d2da3a7874
Change-Id: I3b14feb1d470f818b48acf99b32785f653790cc2
TreeHugger Robot [Fri, 17 Mar 2017 01:19:45 +0000 (01:19 +0000)]
Merge "IBiometricsFingerprint uses "default" service name"
TreeHugger Robot [Fri, 17 Mar 2017 01:15:07 +0000 (01:15 +0000)]
Merge "Change vold cryptkeeper permissions to be more sensible"
Jakub Pawlowski [Fri, 17 Mar 2017 01:15:08 +0000 (01:15 +0000)]
Merge "Bluetooth 5 AdvertisingSet implementation (1/4)" am:
15e69df921
am:
45e0c6ea7f
Change-Id: I6975c6629e8c4a7be20f355fdeaba268b33396a2
Jakub Pawlowski [Fri, 17 Mar 2017 01:09:02 +0000 (01:09 +0000)]
Merge "Bluetooth 5 AdvertisingSet implementation (1/4)"
am:
15e69df921
Change-Id: I585fc900b4a153744116fa87764db98b038184d5
Felipe Leme [Thu, 16 Mar 2017 21:36:47 +0000 (14:36 -0700)]
Sets accessibility title for autofill dataset picker.
Bug:
34219631
Test: CtsAutoFillServiceTestCases (with new tests) pass
Change-Id: I9bda820a41ef82e008f2a1ffd32c286b91841c10
Treehugger Robot [Fri, 17 Mar 2017 01:01:15 +0000 (01:01 +0000)]
Merge "Bluetooth 5 AdvertisingSet implementation (1/4)"
Yifan Hong [Fri, 17 Mar 2017 00:58:10 +0000 (00:58 +0000)]
Merge "Start android.frameworks.sensorservice@1.0 in system_server"
Joel Scherpelz [Wed, 15 Mar 2017 06:32:33 +0000 (15:32 +0900)]
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
Derek Sollenberger [Fri, 17 Mar 2017 00:41:12 +0000 (00:41 +0000)]
Merge "Remove usage of deprecated makeImageSnapshot parameter Test: Does it compile?"
TreeHugger Robot [Fri, 17 Mar 2017 00:32:48 +0000 (00:32 +0000)]
Merge "Camera: Enable batching for constrained high speed recording"
Chris Craik [Fri, 17 Mar 2017 00:32:15 +0000 (00:32 +0000)]
Merge "Expose color filter mutate methods"
Jack He [Fri, 17 Mar 2017 00:21:31 +0000 (00:21 +0000)]
Merge "Add a flag that indicates whether in-band ringing is avalable" am:
41f5b61f5d am:
592d78238d
am:
90397ba054
Change-Id: I11c594bb6da104a85a1fd05138e7f224a3d18b09
Jack He [Fri, 17 Mar 2017 00:14:57 +0000 (00:14 +0000)]
Merge "Add a flag that indicates whether in-band ringing is avalable" am:
41f5b61f5d
am:
592d78238d
Change-Id: I47b79c0113f3452df40325df4d96952aa1c7d835
Fyodor Kupolov [Fri, 17 Mar 2017 00:13:58 +0000 (00:13 +0000)]
Merge "Handle stopped users in onCleanupUser"
Jack He [Fri, 17 Mar 2017 00:09:58 +0000 (00:09 +0000)]
Merge "Add a flag that indicates whether in-band ringing is avalable"
am:
41f5b61f5d
Change-Id: I25931f4ed056f6990c6ecb2d9f6629d89610c072
Treehugger Robot [Fri, 17 Mar 2017 00:00:16 +0000 (00:00 +0000)]
Merge "Add a flag that indicates whether in-band ringing is avalable"
Android Build Merger (Role) [Thu, 16 Mar 2017 23:55:57 +0000 (23:55 +0000)]
Merge "Merge "Merge "wifi: add a flag indicating legacy Passpoint configuration" am:
2d87679a11 am:
1228b6cdec" into nyc-mr2-dev-plus-aosp am:
01213393fb"
Yohei Yukawa [Thu, 16 Mar 2017 23:54:19 +0000 (23:54 +0000)]
Merge "Add a compat hack into SurfaceView#setWindowType()"
Peter Qiu [Thu, 16 Mar 2017 23:54:12 +0000 (23:54 +0000)]
Merge "Merge "wifi: add a flag indicating legacy Passpoint configuration" am:
2d87679a11 am:
1228b6cdec" into nyc-mr2-dev-plus-aosp
am:
01213393fb
Change-Id: Ic5ea3f8c8521e818ee771b20cdb4d43875d6daa7
Andrew Zeng [Thu, 16 Mar 2017 23:52:44 +0000 (23:52 +0000)]
Merge "Fix NPE in LockSettingsService." into cw-f-dev am:
4aff3d53ef am:
a01e2212c8
am:
d4e88e2642
Change-Id: Ie7d409e8ef3ec5c3201bcaf0ae125ca71dc10c08
Android Build Merger (Role) [Thu, 16 Mar 2017 23:41:29 +0000 (23:41 +0000)]
Merge "Merge "wifi: add a flag indicating legacy Passpoint configuration" am:
2d87679a11 am:
1228b6cdec" into nyc-mr2-dev-plus-aosp
Roshan Pius [Thu, 16 Mar 2017 18:07:07 +0000 (11:07 -0700)]
WifiConfiguration: Correct documentation for priority
Addressing the concerns raised by API council for deprecating this
field.
Bug:
35854198
Test: make update-api
Change-Id: If9ca582f5d3bd8539a226b425662832241a447cc
Roshan Pius [Thu, 16 Mar 2017 17:59:58 +0000 (10:59 -0700)]
WifiConfiguration: Update psk documentation
Adding some documentation to explain the expected contents of this
field.
Bug:
35967623
Test: make update-api
Change-Id: Ia28e2c79834c4d7b0de7350c18d5f32633e6309d
Andrew Zeng [Thu, 16 Mar 2017 23:40:09 +0000 (23:40 +0000)]
Merge "Fix NPE in LockSettingsService." into cw-f-dev am:
4aff3d53ef
am:
a01e2212c8
Change-Id: Id333403e3a989e233a97760b716055b3abd186d6
Peter Qiu [Thu, 16 Mar 2017 23:39:52 +0000 (23:39 +0000)]
Merge "wifi: add a flag indicating legacy Passpoint configuration" am:
2d87679a11
am:
1228b6cdec
Change-Id: Ifc293108dfdfb503ab7596da657e9768a8fea25d
Glenn Kasten [Thu, 16 Mar 2017 23:37:36 +0000 (23:37 +0000)]
Merge "USB audio: fix imports"
Peter Qiu [Thu, 16 Mar 2017 23:32:33 +0000 (23:32 +0000)]
Merge "wifi: add a flag indicating legacy Passpoint configuration"
am:
2d87679a11
Change-Id: I12bc10c8bf51df93ee7c2c7b770820ca7189527d
Andrew Zeng [Thu, 16 Mar 2017 23:22:05 +0000 (23:22 +0000)]
Merge "Fix NPE in LockSettingsService." into cw-f-dev
am:
4aff3d53ef
Change-Id: I17880622c489df79eeea5116b3afe3c462b06554
Treehugger Robot [Thu, 16 Mar 2017 23:20:44 +0000 (23:20 +0000)]
Merge "wifi: add a flag indicating legacy Passpoint configuration"
Tadashi G. Takaoka [Thu, 16 Mar 2017 23:17:11 +0000 (23:17 +0000)]
Merge "Add has-feature shell command to PackageManagerService"
TreeHugger Robot [Thu, 16 Mar 2017 23:16:28 +0000 (23:16 +0000)]
Merge "Dont send broadcasts to manifest-receivers in IA"
Andrew Zeng [Thu, 16 Mar 2017 23:03:02 +0000 (23:03 +0000)]
Merge "Fix NPE in LockSettingsService." into cw-f-dev
Glenn Kasten [Thu, 16 Mar 2017 23:00:25 +0000 (23:00 +0000)]
Merge "Add units to variable names"
Hyunyoung Song [Thu, 16 Mar 2017 22:51:40 +0000 (22:51 +0000)]
Merge "Add LauncherIcons.AdaptiveIconDrawableWithShadow class to support shadow b/
36088922"
Chris Craik [Wed, 8 Mar 2017 18:55:30 +0000 (10:55 -0800)]
Expose color filter mutate methods
Bug:
36025103
Test: cts-tradefed run singleCommand cts-dev --module CtsGraphicsTestCases
Now, similar to Shaders, we defer native creation until Paint is being
used, and ensure that we have an up to date filter when drawing.
Also implements ColorMatrix#equals to behave like Matrix#equals.
Change-Id: I5f74addd97f5662800802e6f660fead58d518725
Philip P. Moltmann [Sat, 4 Mar 2017 01:22:57 +0000 (17:22 -0800)]
TRON log important auto-fill events
Example log from
android.autofillservice.cts.LoginActivityTest#testAutoFill#testAutoFillOneDatasetAndSave
(translated from numbers of human readable string):
AUTOFILL_SESSION_STARTED
package=android.autofillservice.cts
AUTOFILL_REQUEST
type=TYPE_SUCCESS
package=android.autofillservice.cts
FIELD_AUTOFILL_SERVICE=android.autofillservice.cts
FIELD_AUTOFILL_NUM_DATASETS=1
AUTOFILL_FILL_UI
type=TYPE_ACTION
package=android.autofillservice.cts
FIELD_AUTOFILL_NUM_DATASETS=1
FIELD_AUTOFILL_FILTERTEXT_LEN=0
AUTOFILL_DATASET_APPLIED
package=android.autofillservice.cts
FIELD_AUTOFILL_NUM_VALUES=2
FIELD_AUTOFILL_NUM_VIEWS_FILLED=2
AUTOFILL_SAVE_UI
package=android.autofillservice.cts
FIELD_AUTOFILL_NUM_IDS=2
AUTOFILL_DATA_SAVE_REQUEST
type=TYPE_SUCCESS
package=android.autofillservice.cts
FIELD_AUTOFILL_SERVICE=android.autofillservice.cts
AUTOFILL_SESSION_FINISHED
package=android.autofillservice.cts
Test: Ran auto-fill tests and looked at event log.
Change-Id: I58aaa58e4435e7d04c8cd91878411943d3eb13de
Yohei Yukawa [Thu, 16 Mar 2017 22:34:12 +0000 (15:34 -0700)]
Add a compat hack into SurfaceView#setWindowType()
This is a follow up CL to a previous CL [1] that removed an @hide method
SurfaceView#setWindowType(int).
It turns out that at least one application has relied on this @hide method
via refection to set TYPE_APPLICATION_PANEL to the internal Window object
for some reasons. Such an operation has never ever been allowed to the
application developers.
To minimize the risk of compatibility issues and to help developers and
QA teams figure out what is going on, this CL re-introduces the method in
question to do three things:
1. Show an error message with stack trace in logcat if this method was
still called.
2. To emulate the previous behavior for applications that set
TYPE_APPLICATION_PANEL, call SurfaceView#setZOrderOnTop(true) on behalf
of them as a stop-gap, short-term solution until application developers
are notified that their products are doing something unsupported.
3. Throw an exception if the targetApi is Android O or later.
[1]: Ie56b6f7ab16f32d7fc459b8eba26594337ad55de
d5c7dd6da810a6b89151b337bea79fd817e6b72a
Test: Manually verified that the complaint in Bug
36345857 disappeared
Bug:
36345857
Change-Id: I5217f6417a73690ae8a978754218b7b089070fdd
Todd Kennedy [Thu, 16 Mar 2017 16:51:11 +0000 (09:51 -0700)]
Add new metrics tags
Change-Id: I79c5609237246a2835c41fffed1092f859cbd4d8
Fixes:
35431326
Fixes:
35430849
Test: Manual; the tree builds and the constants can be accessed by other classes
Jack He [Thu, 16 Mar 2017 22:20:41 +0000 (15:20 -0700)]
Add a flag that indicates whether in-band ringing is avalable
* Add a flag in config.xml and symbols.xml to indicate whether in-band
ringing is available on current platform
Bug:
19171297
Test: make, testplans/79248
Change-Id: I7eaa0d838ae25184502587d0bcc73f055d62170d
Yifan Hong [Thu, 16 Mar 2017 22:25:43 +0000 (15:25 -0700)]
IBiometricsFingerprint uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.
Test: fingerprint works
Bug:
33844934
Change-Id: Ie5c03ff0e2fc38a1e41e2c292fc76b7592c33eb7
Jakub Pawlowski [Wed, 15 Mar 2017 19:34:03 +0000 (12:34 -0700)]
Bluetooth 5 AdvertisingSet implementation (1/4)
This patch wires up fist methods of AdvertisingSet, making it possible
to start advertising and stop advertising. It also replaces legacy
implemementation with calls to new implementation.
Bug:
30622771
Test: sl4a ConcurrentBleAdvertisingTest
Change-Id: I80a4b1b2b632d5ef8a80d958615897684cfa0c16
TreeHugger Robot [Thu, 16 Mar 2017 22:16:12 +0000 (22:16 +0000)]
Merge "Don't announce state changes in QS"
Calin Juravle [Thu, 16 Mar 2017 22:03:54 +0000 (22:03 +0000)]
Merge "Register secondary dex files for JIT profiling"
TreeHugger Robot [Thu, 16 Mar 2017 21:48:31 +0000 (21:48 +0000)]
Merge "Clean up some QS user switcher colors"
Android Build Merger (Role) [Thu, 16 Mar 2017 21:41:45 +0000 (21:41 +0000)]
Merge "Merge "Added configuration for VT downgrade/tear down when data disabled" am:
0463a7d38e am:
55f8fb4ec9 am:
8ade276115"
Brad Ebinger [Thu, 16 Mar 2017 21:40:49 +0000 (21:40 +0000)]
Merge "Added configuration for VT downgrade/tear down when data disabled" am:
0463a7d38e am:
55f8fb4ec9
am:
8ade276115
Change-Id: I7499b245fcc5ad7b475b66df38357a0a5b424080
Fyodor Kupolov [Thu, 16 Mar 2017 21:40:28 +0000 (21:40 +0000)]
Merge "Clear mGuestRestrictions before loading from disk"
Bryce Lee [Thu, 16 Mar 2017 21:39:16 +0000 (21:39 +0000)]
Merge "Fix AppWindowTokenTests#testLandscapeSeascapeRotationByPolicy"
TreeHugger Robot [Thu, 16 Mar 2017 21:38:16 +0000 (21:38 +0000)]
Merge "UI updates to dual target tiles"
Brad Ebinger [Thu, 16 Mar 2017 21:34:47 +0000 (21:34 +0000)]
Merge "Added configuration for VT downgrade/tear down when data disabled" am:
0463a7d38e
am:
55f8fb4ec9
Change-Id: Id32407e4ba02989414d393c61661916453a42732
Brad Ebinger [Thu, 16 Mar 2017 21:28:37 +0000 (21:28 +0000)]
Merge "Added configuration for VT downgrade/tear down when data disabled"
am:
0463a7d38e
Change-Id: I4cdb29ef1d2dfd79bb9cf567fda83d56e6f658e4
TreeHugger Robot [Thu, 16 Mar 2017 21:27:35 +0000 (21:27 +0000)]
Merge "Avoid trying to grant non-ephemeral permissions to instant apps"
TreeHugger Robot [Thu, 16 Mar 2017 21:15:12 +0000 (21:15 +0000)]
Merge "Bowing my head in shame, going back to gamma interpolated gradients"
Chad Brubaker [Thu, 16 Mar 2017 18:24:16 +0000 (11:24 -0700)]
Dont send broadcasts to manifest-receivers in IA
Instant Apps should only be started via user interaction and only
support having runtime receivers.
Test: Broadcast not sent to an Instant App
Change-Id: Ic2cfb33e8ca6a99045ad1cfd6c79f7d3e8d41001
Calin Juravle [Thu, 16 Mar 2017 21:02:44 +0000 (21:02 +0000)]
Merge "Move DexLoadReporter out of LoadedApk"
Hyunyoung Song [Mon, 13 Mar 2017 08:23:15 +0000 (01:23 -0700)]
Add LauncherIcons.AdaptiveIconDrawableWithShadow class to support shadow
b/
36088922
Test: Settings app
This utility class can be used to bake shadow in drawable level in
system ui surfaces such as Settings, Overview and ShareSheet.
Change-Id: Iaec867d9ce5b949380c1e5004b68269d1bbeacd4