310849 Commits

Author SHA1 Message Date
Jack He
e7739053f0 Merge "Add a flag that indicates whether in-band ringing is avalable" am: 41f5b61f5d am: 592d78238d
am: 90397ba054

Change-Id: I11c594bb6da104a85a1fd05138e7f224a3d18b09
2017-03-17 00:21:31 +00:00
Jack He
90397ba054 Merge "Add a flag that indicates whether in-band ringing is avalable" am: 41f5b61f5d
am: 592d78238d

Change-Id: I47b79c0113f3452df40325df4d96952aa1c7d835
2017-03-17 00:14:57 +00:00
Fyodor Kupolov
ef1ab44024 Merge "Handle stopped users in onCleanupUser" 2017-03-17 00:14:03 +00:00
Jack He
592d78238d Merge "Add a flag that indicates whether in-band ringing is avalable"
am: 41f5b61f5d

Change-Id: I25931f4ed056f6990c6ecb2d9f6629d89610c072
2017-03-17 00:09:58 +00:00
Treehugger Robot
41f5b61f5d Merge "Add a flag that indicates whether in-band ringing is avalable" 2017-03-17 00:00:16 +00:00
Android Build Merger (Role)
abac7a6758 Merge "Merge "Merge "wifi: add a flag indicating legacy Passpoint configuration" am: 2d87679a11 am: 1228b6cdec" into nyc-mr2-dev-plus-aosp am: 01213393fb" 2017-03-16 23:56:01 +00:00
Yohei Yukawa
7e44218f54 Merge "Add a compat hack into SurfaceView#setWindowType()" 2017-03-16 23:54:23 +00:00
Peter Qiu
b1aff6b190 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
2017-03-16 23:54:12 +00:00
Andrew Zeng
18a8af21b5 Merge "Fix NPE in LockSettingsService." into cw-f-dev am: 4aff3d53ef am: a01e2212c8
am: d4e88e2642

Change-Id: Ie7d409e8ef3ec5c3201bcaf0ae125ca71dc10c08
2017-03-16 23:52:44 +00:00
Android Build Merger (Role)
01213393fb Merge "Merge "wifi: add a flag indicating legacy Passpoint configuration" am: 2d87679a11 am: 1228b6cdec" into nyc-mr2-dev-plus-aosp 2017-03-16 23:41:35 +00:00
Roshan Pius
26300afd75 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
2017-03-16 16:41:12 -07:00
Roshan Pius
a3406db72c WifiConfiguration: Update psk documentation
Adding some documentation to explain the expected contents of this
field.

Bug: 35967623
Test: make update-api
Change-Id: Ia28e2c79834c4d7b0de7350c18d5f32633e6309d
2017-03-16 16:41:04 -07:00
Andrew Zeng
d4e88e2642 Merge "Fix NPE in LockSettingsService." into cw-f-dev am: 4aff3d53ef
am: a01e2212c8

Change-Id: Id333403e3a989e233a97760b716055b3abd186d6
2017-03-16 23:40:09 +00:00
Peter Qiu
5b6543f2c0 Merge "wifi: add a flag indicating legacy Passpoint configuration" am: 2d87679a11
am: 1228b6cdec

Change-Id: Ifc293108dfdfb503ab7596da657e9768a8fea25d
2017-03-16 23:39:52 +00:00
Glenn Kasten
24b7831f8b Merge "USB audio: fix imports" 2017-03-16 23:37:42 +00:00
Peter Qiu
1228b6cdec Merge "wifi: add a flag indicating legacy Passpoint configuration"
am: 2d87679a11

Change-Id: I12bc10c8bf51df93ee7c2c7b770820ca7189527d
2017-03-16 23:32:33 +00:00
Andrew Zeng
a01e2212c8 Merge "Fix NPE in LockSettingsService." into cw-f-dev
am: 4aff3d53ef

Change-Id: I17880622c489df79eeea5116b3afe3c462b06554
2017-03-16 23:22:05 +00:00
Treehugger Robot
2d87679a11 Merge "wifi: add a flag indicating legacy Passpoint configuration" 2017-03-16 23:20:45 +00:00
Tadashi G. Takaoka
576de9fb77 Merge "Add has-feature shell command to PackageManagerService" 2017-03-16 23:17:15 +00:00
TreeHugger Robot
cd1c654af1 Merge "Dont send broadcasts to manifest-receivers in IA" 2017-03-16 23:16:34 +00:00
Andrew Zeng
4aff3d53ef Merge "Fix NPE in LockSettingsService." into cw-f-dev 2017-03-16 23:03:06 +00:00
Glenn Kasten
967e832200 Merge "Add units to variable names" 2017-03-16 23:00:29 +00:00
Hyunyoung Song
5d0a358b62 Merge "Add LauncherIcons.AdaptiveIconDrawableWithShadow class to support shadow b/36088922" 2017-03-16 22:51:43 +00:00
Chris Craik
6097eca721 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
2017-03-16 15:45:43 -07:00
Philip P. Moltmann
7b77116802 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
2017-03-16 15:41:33 -07:00
Yohei Yukawa
3b5011afc9 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
2017-03-16 15:34:12 -07:00
Todd Kennedy
7e5407ec43 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
2017-03-16 15:26:20 -07:00
Jack He
317f5043ba 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
2017-03-16 22:26:00 +00:00
Yifan Hong
25d5eaa14c 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
2017-03-16 15:25:43 -07:00
Jakub Pawlowski
5f00f173fb 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
2017-03-16 22:17:09 +00:00
TreeHugger Robot
e74f59aef9 Merge "Don't announce state changes in QS" 2017-03-16 22:16:16 +00:00
Calin Juravle
f18cec265d Merge "Register secondary dex files for JIT profiling" 2017-03-16 22:03:58 +00:00
TreeHugger Robot
321c5a19c7 Merge "Clean up some QS user switcher colors" 2017-03-16 21:48:34 +00:00
Android Build Merger (Role)
2ab300ccfa Merge "Merge "Added configuration for VT downgrade/tear down when data disabled" am: 0463a7d38e am: 55f8fb4ec9 am: 8ade276115" 2017-03-16 21:41:48 +00:00
Brad Ebinger
430240aa55 Merge "Added configuration for VT downgrade/tear down when data disabled" am: 0463a7d38e am: 55f8fb4ec9
am: 8ade276115

Change-Id: I7499b245fcc5ad7b475b66df38357a0a5b424080
2017-03-16 21:40:49 +00:00
Fyodor Kupolov
d249e0892a Merge "Clear mGuestRestrictions before loading from disk" 2017-03-16 21:40:32 +00:00
Bryce Lee
6b9b130c98 Merge "Fix AppWindowTokenTests#testLandscapeSeascapeRotationByPolicy" 2017-03-16 21:39:21 +00:00
TreeHugger Robot
43c43f2d4a Merge "UI updates to dual target tiles" 2017-03-16 21:38:20 +00:00
Brad Ebinger
8ade276115 Merge "Added configuration for VT downgrade/tear down when data disabled" am: 0463a7d38e
am: 55f8fb4ec9

Change-Id: Id32407e4ba02989414d393c61661916453a42732
2017-03-16 21:34:47 +00:00
Brad Ebinger
55f8fb4ec9 Merge "Added configuration for VT downgrade/tear down when data disabled"
am: 0463a7d38e

Change-Id: I4cdb29ef1d2dfd79bb9cf567fda83d56e6f658e4
2017-03-16 21:28:37 +00:00
TreeHugger Robot
4fd6eb6192 Merge "Avoid trying to grant non-ephemeral permissions to instant apps" 2017-03-16 21:27:38 +00:00
TreeHugger Robot
f596ba9375 Merge "Bowing my head in shame, going back to gamma interpolated gradients" 2017-03-16 21:15:15 +00:00
Chad Brubaker
abd2b66e96 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
2017-03-16 14:04:18 -07:00
Calin Juravle
2257285aef Merge "Move DexLoadReporter out of LoadedApk" 2017-03-16 21:02:48 +00:00
Hyunyoung Song
547010ff86 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
2017-03-16 13:51:28 -07:00
TreeHugger Robot
2bd3c49eb4 Merge "Add feature tag android.hardware.vr.headtracking." 2017-03-16 20:28:03 +00:00
TreeHugger Robot
8a03952d86 Merge "Fixing issue with IME not showing after PiP menu is shown." 2017-03-16 20:27:38 +00:00
Selim Cinek
35cb746e1d Merge changes I414b9a5f,I0a08b06b
* changes:
  Fixed a bug where the notifications could get stuck animating
  Better messaging style wrapping
2017-03-16 20:25:02 +00:00
Doris Liu
6a7256fc98 Merge "Fix 0 duration scale for pre-O apps" 2017-03-16 20:10:45 +00:00
Felipe Leme
ea0a092de6 Merge "Temporarily removed check for null requiredIds on SaveInfo builder." 2017-03-16 20:03:37 +00:00