Commit Graph

354587 Commits

Author SHA1 Message Date
TreeHugger Robot
8f2fffd809 Merge "AAPT2: Store BinaryPrimatives in protos as oneofs" 2018-01-19 01:00:00 +00:00
TreeHugger Robot
f5e25a3052 Merge "Add semantics for accessibility headings" 2018-01-19 00:53:49 +00:00
Bo Zhu
0ee628f47b Merge "Change packVaultParams to use the real vault_handle directly" 2018-01-19 00:44:40 +00:00
TreeHugger Robot
0137f81faf Merge "Update the dimension_in_what/condition field number." 2018-01-19 00:37:42 +00:00
TreeHugger Robot
8d262867e1 Merge "GnssMeasurementsListener - Fix indexing, add & remove" 2018-01-19 00:35:58 +00:00
Yao Chen
d03c598b93 Merge "Revert "Enable init.rc for statsd to start statsd by default in boot time"" 2018-01-19 00:27:36 +00:00
TreeHugger Robot
5ccc664159 Merge "Set ActivityView's rect as tap exclude region" 2018-01-19 00:23:33 +00:00
Yao Chen
5f3dc878dc Revert "Enable init.rc for statsd to start statsd by default in boot time"
This reverts commit 56967528d7.

Change-Id: I4b76bf5783f0df43603e82168009f33296d1f840
2018-01-19 00:12:18 +00:00
Felipe Leme
fd8d8944de Merge "Fixed method name that was changed in a previous CL." 2018-01-19 00:01:25 +00:00
TreeHugger Robot
e45515687f Merge "Add factory for TaskPositioner." 2018-01-19 00:01:04 +00:00
Felipe Leme
e30dcb50ec Fixed method name that was changed in a previous CL.
Bug: 70939974
Test: nope, build is broken, must fix ASAP

Change-Id: I88cf6ccacb5baa097cea26c859b774738bd9b428
2018-01-18 15:58:03 -08:00
Tarandeep Singh
3752fc9e23 Merge "Optimize calls to IME's onStartInput" 2018-01-18 23:51:17 +00:00
Doris Liu
25be4e0461 Merge "Expose some hidden APIs in Choreographer to CTS" 2018-01-18 23:38:49 +00:00
TreeHugger Robot
6047bf4f0d Merge "Implemented shell cmd to get field classification score." 2018-01-18 23:34:00 +00:00
Felipe Leme
db6b0fecb4 Merge "Moved Field Classification score logic to ExtServices." 2018-01-18 23:33:44 +00:00
Leif Wilden
9e1afde8cd Merge "Ensure keyguard is considered unlocked on devices that disable it." 2018-01-18 23:27:37 +00:00
Makoto Onuki
5cc9f721ce Merge "Revert "Add setting/experiment for small battery devices to have"" 2018-01-18 23:10:54 +00:00
TreeHugger Robot
8f09d6ee8f Merge "Don't use transport binder with the lock held" 2018-01-18 23:04:06 +00:00
Mehdi Alizadeh
4604c41114 Merge changes from topic "surface_num_clients_soft_ap"
* changes:
  Adds unregisterSoftApCallback API
  Unit tests for registerSoftApCallback API
  Adds API to register callback for soft AP event
2018-01-18 23:00:03 +00:00
TreeHugger Robot
265fc005c7 Merge "Use LinkedHashMap on CharSequenceTransformation to keep order of insertions." 2018-01-18 22:51:34 +00:00
Mohamed Abdalkader
c5cc226f9e Merge "Move Sms API to proper MMTelFeature class" 2018-01-18 22:51:27 +00:00
Bo Zhu
31ccba1af0 Change packVaultParams to use the real vault_handle directly
Test: adb shell am instrument -w -e package
com.android.server.locksettings.recoverablekeystore
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I5ebe28fddba3d3939a105c696250f3ea68720822
2018-01-18 14:32:36 -08:00
Yangster-mac
16fc72f006 Update the dimension_in_what/condition field number.
Test: statsd unit test passed.

Change-Id: I11aa8a5cfc3bce703cf5ed0d9696d1949df449f0
2018-01-18 14:13:21 -08:00
Phil Weaver
6290fb599a Add semantics for accessibility headings
Adding the ability to mark TextView as a heading, and
to provide a heading depth. Plumbing that through to
accessibility services.

Bug: 34687453
Test: Adding CTS tests for new APIs.
Change-Id: I5262e32a2a11b2577802c68e701d2856e28abc21
2018-01-18 14:13:06 -08:00
Makoto Onuki
12391f22df Revert "Add setting/experiment for small battery devices to have"
This reverts commit 9a60382be1.

Reason for revert: Broke battery saver

Bug: 72168928
Bug: 69259147

Change-Id: I09664653686a51c297224c863c4fc6d1ff7e5caf
Test: Manual test
Test: atest CtsBatterySavingTestCases
2018-01-18 22:05:40 +00:00
TreeHugger Robot
633792e2d3 Merge "Add time until Night Light is on/off as secondary label" 2018-01-18 21:58:38 +00:00
TreeHugger Robot
ef5af2b69f Merge "Move a shared pointer that's going to die anyway." 2018-01-18 21:58:06 +00:00
Tarandeep Singh
75a9239221 Optimize calls to IME's onStartInput
As of today onStartInput is called for every window which gains focus. We
can significantly optimize this by restricting calls only to windows
that have a text editor. However, if input was already started based on
window flags, behavior is unchanged.

This behavior is guarded by debug flag "debug.optimize_startinput" and
is defaulted to true.

Bug: 37617707
Test: atest CtsInputMethodTestCases
Test: Verify following command reverts the behavior: adb root && adb
      shell setprop debug.optimize_startinput false &&
      adb shell cmd input_method refresh_debug_options
Change-Id: Ibf9dab3d9c138b5f04e053d41ee4fd248c78e4da
2018-01-18 21:35:39 +00:00
TreeHugger Robot
b6e7e7531d Merge "Fix crash in EditText#getText" 2018-01-18 21:30:13 +00:00
Ningyuan Wang
2e54e41098 Merge "Remove wifi_allow_scan_with_traffic" 2018-01-18 21:20:51 +00:00
TreeHugger Robot
940ba0c8fe Merge "Rename CrossProfileApps API as per API council feedback" 2018-01-18 21:10:18 +00:00
Tony Mak
b0d22627e9 Rename CrossProfileApps API as per API council feedback
Three changes:
1. android.content.pm.crossprofile - > android.content.pm
2. getProfileSwitchingIcon -> getProfileSwitchingIconDrawable
3. startMainActivity “user” parameter should be named “targetUser”

Test: atest FrameworksServicesTests:com.android.server.pm.CrossProfileAppsServiceImplTest
Test: atest frameworks/base/core/tests/coretests/src/android/content/pm/CrossProfileAppsTest.java
Test: atest cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/CrossProfileAppsHostSideTest.java

FIXES: 71818128

Change-Id: Icf9a6d1f8b6808935ffd79b43185c7b12235f349
2018-01-18 21:07:50 +00:00
Garfield Tan
6caf1d8c2a Add factory for TaskPositioner.
Bug: 64149458
Test: Unit test passes.
Change-Id: I5bcc22f5e51080001c16479f5636a915d4a4309b
2018-01-18 12:51:06 -08:00
TreeHugger Robot
af0c82ea12 Merge "Fixes dock side when rotating to seascape after drag to split" 2018-01-18 20:36:41 +00:00
TreeHugger Robot
881a432d08 Merge "Compute hyphenated word pieces in MeasuredText" 2018-01-18 20:32:54 +00:00
Yao Chen
67462296b1 Merge "Add StatsdStats in statsd's dumpsys" 2018-01-18 20:09:06 +00:00
Wyatt Riley
11cc74913d GnssMeasurementsListener - Fix indexing, add & remove
Safer indexing open requests by IBinder instead of IInterface
Covers GnssNavigationMessage as well.
Also dumping currently open GnssMeasurement & NavMsg requests

Bug: 71917458
Test: Able to repro issue consistently before, fixed after
 logs look as expected as well, on Pixel 2

Change-Id: I2e4722a23355295a5f597541f31a3b77534cadd7
2018-01-18 12:09:03 -08:00
Robert Berry
1ae3cf14c3 Merge "Rename RecoveryManager to RecoveryController" 2018-01-18 20:00:13 +00:00
Calin Juravle
d5d154efcd Merge "Support installation of DexMetadata files (.dm)" 2018-01-18 19:53:54 +00:00
TreeHugger Robot
3aa7e81d38 Merge "Remove work profile off status bar icon" 2018-01-18 19:53:26 +00:00
Howard Ro
2c41460bc8 Merge "Reinstate configs from disk across boots by fixing bugs" 2018-01-18 19:38:38 +00:00
George Burgess IV
b714acb99f Move a shared pointer that's going to die anyway.
This saves us two atomic operations that a copy would cost us (inc +
dec), and hopefully makes some internal tooling -- which yet doesn't
model atomics well -- happy.

Bug: None
Test: Builds
Change-Id: Ic55c3db6af55f45eceaf30c1ee479e9ae70aabb4
2018-01-18 11:33:07 -08:00
Fyodor Kupolov
7bd6319215 Merge "Clarify usage of context in the JavaDoc" 2018-01-18 19:21:00 +00:00
TreeHugger Robot
823e0ede18 Merge "Prevent getting from transit when interesting window is exiting" 2018-01-18 19:20:55 +00:00
Bernardo Rufino
070081bc4f Don't use transport binder with the lock held
There was a deadlock around the transport lock. We registered transports
with the transport lock held, this kicked-off transport onCreate()
synchronously, which called TransportManager
updateTransportAttributes(), which tried to acquire mentioned lock but
couldn't. This CL removes the lock for any call to the transport or
operation that triggers a call to the transport (it was
TransportClient.connect() or its variants).

Test: Load GMSCore before fix, boot, register transports, check no ANR
Test: m -j RunFrameworksServicesRoboTests
Test: adb shell bmgr transport -c <transport>, being registered & not
Bug: 72147303
Change-Id: I72ca145d7fb73c0ef29c4aa1b620fea4969481db
2018-01-18 19:20:49 +00:00
Mehdi Alizadeh
55f3aae053 Adds unregisterSoftApCallback API
Bug: 68712383
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I9d6a52eed722b0b0a159b73d517a9dc4d3f8107c
2018-01-18 11:15:23 -08:00
Mehdi Alizadeh
e59b937088 Unit tests for registerSoftApCallback API
Bug: 68712383
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I1a10f274f50d8eb8b74aec7d2b6c073c0a98e742
2018-01-18 11:15:23 -08:00
Mehdi Alizadeh
0037dde2fd Adds API to register callback for soft AP event
Bug: 68712383
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I270366494500251858fe2ddf6209c7b4bfb5f546
2018-01-18 11:15:23 -08:00
Rohan Shah
785f3d7f14 Add time until Night Light is on/off as secondary label
Added secondary label text for Night Light.

2 modes with 2 text options:
1) Twilight - until sunrise OR on at sunset
2) Custom - until <time> OR on at <time>

Test: Visually tested - tried all 4 variations + manual toggle + updates
Bug:69973398
Change-Id: I5d0d213b470608b7dfa9d6cce0c33be1365e10a0
2018-01-18 11:14:35 -08:00
TreeHugger Robot
8ed2c7f267 Merge changes Iaeb8d9c2,Ifa83ce1d
* changes:
  Fix notification sorting.
  Remove all caps style
2018-01-18 19:10:28 +00:00