OSDN Git Service

android-x86/frameworks-base.git
7 years agoAdded CMAS/ETWS duplicate expiration support
Jack Yu [Thu, 3 Nov 2016 19:24:22 +0000 (12:24 -0700)]
Added CMAS/ETWS duplicate expiration support

Now message duplication detection will only look back messages
for 24 hours by default for all countries, except 1 hour in
Japan.

Test: runtest -x packages/apps/CellBroadcastReceiver/tests/unit

bug: 31171149
Change-Id: I6765c9cebdb3bd9ab6d065f10acbd66047a34d8c

7 years agoMerge "Stop using return within finally"
TreeHugger Robot [Fri, 4 Nov 2016 02:42:08 +0000 (02:42 +0000)]
Merge "Stop using return within finally"

7 years agoMerge "Trust: Add missing cleanup upon removing user"
TreeHugger Robot [Fri, 4 Nov 2016 00:38:10 +0000 (00:38 +0000)]
Merge "Trust: Add missing cleanup upon removing user"

7 years agoMerge "Switch settings command to use "cmd" call on service."
Dianne Hackborn [Fri, 4 Nov 2016 00:15:23 +0000 (00:15 +0000)]
Merge "Switch settings command to use "cmd" call on service."

7 years agoMerge "Order non-app window containers."
TreeHugger Robot [Thu, 3 Nov 2016 23:54:16 +0000 (23:54 +0000)]
Merge "Order non-app window containers."

7 years agoMerge "Doze: Fix broken non-AoD"
TreeHugger Robot [Thu, 3 Nov 2016 23:42:14 +0000 (23:42 +0000)]
Merge "Doze: Fix broken non-AoD"

7 years agoMerge "BT: Don't switch devices when one of the connected BT headsets disconnects...
Andre Eisenbach [Thu, 3 Nov 2016 23:38:59 +0000 (23:38 +0000)]
Merge "BT: Don't switch devices when one of the connected BT headsets disconnects" am: 0bebfe76fc am: 2fe13541ad am: 51d7a455aa
am: 045226008c

Change-Id: Iacd5ae71b6338bcb461ae69cc09e5158fea502dc

7 years agoMerge "BT: Don't switch devices when one of the connected BT headsets disconnects...
Andre Eisenbach [Thu, 3 Nov 2016 23:32:10 +0000 (23:32 +0000)]
Merge "BT: Don't switch devices when one of the connected BT headsets disconnects" am: 0bebfe76fc am: 2fe13541ad
am: 51d7a455aa

Change-Id: Ia5b8bcbb6f42ef939abe71b74327d845e4a11768

7 years agoMerge "BT: Don't switch devices when one of the connected BT headsets disconnects...
Andre Eisenbach [Thu, 3 Nov 2016 23:25:37 +0000 (23:25 +0000)]
Merge "BT: Don't switch devices when one of the connected BT headsets disconnects" am: 0bebfe76fc
am: 2fe13541ad

Change-Id: Iba20aef49c4d34875d8521cba82e6ffc26051ac3

7 years agoMerge "BT: Don't switch devices when one of the connected BT headsets disconnects"
Andre Eisenbach [Thu, 3 Nov 2016 23:22:07 +0000 (23:22 +0000)]
Merge "BT: Don't switch devices when one of the connected BT headsets disconnects"
am: 0bebfe76fc

Change-Id: Ibd4c4f9defec469bb14a282c53d64932123d4905

7 years agoMerge "BT: Don't switch devices when one of the connected BT headsets disconnects"
Andre Eisenbach [Thu, 3 Nov 2016 23:13:17 +0000 (23:13 +0000)]
Merge "BT: Don't switch devices when one of the connected BT headsets disconnects"

7 years agoMerge "Add tests for MagnificationController."
Phil Weaver [Thu, 3 Nov 2016 23:11:50 +0000 (23:11 +0000)]
Merge "Add tests for MagnificationController."

7 years agoMerge "Get rid of Keyguard visibility modifiers on WindowState"
TreeHugger Robot [Thu, 3 Nov 2016 23:08:23 +0000 (23:08 +0000)]
Merge "Get rid of Keyguard visibility modifiers on WindowState"

7 years agoMerge "MediaRecorder: Fix some audio source descriptions"
Jean-Michel Trivi [Thu, 3 Nov 2016 22:34:11 +0000 (22:34 +0000)]
Merge "MediaRecorder: Fix some audio source descriptions"

7 years agoMerge "Fix RenderNodeDrawable to draw nonzero Z nodes when needed"
TreeHugger Robot [Thu, 3 Nov 2016 22:30:07 +0000 (22:30 +0000)]
Merge "Fix RenderNodeDrawable to draw nonzero Z nodes when needed"

7 years agoMerge "Make calls from apps to a11y oneway."
Phil Weaver [Thu, 3 Nov 2016 22:23:23 +0000 (22:23 +0000)]
Merge "Make calls from apps to a11y oneway."

7 years agoTrust: Add missing cleanup upon removing user
Adrian Roos [Thu, 3 Nov 2016 21:46:13 +0000 (14:46 -0700)]
Trust: Add missing cleanup upon removing user

Change-Id: I4a1d9d38344aea54d1f0ae6d6834a45b2e73cb1c
Fixes: 31995569

7 years agoStop using return within finally
Ray Essick [Thu, 3 Nov 2016 21:45:56 +0000 (14:45 -0700)]
Stop using return within finally

Refactor code to avoid a return statement inside a finally block. Such
constructs interfere with exception propagation in non-obvious ways
and are therefore considered bad practice.

Bug: 32586420
Test: manual code walk

7 years agoMerge "Document Subtype additions for ACTION_WIFI_CONNECT, ACTION_WIFI_OFF."
Stephen Chen [Thu, 3 Nov 2016 21:09:45 +0000 (21:09 +0000)]
Merge "Document Subtype additions for ACTION_WIFI_CONNECT, ACTION_WIFI_OFF."

7 years agoBT: Don't switch devices when one of the connected BT headsets disconnects
Satish Kodishala [Mon, 18 Jan 2016 08:53:12 +0000 (14:23 +0530)]
BT: Don't switch devices when one of the connected BT headsets disconnects

Usecase:
1. Enable multi-hf.
2. Connect to HS1.
3. Connect to HS2.
4. Make a call on AG. Here call audio is present on HS2.
5. Now disconnect HS1 from AG.

Failure:
When HS1 is disconnected, call audio is routed to handset/speaker.

Root cause:
When hs1 disconnection intent is received, SCO path is cleared
and audio is routed to handset/speaker.

Fix:
Check if the device being disconnected is same as the device
call audio is present before clearing SCO path.

Change-Id: If83325679b70b5893e44e8d844000ee028d0246c

7 years agoOrder non-app window containers.
Wale Ogunwale [Wed, 2 Nov 2016 23:49:48 +0000 (16:49 -0700)]
Order non-app window containers.

- Add non-app window tokens to the display child container based on
their base layer so the highest based layer is z-ordered on-top.
- Separated DisplayContent.mNonAppWindowContainers into
mAboveAppWindowContainer and mBelowAppWindowContainer where the former
contains non-app windows that should be z-ordered on-top of all app
windows and the later contains non-app windows that should be
z-ordered below app windows.
- Change wallpaper base layer to 1 so that it is always below all other
window types.
- Add Ime related windows/tokens to DisplayContent.mImeWindowContainers
so that we can track them together
- Use alternative binder token when adding window TYPE_INPUT_METHOD_DIALOG
so that it can properly be associated as an IME token in WM vs. with
system_server or sys-ui token.

Test: Existing tests pass.
Bug: 30060889
Change-Id: Ib53e09af12545868c3741d83aaccb7311c872b41

7 years agoMerge "Update service test runner to allow test args" am: 56b92e8191 am: dde9ea21e4...
Etan Cohen [Thu, 3 Nov 2016 20:45:31 +0000 (20:45 +0000)]
Merge "Update service test runner to allow test args" am: 56b92e8191 am: dde9ea21e4 am: 10840d1897
am: be8e13de60

Change-Id: I48302e70e01fb290634f66bd679268fea0ede22d

7 years agoMerge "Update service test runner to allow test args" am: 56b92e8191 am: dde9ea21e4
Etan Cohen [Thu, 3 Nov 2016 20:39:26 +0000 (20:39 +0000)]
Merge "Update service test runner to allow test args" am: 56b92e8191 am: dde9ea21e4
am: 10840d1897

Change-Id: I200c88f0d6d00bef77fe00a59f8e99b3b91f7aa2

7 years agoMerge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev...
Greg Plesur [Thu, 3 Nov 2016 20:37:33 +0000 (20:37 +0000)]
Merge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev am: 343dbac2e0 am: c447d9ef6a
am: 0cbe2e1a5c

Change-Id: I98803fd185b5d523e5aec610d29c112ee78a6254

7 years agoNew Wear devices need to update their DISABLE_LOCKSCREEN_KEY. am: eb2e45369a am:...
Greg Plesur [Thu, 3 Nov 2016 20:36:27 +0000 (20:36 +0000)]
New Wear devices need to update their DISABLE_LOCKSCREEN_KEY. am: eb2e45369a am: a71a0b8da1
am: e44736a819

Change-Id: I36f1980ede5ea483c4750386a7b5905254ce33f8

7 years agoMerge "Update service test runner to allow test args" am: 56b92e8191
Etan Cohen [Thu, 3 Nov 2016 20:32:54 +0000 (20:32 +0000)]
Merge "Update service test runner to allow test args" am: 56b92e8191
am: dde9ea21e4

Change-Id: I59d572e233720ecf0ddc6cbb5893323b563a3241

7 years agoMerge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev...
Greg Plesur [Thu, 3 Nov 2016 20:30:59 +0000 (20:30 +0000)]
Merge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev am: 343dbac2e0
am: c447d9ef6a

Change-Id: I17a831ab2c537c00452f250d151ec3f63b2d6277

7 years agoNew Wear devices need to update their DISABLE_LOCKSCREEN_KEY. am: eb2e45369a
Greg Plesur [Thu, 3 Nov 2016 20:29:55 +0000 (20:29 +0000)]
New Wear devices need to update their DISABLE_LOCKSCREEN_KEY. am: eb2e45369a
am: a71a0b8da1

Change-Id: I9a19eea21e008a9253ea7abbd854b21f4696548c

7 years agoMerge "Update service test runner to allow test args"
Etan Cohen [Thu, 3 Nov 2016 20:26:29 +0000 (20:26 +0000)]
Merge "Update service test runner to allow test args"
am: 56b92e8191

Change-Id: Ib5f44685228bab61d50dea4c5bd226c4b80c2dd1

7 years agoMerge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev
Greg Plesur [Thu, 3 Nov 2016 20:23:29 +0000 (20:23 +0000)]
Merge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev
am: 343dbac2e0

Change-Id: Ia7b6297443c555edc9372e6991784b2a6920d2ba

7 years agoNew Wear devices need to update their DISABLE_LOCKSCREEN_KEY.
Greg Plesur [Thu, 3 Nov 2016 20:23:24 +0000 (20:23 +0000)]
New Wear devices need to update their DISABLE_LOCKSCREEN_KEY.
am: eb2e45369a

Change-Id: I64c1cc38bc38d9d0ee6214a64c6ddfaa57095ce0

7 years agoMerge "Update service test runner to allow test args"
Etan Cohen [Thu, 3 Nov 2016 20:18:53 +0000 (20:18 +0000)]
Merge "Update service test runner to allow test args"

7 years agoMerge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev
Greg Plesur [Thu, 3 Nov 2016 20:15:15 +0000 (20:15 +0000)]
Merge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev

7 years agoMerge "Disable multiwindow support for watch devices by default." into cw-f-dev am...
Michael Kwan [Thu, 3 Nov 2016 20:09:24 +0000 (20:09 +0000)]
Merge "Disable multiwindow support for watch devices by default." into cw-f-dev am: 0d3f740316 am: 10f3eda0fd
am: af03cd3c5b

Change-Id: Ifac814e3904d92dc193dcb17ea9c4bc046ad0272

7 years agoDisable multiwindow support for watch devices by default. am: 1cb6777e51 am: 620a33b827
Michael Kwan [Thu, 3 Nov 2016 20:08:25 +0000 (20:08 +0000)]
Disable multiwindow support for watch devices by default. am: 1cb6777e51 am: 620a33b827
am: 4c5d4dd64d

Change-Id: I8bb789fee47c5b14612ac29ea43fd8ae4e4a7ea5

7 years agoMerge "[NAN-AWARE] Rename NAN to Aware [DO NOT MERGE] am: a61b9fb569 -s ours"
Android Build Merger (Role) [Thu, 3 Nov 2016 20:06:13 +0000 (20:06 +0000)]
Merge "[NAN-AWARE] Rename NAN to Aware [DO NOT MERGE] am: a61b9fb569  -s ours"

7 years agoMerge "Implement onDrawTextBlob in the SkiaCanvasProxy."
TreeHugger Robot [Thu, 3 Nov 2016 20:04:14 +0000 (20:04 +0000)]
Merge "Implement onDrawTextBlob in the SkiaCanvasProxy."

7 years ago[NAN-AWARE] Rename NAN to Aware [DO NOT MERGE]
Etan Cohen [Thu, 3 Nov 2016 20:03:59 +0000 (20:03 +0000)]
[NAN-AWARE] Rename NAN to Aware [DO NOT MERGE]
am: a61b9fb569  -s ours

Change-Id: I40abb81290d255c0369f4356bd78b46f5479a857

7 years agoMerge "Disable multiwindow support for watch devices by default." into cw-f-dev am...
Michael Kwan [Thu, 3 Nov 2016 20:03:55 +0000 (20:03 +0000)]
Merge "Disable multiwindow support for watch devices by default." into cw-f-dev am: 0d3f740316
am: 10f3eda0fd

Change-Id: I5d6ad3b9b5ce63546907f629c289229bf673186d

7 years agoDisable multiwindow support for watch devices by default. am: 1cb6777e51
Michael Kwan [Thu, 3 Nov 2016 20:02:55 +0000 (20:02 +0000)]
Disable multiwindow support for watch devices by default. am: 1cb6777e51
am: 620a33b827

Change-Id: Id2f6d1e2a12c6644f41ed5f535568130139cd355

7 years agoAdd tests for MagnificationController.
Phil Weaver [Mon, 19 Sep 2016 20:51:10 +0000 (13:51 -0700)]
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: 3185595430325691

Change-Id: Ie00e29ae88b75d9fe1016f9d107257c9cf6425bb

7 years agoMerge "Implement Skia pipelines for OpenGL and Vulkan."
TreeHugger Robot [Thu, 3 Nov 2016 19:59:41 +0000 (19:59 +0000)]
Merge "Implement Skia pipelines for OpenGL and Vulkan."

7 years agoMerge "Disable multiwindow support for watch devices by default." into cw-f-dev
Michael Kwan [Thu, 3 Nov 2016 19:56:24 +0000 (19:56 +0000)]
Merge "Disable multiwindow support for watch devices by default." into cw-f-dev
am: 0d3f740316

Change-Id: I7867b0ff72237c7ce216f570034f6f811e5a6abb

7 years agoDisable multiwindow support for watch devices by default.
Michael Kwan [Thu, 3 Nov 2016 19:56:20 +0000 (19:56 +0000)]
Disable multiwindow support for watch devices by default.
am: 1cb6777e51

Change-Id: I9e42480be007387109f9e58efe594dca860e3597

7 years agoMerge "Disable multiwindow support for watch devices by default." into cw-f-dev
Michael Kwan [Thu, 3 Nov 2016 19:48:53 +0000 (19:48 +0000)]
Merge "Disable multiwindow support for watch devices by default." into cw-f-dev

7 years agoMerge "Reference ctable when adopting pointer in Bitmap"
TreeHugger Robot [Thu, 3 Nov 2016 19:43:29 +0000 (19:43 +0000)]
Merge "Reference ctable when adopting pointer in Bitmap"

7 years agoMerge "update callers to newer Skia APIs"
TreeHugger Robot [Thu, 3 Nov 2016 19:27:43 +0000 (19:27 +0000)]
Merge "update callers to newer Skia APIs"

7 years agoDoze: Fix broken non-AoD
Adrian Roos [Thu, 3 Nov 2016 19:11:11 +0000 (12:11 -0700)]
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

7 years agoNew Wear devices need to update their DISABLE_LOCKSCREEN_KEY.
Greg Plesur [Wed, 2 Nov 2016 21:10:27 +0000 (17:10 -0400)]
New Wear devices need to update their DISABLE_LOCKSCREEN_KEY.

Previous versions of Wear forced this flag to "true."

BUG: 32591969
Change-Id: I9619eee5df5f67e92818ef0b7b45ddd2299449f1

7 years agoMake calls from apps to a11y oneway.
Phil Weaver [Thu, 3 Nov 2016 16:34:29 +0000 (09:34 -0700)]
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

7 years agoMerge "Updated JNI interface."
Paulo Casanova [Thu, 3 Nov 2016 18:39:02 +0000 (18:39 +0000)]
Merge "Updated JNI interface."

7 years agoMerge "Added Windows support for aapt/JNI."
Paulo Casanova [Thu, 3 Nov 2016 18:38:19 +0000 (18:38 +0000)]
Merge "Added Windows support for aapt/JNI."

7 years agoMerge "Fixed string array resource"
Robert Greenwalt [Thu, 3 Nov 2016 18:23:29 +0000 (18:23 +0000)]
Merge "Fixed string array resource"

7 years agoMediaRecorder: Fix some audio source descriptions
Jean-Michel Trivi [Thu, 3 Nov 2016 15:55:30 +0000 (08:55 -0700)]
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

7 years agoMerge changes I0d6f2f0c,I278ab8c3
Winson Chung [Thu, 3 Nov 2016 17:48:09 +0000 (17:48 +0000)]
Merge changes I0d6f2f0c,I278ab8c3

* changes:
  Experiment for snapping PIP to closest edge.
  Experiment with allowing tap to break through to interact with the PIP.

7 years agoFix RenderNodeDrawable to draw nonzero Z nodes when needed
Stan Iliev [Wed, 2 Nov 2016 19:29:03 +0000 (15:29 -0400)]
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

7 years agoDocument Subtype additions for ACTION_WIFI_CONNECT, ACTION_WIFI_OFF.
Stephen Chen [Thu, 3 Nov 2016 17:44:32 +0000 (10:44 -0700)]
Document Subtype additions for ACTION_WIFI_CONNECT, ACTION_WIFI_OFF.

Bug: 32371451
Test: n/a
Change-Id: Ib4f0eb49242c9ec248f3e8931ff73d35c2cb1167

7 years agoImplement onDrawTextBlob in the SkiaCanvasProxy.
Derek Sollenberger [Thu, 3 Nov 2016 16:54:06 +0000 (12:54 -0400)]
Implement onDrawTextBlob in the SkiaCanvasProxy.

Test: hwui_unit_tests now pass
Bug: 30353290
Change-Id: I26c98be394e9dbd1cf63fe3eac18cb090403ace7

7 years agoMerge "High speed GPS/GNSS Navigation Information Block" into nyc-mr2-dev am: 8b85444802
Wyatt Riley [Thu, 3 Nov 2016 17:40:28 +0000 (17:40 +0000)]
Merge "High speed GPS/GNSS Navigation Information Block" into nyc-mr2-dev am: 8b85444802
am: df03f37af4

Change-Id: I5a6573d97c501e56e8133e1dc4cda9dceec2aecc

7 years agoHigh speed GPS/GNSS Navigation Information Block am: 5d5bac8383
Wyatt Riley [Thu, 3 Nov 2016 17:39:18 +0000 (17:39 +0000)]
High speed GPS/GNSS Navigation Information Block am: 5d5bac8383
am: 0021090eb9

Change-Id: I77d910e9cfd33d5b4aeabfa0f2c2db7fa73120b4

7 years agoMerge "High speed GPS/GNSS Navigation Information Block" into nyc-mr2-dev
Wyatt Riley [Thu, 3 Nov 2016 17:33:26 +0000 (17:33 +0000)]
Merge "High speed GPS/GNSS Navigation Information Block" into nyc-mr2-dev
am: 8b85444802

Change-Id: I44ba889725acdb43e7eea890cc0bfa9fe3c2b5a6

7 years agoHigh speed GPS/GNSS Navigation Information Block
Wyatt Riley [Thu, 3 Nov 2016 17:33:19 +0000 (17:33 +0000)]
High speed GPS/GNSS Navigation Information Block
am: 5d5bac8383

Change-Id: If8e8576f7e18faf6cb45ff228222c0c34be98d6d

7 years agoImplement Skia pipelines for OpenGL and Vulkan.
Stan Iliev [Wed, 26 Oct 2016 14:30:09 +0000 (10:30 -0400)]
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

7 years agoMerge "High speed GPS/GNSS Navigation Information Block" into nyc-mr2-dev
TreeHugger Robot [Thu, 3 Nov 2016 17:27:05 +0000 (17:27 +0000)]
Merge "High speed GPS/GNSS Navigation Information Block" into nyc-mr2-dev

7 years agoMerge "resolve merge conflicts of 0d16fa4 to master"
TreeHugger Robot [Thu, 3 Nov 2016 17:15:29 +0000 (17:15 +0000)]
Merge "resolve merge conflicts of 0d16fa4 to master"

7 years agoMerge "Add benchmarks for View inflation"
John Reck [Thu, 3 Nov 2016 17:14:53 +0000 (17:14 +0000)]
Merge "Add benchmarks for View inflation"

7 years agoReference ctable when adopting pointer in Bitmap
sergeyv [Thu, 3 Nov 2016 17:00:32 +0000 (10:00 -0700)]
Reference ctable when adopting pointer in Bitmap

Change-Id: I56aea10928f0ec73756ed055488a3e3516a9096e
Test: manual.
bug:3262125432561595

7 years agoupdate callers to newer Skia APIs
Mike Reed [Thu, 3 Nov 2016 16:54:10 +0000 (12:54 -0400)]
update callers to newer Skia APIs

Test: refactoring CL. Existing unit tests still pass.

Change-Id: I47e73e00f14f78dd9d4c48a142ac9853e7e4cad7

7 years agoresolve merge conflicts of 0d16fa4 to master
Torne (Richard Coles) [Thu, 3 Nov 2016 15:09:34 +0000 (15:09 +0000)]
resolve merge conflicts of 0d16fa4 to master

Change-Id: I3c01fe6f5439885d28c6d28415004b26845f06b0

7 years agoMerge "Fix WebViewUpdateServiceTest failures when using Thread without Looper." am...
Richard Coles [Thu, 3 Nov 2016 14:54:09 +0000 (14:54 +0000)]
Merge "Fix WebViewUpdateServiceTest failures when using Thread without Looper." am: be19fe5e8a am: 9c47f5c87a
am: 0092dbabe0

Change-Id: Ic1b2d362c582513ba821f6b9035e1ac91dcfa471

7 years agoMerge "Fix WebViewUpdateServiceTest failures when using Thread without Looper." am...
Richard Coles [Thu, 3 Nov 2016 14:48:05 +0000 (14:48 +0000)]
Merge "Fix WebViewUpdateServiceTest failures when using Thread without Looper." am: be19fe5e8a
am: 9c47f5c87a

Change-Id: Ia5d867468080e0e48a4e5b3c08b1ee627e16cebe

7 years agoMerge "Fix WebViewUpdateServiceTest failures when using Thread without Looper."
Richard Coles [Thu, 3 Nov 2016 14:42:08 +0000 (14:42 +0000)]
Merge "Fix WebViewUpdateServiceTest failures when using Thread without Looper."
am: be19fe5e8a

Change-Id: I85e2e13f395dac085616838670c19ddbedc67e9d

7 years agoMerge "Fix WebViewUpdateServiceTest failures when using Thread without Looper."
Richard Coles [Thu, 3 Nov 2016 14:34:49 +0000 (14:34 +0000)]
Merge "Fix WebViewUpdateServiceTest failures when using Thread without Looper."

7 years agoMerge "Replace test TODOs with ACTION."
Julia Reynolds [Thu, 3 Nov 2016 13:42:26 +0000 (13:42 +0000)]
Merge "Replace test TODOs with ACTION."

7 years agoStop non-DO devices from disabling network logging
Michal Karpinski [Thu, 3 Nov 2016 10:19:23 +0000 (10:19 +0000)]
Stop non-DO devices from disabling network logging

Bug: 32623860
Change-Id: Ia53ce842fffb2a15c16c9535fbe07421ae7f2578

7 years agoUpdated JNI interface.
Paulo Casanova [Tue, 1 Nov 2016 14:50:46 +0000 (14:50 +0000)]
Updated JNI interface.

Added new "ping" method used to detect if the shared
library has already been loaded.

Fixed a few bugs in the implementation (and now it works
from the Java side).

See http://ag/1590668 for the implementation on devtools.

Test: Done on the tools side
Change-Id: Ifa41073dc3b6ac69cdb9f77e655bf261c3b4c3d1

7 years agoAdded Windows support for aapt/JNI.
Paulo Casanova [Tue, 1 Nov 2016 17:07:06 +0000 (17:07 +0000)]
Added Windows support for aapt/JNI.

This includes copying and slightly modifying
libnativehelper's ScopedUtfChars' implementation.

Test: Done in studio-master-dev
Change-Id: I2aacc67b444668478aaa5bb0db991a201c571d1f

7 years agoDisable multiwindow support for watch devices by default.
Michael Kwan [Thu, 3 Nov 2016 08:09:08 +0000 (01:09 -0700)]
Disable multiwindow support for watch devices by default.

Bug: 30120559
Change-Id: I458eac557e38fd32533a98cca7cbbabc5fa08b09

7 years agoGet rid of Keyguard visibility modifiers on WindowState
Jorim Jaggi [Tue, 1 Nov 2016 23:10:42 +0000 (16:10 -0700)]
Get rid of Keyguard visibility modifiers on WindowState

Not needed anymore \o/. Also fixes a flicker when transitioning
between two activities that both set FLAG_LIGHT_STATUS that was
somehow introduced recently.

Test:
- Start an light status bar activity from another activity that
already has light status bar, ensure there is no flicker.
- Open IME and make sure the content gets resized like before.

Change-Id: Ie9c9e1cd40f909c449d36ae436250063af20539e

7 years agoMerge "Fix that bouncer is not focusable if shown without notification shade"
Jorim Jaggi [Thu, 3 Nov 2016 04:17:11 +0000 (04:17 +0000)]
Merge "Fix that bouncer is not focusable if shown without notification shade"

7 years agoMerge "The big Keyguard transition refactor (7/n)"
Jorim Jaggi [Thu, 3 Nov 2016 04:14:14 +0000 (04:14 +0000)]
Merge "The big Keyguard transition refactor (7/n)"

7 years agoMerge "Add traces to systrace when binder tracing is enabled"
TreeHugger Robot [Thu, 3 Nov 2016 03:26:50 +0000 (03:26 +0000)]
Merge "Add traces to systrace when binder tracing is enabled"

7 years agoExperiment for snapping PIP to closest edge.
Winson Chung [Thu, 3 Nov 2016 00:28:03 +0000 (17:28 -0700)]
Experiment for snapping PIP to closest edge.

Test: Enable in SysUI tuner, drag PIP.  This is only experimental to help
      figure out what UX we want to keep.

Change-Id: I0d6f2f0c5909d6a76aae4a8fb84c5076f6996fdd

7 years agoFix that bouncer is not focusable if shown without notification shade
Jorim Jaggi [Thu, 3 Nov 2016 01:11:03 +0000 (18:11 -0700)]
Fix that bouncer is not focusable if shown without notification shade

Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts.KeyguardLockedTests#testDismissKeyguard_fromShowWhenLocked
Change-Id: Ia300cea18b0ed7c9bfe04f3aa051d8a04a6eaedc

7 years agoExperiment with allowing tap to break through to interact with the PIP.
Winson Chung [Thu, 3 Nov 2016 01:11:36 +0000 (18:11 -0700)]
Experiment with allowing tap to break through to interact with the PIP.

Test: Enable SysUI tuner, tap once on PIP to interact with the activity.
      This is only experimental behaviour, and
      android.server.cts.ActivityManagerPinnedStackTests will be updated
      accordingly if we keep this behavior.

Change-Id: I278ab8c360c44718cfcac0fd761f476a875f9b15

7 years agoMerge "Change findPath() to findDocumentPath() in MtpDocumentsProvider."
Dimitry Ivanov [Thu, 3 Nov 2016 00:27:38 +0000 (00:27 +0000)]
Merge "Change findPath() to findDocumentPath() in MtpDocumentsProvider."

7 years agoHigh speed GPS/GNSS Navigation Information Block
Wyatt Riley [Tue, 1 Nov 2016 14:05:16 +0000 (07:05 -0700)]
High speed GPS/GNSS Navigation Information Block

When speed goes above 400m/s, the GnssLocationProvider will
stop output of location, measurements and navigation message.

Test: Several on device tests, see bug for details

Bug: 31711586
Change-Id: I8bceb9a67b10ac7cf21983bb856ed0608957096a

7 years agoMerge "Cleanup dumpstate for CTS tests"
TreeHugger Robot [Thu, 3 Nov 2016 00:21:27 +0000 (00:21 +0000)]
Merge "Cleanup dumpstate for CTS tests"

7 years agoMake SET_TIME_ZONE permission match SET_TIME
Christopher Tate [Thu, 27 Oct 2016 01:06:42 +0000 (18:06 -0700)]
Make SET_TIME_ZONE permission match SET_TIME

That is, SET_TIME_ZONE is now signature|privileged.

Bug 19129180

Test: dumpsys package to verify assignment; clock app works
Change-Id: Id0e16499a00e1f5cfb5bd4d9fb421f93bb283ee1

7 years agoMerge "[DPM] Management and retrieval of network logs"
TreeHugger Robot [Wed, 2 Nov 2016 23:28:07 +0000 (23:28 +0000)]
Merge "[DPM] Management and retrieval of network logs"

7 years agoChange findPath() to findDocumentPath() in MtpDocumentsProvider.
Garfield Tan [Wed, 2 Nov 2016 23:00:17 +0000 (16:00 -0700)]
Change findPath() to findDocumentPath() in MtpDocumentsProvider.

Test: It builds.
Change-Id: If474e766b5680d49a7557f0e7ee1c039eb4efae0

7 years agoAdd traces to systrace when binder tracing is enabled
Jorim Jaggi [Tue, 1 Nov 2016 23:17:22 +0000 (16:17 -0700)]
Add traces to systrace when binder tracing is enabled

If binder tracing is enabled, we also output the class/method name
to systrace. This is the first step toward a system in which we could
show the full stack trace in systrace.

Test:
adb shell am trace-ipc start
python systrace.py
adb shell am trace-ipc stop

Change-Id: I6d0354c9560c4518c84fb3fdb66219b460e69f67

7 years agoThe big Keyguard transition refactor (7/n)
Jorim Jaggi [Fri, 28 Oct 2016 02:57:08 +0000 (19:57 -0700)]
The big Keyguard transition refactor (7/n)

There was some window animation jank because we ran a layout during
the animation, as the SysUI animations are slightly faster, so we
collapsed the window already during the animation which caused
a layout which caused window animation jank.

Bug: 32057734
Change-Id: I296f961be8cfc39b08859b7d3d41f1e81b2eaaa3

7 years agoMerge "Update for hidlized hwservicemanager." am: 8d0c4ed74c am: 8527f13251 am: 0d5da...
Steven Moreland [Wed, 2 Nov 2016 22:39:52 +0000 (22:39 +0000)]
Merge "Update for hidlized hwservicemanager." am: 8d0c4ed74c am: 8527f13251 am: 0d5da175a0
am: 630fc8c4f7

Change-Id: Iac8cf0e85a0595dc87d5118b8150888c866262fe

7 years agoMerge "Update for hidlized hwservicemanager." am: 8d0c4ed74c am: 8527f13251
Steven Moreland [Wed, 2 Nov 2016 22:34:30 +0000 (22:34 +0000)]
Merge "Update for hidlized hwservicemanager." am: 8d0c4ed74c am: 8527f13251
am: 0d5da175a0

Change-Id: I8ed00bc19e120e76e546c2ae0610f8771077a471

7 years agoMerge "Update for hidlized hwservicemanager." am: 8d0c4ed74c
Steven Moreland [Wed, 2 Nov 2016 22:28:28 +0000 (22:28 +0000)]
Merge "Update for hidlized hwservicemanager." am: 8d0c4ed74c
am: 8527f13251

Change-Id: I23ad38482ce6b7aa9857dccd6398af26b46ee46f

7 years agoMerge "Update for hidlized hwservicemanager."
Steven Moreland [Wed, 2 Nov 2016 22:23:45 +0000 (22:23 +0000)]
Merge "Update for hidlized hwservicemanager."
am: 8d0c4ed74c

Change-Id: I8314346b5ac8cf1f2b219580c02117cd6977e6aa

7 years agoMerge "AAPT: fix error message"
TreeHugger Robot [Wed, 2 Nov 2016 22:18:47 +0000 (22:18 +0000)]
Merge "AAPT: fix error message"

7 years agoMerge "Update for hidlized hwservicemanager."
Treehugger Robot [Wed, 2 Nov 2016 22:17:24 +0000 (22:17 +0000)]
Merge "Update for hidlized hwservicemanager."

7 years agoMerge "Fix IApplicationThread transaction codes."
Sudheer Shanka [Wed, 2 Nov 2016 22:00:26 +0000 (22:00 +0000)]
Merge "Fix IApplicationThread transaction codes."