Commit Graph

301953 Commits

Author SHA1 Message Date
Greg Plesur
e44736a819 New Wear devices need to update their DISABLE_LOCKSCREEN_KEY. am: eb2e45369a
am: a71a0b8da1

Change-Id: I9a19eea21e008a9253ea7abbd854b21f4696548c
2016-11-03 20:29:55 +00:00
Etan Cohen
dde9ea21e4 Merge "Update service test runner to allow test args"
am: 56b92e8191

Change-Id: Ib5f44685228bab61d50dea4c5bd226c4b80c2dd1
2016-11-03 20:26:29 +00:00
Greg Plesur
c447d9ef6a Merge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev
am: 343dbac2e0

Change-Id: Ia7b6297443c555edc9372e6991784b2a6920d2ba
2016-11-03 20:23:29 +00:00
Greg Plesur
a71a0b8da1 New Wear devices need to update their DISABLE_LOCKSCREEN_KEY.
am: eb2e45369a

Change-Id: I64c1cc38bc38d9d0ee6214a64c6ddfaa57095ce0
2016-11-03 20:23:24 +00:00
Etan Cohen
56b92e8191 Merge "Update service test runner to allow test args" 2016-11-03 20:18:53 +00:00
Greg Plesur
343dbac2e0 Merge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev 2016-11-03 20:15:21 +00:00
Michael Kwan
46998bc3b2 Merge "Disable multiwindow support for watch devices by default." into cw-f-dev am: 0d3f740316 am: 10f3eda0fd
am: af03cd3c5b

Change-Id: Ifac814e3904d92dc193dcb17ea9c4bc046ad0272
2016-11-03 20:09:24 +00:00
Michael Kwan
e3dbcb7ed7 Disable multiwindow support for watch devices by default. am: 1cb6777e51 am: 620a33b827
am: 4c5d4dd64d

Change-Id: I8bb789fee47c5b14612ac29ea43fd8ae4e4a7ea5
2016-11-03 20:08:25 +00:00
Android Build Merger (Role)
17d807b75d Merge "[NAN-AWARE] Rename NAN to Aware [DO NOT MERGE] am: a61b9fb569 -s ours" 2016-11-03 20:06:16 +00:00
TreeHugger Robot
18da04ed2c Merge "Implement onDrawTextBlob in the SkiaCanvasProxy." 2016-11-03 20:04:18 +00:00
Etan Cohen
b694f5edfb [NAN-AWARE] Rename NAN to Aware [DO NOT MERGE]
am: a61b9fb569  -s ours

Change-Id: I40abb81290d255c0369f4356bd78b46f5479a857
2016-11-03 20:03:59 +00:00
Michael Kwan
af03cd3c5b Merge "Disable multiwindow support for watch devices by default." into cw-f-dev am: 0d3f740316
am: 10f3eda0fd

Change-Id: I5d6ad3b9b5ce63546907f629c289229bf673186d
2016-11-03 20:03:55 +00:00
Michael Kwan
4c5d4dd64d Disable multiwindow support for watch devices by default. am: 1cb6777e51
am: 620a33b827

Change-Id: Id2f6d1e2a12c6644f41ed5f535568130139cd355
2016-11-03 20:02:55 +00:00
Phil Weaver
89e3ffc66c Add tests for MagnificationController.
Also refactoring the class to make it easier to test and
chaning behavior where the current behavior seemed poorly
defined.

Refactoring:
- Combined all handlers into one.
- Simplified animation to use a ValueAnimator.
- Eliminated ACCESSIBILITY_DISPLAY_MAGNIFICATION_AUTO_UPDATE
  setting. Move rest of settings reading into mockable class.
- Move callbacks from WindowManager into the main class.
- Pulled out my instrumented Handler from the
  MotionEventInjectorTest into its own class so I can reuse
  it.

Behavior changes:
- Always constraining out-of-bounds values rather than
  refusing to change them.
- Constraining offsets on bounds changes. We previously
  left them alone, even if they were out of bounds.
- Keeping track of the animation starting point. We were
  interpolating between the current magnification spec
  and the final one. This change means the magnification
  animates to a different profile.

Test: This CL adds tests. I've also run a11y CTS.

Bugs: 31855954, 30325691

Change-Id: Ie00e29ae88b75d9fe1016f9d107257c9cf6425bb
2016-11-03 13:00:47 -07:00
TreeHugger Robot
40800725d2 Merge "Implement Skia pipelines for OpenGL and Vulkan." 2016-11-03 19:59:46 +00:00
Michael Kwan
10f3eda0fd Merge "Disable multiwindow support for watch devices by default." into cw-f-dev
am: 0d3f740316

Change-Id: I7867b0ff72237c7ce216f570034f6f811e5a6abb
2016-11-03 19:56:24 +00:00
Michael Kwan
620a33b827 Disable multiwindow support for watch devices by default.
am: 1cb6777e51

Change-Id: I9e42480be007387109f9e58efe594dca860e3597
2016-11-03 19:56:20 +00:00
Michael Kwan
0d3f740316 Merge "Disable multiwindow support for watch devices by default." into cw-f-dev 2016-11-03 19:48:59 +00:00
TreeHugger Robot
1106b82ea1 Merge "Reference ctable when adopting pointer in Bitmap" 2016-11-03 19:43:33 +00:00
TreeHugger Robot
c96468b062 Merge "update callers to newer Skia APIs" 2016-11-03 19:27:47 +00:00
Adrian Roos
803f33a109 Doze: Fix broken non-AoD
Fixes a bug where non-AoD doze mode
was broken.

Test: adb shell settings put secure doze_always_on 0 && echo "Test that double-tap / pickup gestures work"
Change-Id: If2720eea5081fb9f88bfe0346ec829b241532b29
2016-11-03 12:26:45 -07:00
Michael Kwan
ef945b6706 DO NOT MERGE ANYWHERE Add supports-multiwindow command to am.
The supports-multiwindow command allows the ability to
check if the device has multiwindow support in the shell.

Bug: 30120559
Change-Id: I466e28d8a794fa457826a6526ef9ef660cd3856c
2016-11-03 19:18:21 +00:00
Greg Plesur
eb2e45369a New Wear devices need to update their DISABLE_LOCKSCREEN_KEY.
Previous versions of Wear forced this flag to "true."

BUG: 32591969
Change-Id: I9619eee5df5f67e92818ef0b7b45ddd2299449f1
2016-11-03 15:01:19 -04:00
Michael Kwan
040b4826c2 DO NOT MERGE ANYWHERE Add supports-multiwindow command to am.
The supports-multiwindow command allows the ability to
check if the device has multiwindow support in the shell.

Bug: 30120559
Change-Id: I466e28d8a794fa457826a6526ef9ef660cd3856c
2016-11-03 19:00:00 +00:00
Phil Weaver
ba6285f63d Make calls from apps to a11y oneway.
Saves about 300us for each AccessibilityEvent sent, which
translates to 1 ms in gfx-avg-frame-time in the
QuickSettingsPull.

Test: Ran a11y cts and unit tests. Ran systrace and the
QuickSettingsPull to measure jank improvement.
Change-Id: I6d219b0e82c21047e50d402d930d8a5cc93fa6ad
2016-11-03 11:41:45 -07:00
Paulo Casanova
573cccfea7 Merge "Updated JNI interface." 2016-11-03 18:39:04 +00:00
Paulo Casanova
eff7a8e4aa Merge "Added Windows support for aapt/JNI." 2016-11-03 18:38:22 +00:00
Robert Greenwalt
86ff822b1f Merge "Fixed string array resource" 2016-11-03 18:23:33 +00:00
Fyodor Kupolov
c200bb7be4 Send BOOT_COMPLETED when updating system apps
Previously, when a system app was updated, it wasn't getting
BOOT_COMPLETED broadcast.
sendPackageAddedForUser was extended to support multiple userIds and also
send LOCKED_BOOT_COMPLETED. handlePackagePostInstall is now using the same
method as installExistingPackageAsUser

Test: pm install --user X -r systemAppV2.apk
Bug: 32242899
Change-Id: I75fe955aaf02d0a4c80b3604e3ef82316bf5dbc0
2016-11-03 11:07:50 -07:00
Tyler Gunn
ee669d2774 Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount.
Adding companion PhoneAccount capability which is used to indicate when a
PhoneAccount supports video calling.  That is, whether it can potentially
make video calls, but not necessarily at the current time.

This is an often requested OEM enhancement which is used to drive UX (e.g.
imagine a video calling icon showing up if the device supports video, but
only being enabled when the device is in range of a VT capable tower).

See bug for reference to design doc.

Bug: 27328615
Change-Id: I08fc18950e6d35a8a7df47ce37aa2326624b9fd3
2016-11-03 18:02:41 +00:00
Jean-Michel Trivi
5d1828ee40 MediaRecorder: Fix some audio source descriptions
voice recognition: it is always available
camcorder: "main microphone" doesn't mean anything
communication: there is no requirement for this source
  to behave like the default preset.

Test: make offline-sdk-docs
Bug: 32451872

Change-Id: I1a2f196977e547feebb031a98b0f0e560f0557d5
2016-11-03 18:00:50 +00:00
Marco Nelissen
20edcbc89c Use libaudioclient
Test: build/boot
Change-Id: I7c730bfd47297f311e00798b5927888ddc3f5062
2016-11-03 10:58:33 -07:00
Winson Chung
34f47747f7 Merge changes I0d6f2f0c,I278ab8c3
* changes:
  Experiment for snapping PIP to closest edge.
  Experiment with allowing tap to break through to interact with the PIP.
2016-11-03 17:48:12 +00:00
Stan Iliev
2f06e8ad1a Fix RenderNodeDrawable to draw nonzero Z nodes when needed
Fix RenderNodeDrawable to draw nonzero Z nodes if not in a reordering
section.
Write an unit test modeled after FrameBuilder zReorder, which
verifies the bug fix.

Test: built and run unit tests on angler-eng.
bug: 32541103
Change-Id: Ifbf2d51f4432f5de3af4abe5987c2a72fed14185
2016-11-03 13:44:41 -04:00
Stephen Chen
0d14da39c9 Document Subtype additions for ACTION_WIFI_CONNECT, ACTION_WIFI_OFF.
Bug: 32371451
Test: n/a
Change-Id: Ib4f0eb49242c9ec248f3e8931ff73d35c2cb1167
2016-11-03 10:44:32 -07:00
Derek Sollenberger
09bd6c201d Implement onDrawTextBlob in the SkiaCanvasProxy.
Test: hwui_unit_tests now pass
Bug: 30353290
Change-Id: I26c98be394e9dbd1cf63fe3eac18cb090403ace7
2016-11-03 17:41:44 +00:00
Wyatt Riley
609f164295 Merge "High speed GPS/GNSS Navigation Information Block" into nyc-mr2-dev am: 8b85444802
am: df03f37af4

Change-Id: I5a6573d97c501e56e8133e1dc4cda9dceec2aecc
2016-11-03 17:40:28 +00:00
Wyatt Riley
f405b08210 High speed GPS/GNSS Navigation Information Block am: 5d5bac8383
am: 0021090eb9

Change-Id: I77d910e9cfd33d5b4aeabfa0f2c2db7fa73120b4
2016-11-03 17:39:18 +00:00
Wyatt Riley
df03f37af4 Merge "High speed GPS/GNSS Navigation Information Block" into nyc-mr2-dev
am: 8b85444802

Change-Id: I44ba889725acdb43e7eea890cc0bfa9fe3c2b5a6
2016-11-03 17:33:26 +00:00
Wyatt Riley
0021090eb9 High speed GPS/GNSS Navigation Information Block
am: 5d5bac8383

Change-Id: If8e8576f7e18faf6cb45ff228222c0c34be98d6d
2016-11-03 17:33:19 +00:00
Stan Iliev
500a0c30d4 Implement Skia pipelines for OpenGL and Vulkan.
Implement Skia pipelines for OpenGL and Vulkan:
base SkiaPipeline, SkiaOpenGLPipeline and SkiaVulkanPipeline.
Write unit tests for SkiaPipeline.

Test: Built and run manually on angler-eng.
Change-Id: Ie02583426cb3547541ad9bf91700602a6163ff58
2016-11-03 13:28:49 -04:00
TreeHugger Robot
8b85444802 Merge "High speed GPS/GNSS Navigation Information Block" into nyc-mr2-dev 2016-11-03 17:27:10 +00:00
Przemyslaw Szczepaniak
d96bbb238f Track libcore change Ib691c81b158ec37419a903bfa4261a12139fbff7
Test: CtsLibcoreTestCases
Bug: 29935305
Change-Id: Iccbcfce86e31e37378d45b82574cb29cceff7823
2016-11-03 17:25:37 +00:00
TreeHugger Robot
dae5015851 Merge "resolve merge conflicts of 0d16fa4 to master" 2016-11-03 17:15:33 +00:00
John Reck
f0503b0b6f Merge "Add benchmarks for View inflation" 2016-11-03 17:14:57 +00:00
sergeyv
003f142562 Reference ctable when adopting pointer in Bitmap
Change-Id: I56aea10928f0ec73756ed055488a3e3516a9096e
Test: manual.
bug:32621254, 32561595
2016-11-03 10:04:28 -07:00
Mike Reed
ab12c1fe73 update callers to newer Skia APIs
Test: refactoring CL. Existing unit tests still pass.

Change-Id: I47e73e00f14f78dd9d4c48a142ac9853e7e4cad7
2016-11-03 12:58:42 -04:00
Torne (Richard Coles)
ab5d0ba22e resolve merge conflicts of 0d16fa4 to master
Change-Id: I3c01fe6f5439885d28c6d28415004b26845f06b0
2016-11-03 15:09:34 +00:00
Richard Coles
0d16fa4096 Merge "Fix WebViewUpdateServiceTest failures when using Thread without Looper." am: be19fe5e8a am: 9c47f5c87a
am: 0092dbabe0

Change-Id: Ic1b2d362c582513ba821f6b9035e1ac91dcfa471
2016-11-03 14:54:09 +00:00
Richard Coles
0092dbabe0 Merge "Fix WebViewUpdateServiceTest failures when using Thread without Looper." am: be19fe5e8a
am: 9c47f5c87a

Change-Id: Ia5d867468080e0e48a4e5b3c08b1ee627e16cebe
2016-11-03 14:48:05 +00:00