OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Fix grant/revoke to act on owner by default and log invalid user id." into...
Svet Ganov [Thu, 14 May 2015 23:25:09 +0000 (23:25 +0000)]
Merge "Fix grant/revoke to act on owner by default and log invalid user id." into mnc-dev

9 years agoFix grant/revoke to act on owner by default and log invalid user id.
Svet Ganov [Thu, 14 May 2015 23:18:05 +0000 (16:18 -0700)]
Fix grant/revoke to act on owner by default and log invalid user id.

bug:21163229

Change-Id: I66d0cc130b37b5752ed06afc73259ed41bfb7830

9 years agoMerge "Adjust lockscreen style to spec" into mnc-dev
Jorim Jaggi [Thu, 14 May 2015 23:15:23 +0000 (23:15 +0000)]
Merge "Adjust lockscreen style to spec" into mnc-dev

9 years agoFix brightness mirror positioning.
Jorim Jaggi [Thu, 14 May 2015 00:39:18 +0000 (17:39 -0700)]
Fix brightness mirror positioning.

Bug: 20884993
Change-Id: Iba75c2dd7aca9b7ac446cb6a278085af4e150b95

9 years agoAdjust lockscreen style to spec
Jorim Jaggi [Thu, 14 May 2015 21:13:20 +0000 (14:13 -0700)]
Adjust lockscreen style to spec

Bug: 21111048
Change-Id: Ibdecaf01224ef45a53b4981d8b79d27034a3df45

9 years agoMerge "Don't keep LayoutlibCallback reference." into mnc-dev
Deepanshu Gupta [Thu, 14 May 2015 22:57:02 +0000 (22:57 +0000)]
Merge "Don't keep LayoutlibCallback reference." into mnc-dev

9 years agoMerge "CEC: Remove obsolete TODOs" into mnc-dev
Jinsuk Kim [Thu, 14 May 2015 22:47:05 +0000 (22:47 +0000)]
Merge "CEC: Remove obsolete TODOs" into mnc-dev

9 years agoDon't keep LayoutlibCallback reference.
Deepanshu Gupta [Thu, 14 May 2015 22:37:29 +0000 (15:37 -0700)]
Don't keep LayoutlibCallback reference.

Switch to the newer API that enables keeping a reference only to the
ParserFactory which is a much leaner object as compared to
LayoutlibCallback.

Change-Id: I9b7afd93226db23786a00b2951cbf5ae5b8f3e5f

9 years agoMerge "[RenderScript] Add dummy getMinorID to maintain compatible with old RS compat...
Miao Wang [Thu, 14 May 2015 22:22:01 +0000 (22:22 +0000)]
Merge "[RenderScript] Add dummy getMinorID to maintain compatible with old RS compat lib." into mnc-dev

9 years agoFix closing state
Jorim Jaggi [Thu, 14 May 2015 00:50:26 +0000 (17:50 -0700)]
Fix closing state

Bug: 20940663
Change-Id: I34e2bf4fb3ba9f9ad15e634c4a09883f57b446b2

9 years agoMerge "Move couple of intellij libraries to project level." into mnc-dev
Deepanshu Gupta [Thu, 14 May 2015 22:18:32 +0000 (22:18 +0000)]
Merge "Move couple of intellij libraries to project level." into mnc-dev

9 years agoMerge "Clarify docs for BackupTransport.initializeDevice()" into mnc-dev
Christopher Tate [Thu, 14 May 2015 22:16:32 +0000 (22:16 +0000)]
Merge "Clarify docs for BackupTransport.initializeDevice()" into mnc-dev

9 years agoMove couple of intellij libraries to project level.
Deepanshu Gupta [Thu, 14 May 2015 22:12:57 +0000 (15:12 -0700)]
Move couple of intellij libraries to project level.

Move framework and layoutlib api libraries back to being project
libraries so that other modules can depend on it. This enables custom
widget libraries project to merge through cleanly.

Change-Id: I4f00d6fb378a80662f32491a2b0061d6bf61899f

9 years agoMerge "Camera: tonemap linkify update" into mnc-dev
Yin-Chia Yeh [Thu, 14 May 2015 22:12:29 +0000 (22:12 +0000)]
Merge "Camera: tonemap linkify update" into mnc-dev

9 years ago[RenderScript] Add dummy getMinorID to maintain compatible with old RS
Miao Wang [Thu, 14 May 2015 21:53:30 +0000 (14:53 -0700)]
[RenderScript] Add dummy getMinorID to maintain compatible with old RS
compat lib.

bug: 21132592
Change-Id: I375f188dfbd33367a9589533aa51b182fda8bc21

9 years agoMerge "ImageReader: Image getFormat should return the Image buffer format" into mnc-dev
Zhijun He [Thu, 14 May 2015 21:46:36 +0000 (21:46 +0000)]
Merge "ImageReader: Image getFormat should return the Image buffer format" into mnc-dev

9 years agoMerge "Image/Reader/Writer: address API review comments" into mnc-dev
Zhijun He [Thu, 14 May 2015 21:43:59 +0000 (21:43 +0000)]
Merge "Image/Reader/Writer: address API review comments" into mnc-dev

9 years agoCEC: Remove obsolete TODOs
Jinsuk Kim [Thu, 14 May 2015 21:28:47 +0000 (06:28 +0900)]
CEC: Remove obsolete TODOs

Removed legacy TODOs and the associated hack to enable CEC service
for buggy partner low-level implementation.

Bug: 21153475
Change-Id: I105f77389dd5c604336f86ce375016fa87c86759

9 years agoImage/Reader/Writer: address API review comments
Zhijun He [Wed, 13 May 2015 19:11:47 +0000 (12:11 -0700)]
Image/Reader/Writer: address API review comments

* Remove isOpaque methods
* Removew ImageReader#newOpaqueInstance
* Rename Writer listener and callback
* Clarify the timestamp spec
* Fix a bug in ImageUtils

Bug: 21044520
Change-Id: Ifb85ef25e4d152c2a445b3369c1e16dc1bc5220c

9 years agoam 08bea4c9: (-s ours) am 627f2681: Merge "Wait for KEY_SLEEP UP event before calling...
Joe LaPenna [Thu, 14 May 2015 21:34:16 +0000 (21:34 +0000)]
am 08bea4c9: (-s ours) am 627f2681: Merge "Wait for KEY_SLEEP UP event before calling goToSleep()" into lmp-mr1-modular-dev

* commit '08bea4c90dce2991ab518bd167a29df8b23f7d1b':
  Wait for KEY_SLEEP UP event before calling goToSleep()

9 years agoMerge "MediaDataSource: address API council comments" into mnc-dev
Chong Zhang [Thu, 14 May 2015 21:29:50 +0000 (21:29 +0000)]
Merge "MediaDataSource: address API council comments" into mnc-dev

9 years agoMediaDataSource: address API council comments
Chong Zhang [Thu, 14 May 2015 17:08:08 +0000 (10:08 -0700)]
MediaDataSource: address API council comments

- throw IOExecption on fatal errors

- add offset argument to readAt

- and fix a crash in MediaExtractor

bug: 21045118
bug: 21163225
Change-Id: I3c0ff42e539868b9374a4f1f3a9852143f68ba68

9 years agoMerge "media: remove setPlaybackRate from MediaPlayer and MediSync" into mnc-dev
Lajos Molnar [Thu, 14 May 2015 21:17:27 +0000 (21:17 +0000)]
Merge "media: remove setPlaybackRate from MediaPlayer and MediSync" into mnc-dev

9 years agoMerge "media: change final fields to accessors in MediaTimestamp" into mnc-dev
Lajos Molnar [Thu, 14 May 2015 21:17:27 +0000 (21:17 +0000)]
Merge "media: change final fields to accessors in MediaTimestamp" into mnc-dev

9 years agoam 627f2681: Merge "Wait for KEY_SLEEP UP event before calling goToSleep()" into...
Joe LaPenna [Thu, 14 May 2015 21:07:54 +0000 (21:07 +0000)]
am 627f2681: Merge "Wait for KEY_SLEEP UP event before calling goToSleep()" into lmp-mr1-modular-dev

* commit '627f26817f752e0e1beb4185e778edc4501b4aa6':
  Wait for KEY_SLEEP UP event before calling goToSleep()

9 years agoMerge "wallpaper: avoid exception when user is not initialized" into mnc-dev
Xiaohui Chen [Thu, 14 May 2015 21:05:35 +0000 (21:05 +0000)]
Merge "wallpaper: avoid exception when user is not initialized" into mnc-dev

9 years agoMerge "Wait for KEY_SLEEP UP event before calling goToSleep()" into lmp-mr1-modular-dev
Joe LaPenna [Thu, 14 May 2015 20:55:08 +0000 (20:55 +0000)]
Merge "Wait for KEY_SLEEP UP event before calling goToSleep()" into lmp-mr1-modular-dev

9 years agoMerge "Camera2: Fix reprocessing API naming and docs" into mnc-dev
Chien-Yu Chen [Thu, 14 May 2015 20:46:35 +0000 (20:46 +0000)]
Merge "Camera2: Fix reprocessing API naming and docs" into mnc-dev

9 years agoMerge "Tiny fix after updating the error reporting API" into mnc-dev
Mikhail Naganov [Thu, 14 May 2015 20:43:04 +0000 (20:43 +0000)]
Merge "Tiny fix after updating the error reporting API" into mnc-dev

9 years agoMerge "Change the location of Brandmaster statement file." into mnc-dev
Joseph Wen [Thu, 14 May 2015 20:31:06 +0000 (20:31 +0000)]
Merge "Change the location of Brandmaster statement file." into mnc-dev

9 years agoTiny fix after updating the error reporting API
Mikhail Naganov [Thu, 14 May 2015 20:30:13 +0000 (13:30 -0700)]
Tiny fix after updating the error reporting API

Temporarily make WebResourceError.getDescription() non-abstract
so the current version of WebView doesn't crash on it.

Bug: 2006400821063767
Change-Id: I15a1abb5df76263006d14eb589fe0076d5aac582

9 years agoMerge "Avoid sealed check when unparceling AccessibilityNodeInfo" into mnc-dev
Alan Viverette [Thu, 14 May 2015 20:20:47 +0000 (20:20 +0000)]
Merge "Avoid sealed check when unparceling AccessibilityNodeInfo" into mnc-dev

9 years agoMerge "Fix issues found during CTS testing of FP16" into mnc-dev
Jason Sams [Thu, 14 May 2015 20:15:39 +0000 (20:15 +0000)]
Merge "Fix issues found during CTS testing of FP16" into mnc-dev

9 years agoChange the location of Brandmaster statement file.
Joseph Wen [Thu, 14 May 2015 18:13:11 +0000 (14:13 -0400)]
Change the location of Brandmaster statement file.

Change the location of statement file for web asset
from /.well-known/associations.json to /.well-known/statements.json.

BUG=21153250

Change-Id: Ie8538b852d62c54254c895e0abadc7f502ea2181

9 years agoMerge "Lock top task if whitelisting arrives after start." into mnc-dev
Craig Mautner [Thu, 14 May 2015 20:03:03 +0000 (20:03 +0000)]
Merge "Lock top task if whitelisting arrives after start." into mnc-dev

9 years agoClarify docs for BackupTransport.initializeDevice()
Christopher Tate [Thu, 14 May 2015 19:54:24 +0000 (12:54 -0700)]
Clarify docs for BackupTransport.initializeDevice()

Explicitly call out that even if the backend is in an undefined state
(such as no authenticated account, so there is by definition no work
that can be done here), the transport should return TRANSPORT_OK in
response to initializeDevice().  Error returns from that method must
only be used to indicate that the initialize should be *retried*.

Bug 21136957

Change-Id: I41ad115b92c16092b4d931d9c554a44b77945359

9 years agoLock top task if whitelisting arrives after start.
Craig Mautner [Wed, 13 May 2015 20:06:11 +0000 (13:06 -0700)]
Lock top task if whitelisting arrives after start.

If the DevicePolicyManagerService updates the whitelist after a task
in the whitelist has started then the task won't have started locked.

When the updated whitelist arrives this change automatically locks the
topmost task if it is in the whitelist.

Also more locktask debugging.

Fixes bug 21031298.

Change-Id: I2494af6f2819ca91bc01abc5decb3d1adc088226

9 years agoMerge "Revert "Update IME focus when the active view is losing the focus."" into...
Wale Ogunwale [Thu, 14 May 2015 19:29:34 +0000 (19:29 +0000)]
Merge "Revert "Update IME focus when the active view is losing the focus."" into mnc-dev

9 years agoAvoid sealed check when unparceling AccessibilityNodeInfo
Alan Viverette [Thu, 14 May 2015 19:26:49 +0000 (12:26 -0700)]
Avoid sealed check when unparceling AccessibilityNodeInfo

Previously the unparceling code relied on addAction(), which would
incorrectly crash if the node was sealed.

Bug: 21135077
Change-Id: I773ac27b2dee501ffea0a0587536a192af402c32

9 years agoRevert "Update IME focus when the active view is losing the focus."
Wale Ogunwale [Thu, 14 May 2015 19:20:53 +0000 (12:20 -0700)]
Revert "Update IME focus when the active view is losing the focus."

This reverts commit 97c381304207013fd95c7806df4dcca0c69006c0.

This causes issue with the right IME window getting focus.

Bug: 21144633
Change-Id: I4c75b6e7dd87c10f008444d2059164b52a8f4335

9 years agomedia: change final fields to accessors in MediaTimestamp
Lajos Molnar [Wed, 13 May 2015 22:30:58 +0000 (15:30 -0700)]
media: change final fields to accessors in MediaTimestamp

Bug: 20887706
Change-Id: Iea0acdeec9dd7e818c80454af639f9480ff6b285

9 years agomedia: remove setPlaybackRate from MediaPlayer and MediSync
Lajos Molnar [Thu, 14 May 2015 19:13:32 +0000 (12:13 -0700)]
media: remove setPlaybackRate from MediaPlayer and MediSync

Condensed them to an internal easyPlaybackParams to create
PlaybackParams from a rate and audio mode.

Bug: 21045118
Change-Id: I89879a3034c905e34cabef8ff0237048e097a8e0

9 years agoMerge "Make Conferenceable an abstract class" into mnc-dev
Yorke Lee [Thu, 14 May 2015 17:32:44 +0000 (17:32 +0000)]
Merge "Make Conferenceable an abstract class" into mnc-dev

9 years agoMerge "Editor: enable double tap for selection after cut/copy." into mnc-dev
Andrei Stingaceanu [Thu, 14 May 2015 17:21:08 +0000 (17:21 +0000)]
Merge "Editor: enable double tap for selection after cut/copy." into mnc-dev

9 years agoMerge "PhoneWindow ActionMode handling tests" into mnc-dev
Clara Bayarri [Thu, 14 May 2015 16:44:45 +0000 (16:44 +0000)]
Merge "PhoneWindow ActionMode handling tests" into mnc-dev

9 years agoMerge "Add example for detectResourceMismatches()" into mnc-dev
Alan Viverette [Thu, 14 May 2015 16:39:18 +0000 (16:39 +0000)]
Merge "Add example for detectResourceMismatches()" into mnc-dev

9 years agoMerge "Revert "Icon support comes to Notification."" into mnc-dev
Daniel Sandler [Thu, 14 May 2015 16:34:52 +0000 (16:34 +0000)]
Merge "Revert "Icon support comes to Notification."" into mnc-dev

9 years agoRevert "Icon support comes to Notification."
Daniel Sandler [Thu, 14 May 2015 15:32:28 +0000 (15:32 +0000)]
Revert "Icon support comes to Notification."

This reverts commit 08a04c15245c970856022d0779aa27d4d63cdee3.
This also reverts commit 5bcbf857d129f4513e562801a4e88077b2655ade.

Change-Id: Ia0b0a5339d523581c877822a3a1feec97ae4b73d

9 years agoam a90cb675: am a0f0b5bf: am 574690b1: Merge "docs: Add weekly subscriptions and...
Joe Fernandez [Thu, 14 May 2015 16:05:33 +0000 (16:05 +0000)]
am a90cb675: am a0f0b5bf: am 574690b1: Merge "docs: Add weekly subscriptions and grace period information to IAB docs" into lmp-mr1-ub-docs

* commit 'a90cb675a53ebf9a749bcaefc19ba00c8cbf7570':
  docs: Add weekly subscriptions and grace period information to IAB docs

9 years agoMerge "New policy for internal and wired device names." into mnc-dev
Paul McLean [Thu, 14 May 2015 15:59:37 +0000 (15:59 +0000)]
Merge "New policy for internal and wired device names." into mnc-dev

9 years agoMerge "Add manufacturer-provided device name for AudioPort name field for BT devices...
Paul McLean [Thu, 14 May 2015 15:59:18 +0000 (15:59 +0000)]
Merge "Add manufacturer-provided device name for AudioPort name field for BT devices. Change "a2dp-device" to empty string for EnumAPI." into mnc-dev

9 years agoam a0f0b5bf: am 574690b1: Merge "docs: Add weekly subscriptions and grace period...
Joe Fernandez [Thu, 14 May 2015 15:53:44 +0000 (15:53 +0000)]
am a0f0b5bf: am 574690b1: Merge "docs: Add weekly subscriptions and grace period information to IAB docs" into lmp-mr1-ub-docs

* commit 'a0f0b5bfd8df9e0caa6848bc479f1ed3dc492efc':
  docs: Add weekly subscriptions and grace period information to IAB docs

9 years agoMerge "Add tracing for path texture upload" into mnc-dev
Chris Craik [Thu, 14 May 2015 15:53:17 +0000 (15:53 +0000)]
Merge "Add tracing for path texture upload" into mnc-dev

9 years agoMerge "Move Android Keystore impl to android.security.keystore." into mnc-dev
Alex Klyubin [Thu, 14 May 2015 15:51:00 +0000 (15:51 +0000)]
Merge "Move Android Keystore impl to android.security.keystore." into mnc-dev

9 years agoam 574690b1: Merge "docs: Add weekly subscriptions and grace period information to...
Joe Fernandez [Thu, 14 May 2015 15:40:38 +0000 (15:40 +0000)]
am 574690b1: Merge "docs: Add weekly subscriptions and grace period information to IAB docs" into lmp-mr1-ub-docs

* commit '574690b13c8f0d4835c6d86b8e26fc4c9b914037':
  docs: Add weekly subscriptions and grace period information to IAB docs

9 years agoPhoneWindow ActionMode handling tests
Clara Bayarri [Thu, 7 May 2015 15:13:41 +0000 (16:13 +0100)]
PhoneWindow ActionMode handling tests

Tests focusing on action mode creation, how the two types of
modes are handled together and how the lifecycle is handled.

Change-Id: I17fe7a83cba4651b295a8ce80bc449f2f2538048

9 years agoMerge "Revert "Revert "Add new MotionEvent actions for button press and release....
Michael Wright [Thu, 14 May 2015 15:31:10 +0000 (15:31 +0000)]
Merge "Revert "Revert "Add new MotionEvent actions for button press and release.""" into mnc-dev

9 years agoMerge "docs: Add weekly subscriptions and grace period information to IAB docs" into...
Joe Fernandez [Thu, 14 May 2015 15:26:36 +0000 (15:26 +0000)]
Merge "docs: Add weekly subscriptions and grace period information to IAB docs" into lmp-mr1-ub-docs

9 years agoMerge "Rename NetworkUsageStats -> NetworkStats" into mnc-dev
Zoltan Szatmary-Ban [Thu, 14 May 2015 15:13:33 +0000 (15:13 +0000)]
Merge "Rename NetworkUsageStats -> NetworkStats" into mnc-dev

9 years agoEditor: enable double tap for selection after cut/copy.
Andrei Stingaceanu [Wed, 29 Apr 2015 13:39:40 +0000 (14:39 +0100)]
Editor: enable double tap for selection after cut/copy.

* detect double tap in the TextView and pass it to Editor.
* add a timer (with getDoubleTapTimeout) for executing the
  single tap job in Editor.
* if double tap is detected then cancel the single tap job.

This way one tap shows the toolbar if within the timeframe
and two taps select the word and show the toolbar.

Bug: 20442587
Change-Id: I0a117939c896fcb13669346e30c9c48d319576dd

9 years agoMerge "Fix icon-related crash." into mnc-dev
Dan Sandler [Thu, 14 May 2015 15:10:01 +0000 (15:10 +0000)]
Merge "Fix icon-related crash." into mnc-dev

9 years agoMerge "Don't display the "no Internet access" prompt on captive portals." into mnc-dev
Lorenzo Colitti [Thu, 14 May 2015 15:07:09 +0000 (15:07 +0000)]
Merge "Don't display the "no Internet access" prompt on captive portals." into mnc-dev

9 years agoMerge "Clear security message on user input" into mnc-dev
Xiyuan Xia [Thu, 14 May 2015 15:05:53 +0000 (15:05 +0000)]
Merge "Clear security message on user input" into mnc-dev

9 years agoam 570b2052: (-s ours) DO NOT MERGE resolved conflicts for merge of 951f2347 to lmp...
John Reck [Thu, 14 May 2015 14:51:06 +0000 (14:51 +0000)]
am 570b2052: (-s ours) DO NOT MERGE resolved conflicts for merge of 951f2347 to lmp-mr1-ub-dev

* commit '570b2052bb8eec8c510941b0a6d77262df28b922':
  Revert "DO NOT MERGE Backport of limited jank-tracking metrics"

9 years agoDon't display the "no Internet access" prompt on captive portals.
Lorenzo Colitti [Thu, 14 May 2015 14:15:10 +0000 (23:15 +0900)]
Don't display the "no Internet access" prompt on captive portals.

Bug: 20081183
Bug: 21066461
Change-Id: Idc71844a604f9ca655411c6916de256780ea4586

9 years agoDO NOT MERGE resolved conflicts for merge of 951f2347 to lmp-mr1-ub-dev
John Reck [Thu, 14 May 2015 14:38:07 +0000 (07:38 -0700)]
DO NOT MERGE resolved conflicts for merge of 951f2347 to lmp-mr1-ub-dev

Change-Id: Ic392bf6f2cf9e9bf526b6ea63a3be7e50420e7d1

9 years agoMerge "Fix: text selection bubbles move along with the text" into mnc-dev
Andrei Stingaceanu [Thu, 14 May 2015 14:27:16 +0000 (14:27 +0000)]
Merge "Fix: text selection bubbles move along with the text" into mnc-dev

9 years agoMerge "clear caller identify before sending system update notification" into mnc-dev
Rubin Xu [Thu, 14 May 2015 14:00:16 +0000 (14:00 +0000)]
Merge "clear caller identify before sending system update notification" into mnc-dev

9 years agoFix icon-related crash.
Dan Sandler [Thu, 14 May 2015 13:42:50 +0000 (09:42 -0400)]
Fix icon-related crash.

Bug: 21144636
Change-Id: Ib686e9a9a18ac6b9f1e249bcde74be9212e0f53b

9 years agoRevert "Revert "Add new MotionEvent actions for button press and release.""
Michael Wright [Thu, 14 May 2015 13:48:08 +0000 (14:48 +0100)]
Revert "Revert "Add new MotionEvent actions for button press and release.""

This reverts commit 96238051621ba2dc8a1c20fa48a00ec6ec4735d6.

9 years agoMerge "Revert "Add new MotionEvent actions for button press and release."" into mnc-dev
Michael Wright [Thu, 14 May 2015 13:47:07 +0000 (13:47 +0000)]
Merge "Revert "Add new MotionEvent actions for button press and release."" into mnc-dev

9 years agoRevert "Add new MotionEvent actions for button press and release."
Michael Wright [Thu, 14 May 2015 13:46:25 +0000 (14:46 +0100)]
Revert "Add new MotionEvent actions for button press and release."

This reverts commit ec0ce51b733f10c620cb9447b074f022d042e31d.

9 years agoMerge "Add new MotionEvent actions for button press and release." into mnc-dev
Michael Wright [Thu, 14 May 2015 13:31:24 +0000 (13:31 +0000)]
Merge "Add new MotionEvent actions for button press and release." into mnc-dev

9 years agoFix: text selection bubbles move along with the text
Andrei Stingaceanu [Thu, 7 May 2015 15:49:49 +0000 (16:49 +0100)]
Fix: text selection bubbles move along with the text

Always hide the selection cursor when showing the
insertion cursor.

Bug: 19857679
Change-Id: I549552fa5026e60f94900364b8194217e0de4b4a

9 years agoAdd new MotionEvent actions for button press and release.
Michael Wright [Fri, 8 May 2015 19:08:04 +0000 (20:08 +0100)]
Add new MotionEvent actions for button press and release.

Introduce ACTION_BUTTON_PRESS and ACTION_BUTTON_RELEASE as actions to
signal a button press or release. If these actions happen
simulanteously with a DOWN or UP event then they're explicitly
ordered to happen after the DOWN or preceding the UP in order to send
them to the most recently targeted view.

Also, introduce new stylus button constants that differ from the
constants we use for mouse buttons.

Bug: 20704355
Change-Id: I5b75e5c5e692171c1c117ee687dd185a0d9dd15c

9 years agoclear caller identify before sending system update notification
Rubin Xu [Thu, 14 May 2015 12:48:35 +0000 (13:48 +0100)]
clear caller identify before sending system update notification

Because DeviceAdminReceiver is protected by BIND_DEVICE_ADMIN permission,
in order to send broadcast to it, we need to clear the caller's identity
and call sendBroadcastAsUser() as system.

Bug: 20213644
Change-Id: Icc7b239b9005e286012ade6580ec92a0a57198e0

9 years agoMerge "Pass charset to XmlPullParser.setInput instead of null" into mnc-dev
Wojciech Staszkiewicz [Thu, 14 May 2015 10:27:23 +0000 (10:27 +0000)]
Merge "Pass charset to XmlPullParser.setInput instead of null" into mnc-dev

9 years agoMerge "Fix floating toolbar popping frequently after Replace/Copy" into mnc-dev
Andrei Stingaceanu [Thu, 14 May 2015 10:23:06 +0000 (10:23 +0000)]
Merge "Fix floating toolbar popping frequently after Replace/Copy" into mnc-dev

9 years agoMerge "Fix build." into mnc-dev
Narayan Kamath [Thu, 14 May 2015 09:34:07 +0000 (09:34 +0000)]
Merge "Fix build." into mnc-dev

9 years agoMerge "Fix: replace terminates extract mode (floating toolbar)" into mnc-dev
Andrei Stingaceanu [Thu, 14 May 2015 09:33:56 +0000 (09:33 +0000)]
Merge "Fix: replace terminates extract mode (floating toolbar)" into mnc-dev

9 years agoMerge "Fix build; doc link in ImageView" into mnc-dev
Chris Banes [Thu, 14 May 2015 09:32:38 +0000 (09:32 +0000)]
Merge "Fix build; doc link in ImageView" into mnc-dev

9 years agoMerge "Tests for WindowDecorActionBar's startActionMode implementation" into mnc-dev
Clara Bayarri [Thu, 14 May 2015 09:28:45 +0000 (09:28 +0000)]
Merge "Tests for WindowDecorActionBar's startActionMode implementation" into mnc-dev

9 years agoFix build.
Narayan Kamath [Thu, 14 May 2015 09:27:41 +0000 (10:27 +0100)]
Fix build.

Broken @link tag in javadoc.

Change-Id: I1452d858eb46c9184903a0110ae645e949db4230

9 years agoTests for WindowDecorActionBar's startActionMode implementation
Clara Bayarri [Thu, 7 May 2015 14:18:27 +0000 (15:18 +0100)]
Tests for WindowDecorActionBar's startActionMode implementation

Change-Id: Ib7a79f3987fd565aabf4c5b093186ec669131522

9 years agoMerge "Tests for ActionBarContainer's startActionModeForChild" into mnc-dev
Clara Bayarri [Thu, 14 May 2015 09:25:25 +0000 (09:25 +0000)]
Merge "Tests for ActionBarContainer's startActionModeForChild" into mnc-dev

9 years agoTests for ActionBarContainer's startActionModeForChild
Clara Bayarri [Wed, 6 May 2015 15:01:57 +0000 (16:01 +0100)]
Tests for ActionBarContainer's startActionModeForChild

Change-Id: Ida782cb72f26689ec49a6674dcaeee7d2fb196d3

9 years agoPass charset to XmlPullParser.setInput instead of null
Wojciech Staszkiewicz [Fri, 8 May 2015 13:58:46 +0000 (14:58 +0100)]
Pass charset to XmlPullParser.setInput instead of null

Passing null to XmlPullParser.setInput forces it to do additional
work, which can be easily avoided if we know the charset beforehand.

bug: b/20849543

Change-Id: Iaff97be9df2d0f99d7af8f19f65934439c9658e2

9 years agoFix build; doc link in ImageView
Chris Banes [Thu, 14 May 2015 09:12:20 +0000 (10:12 +0100)]
Fix build; doc link in ImageView

Change-Id: Ie3057fc2b920f71ff89eee0d3577d21d0e9930c3

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Thu, 14 May 2015 08:58:50 +0000 (08:58 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Thu, 14 May 2015 08:58:19 +0000 (08:58 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Thu, 14 May 2015 08:57:55 +0000 (08:57 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Thu, 14 May 2015 08:57:40 +0000 (08:57 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Thu, 14 May 2015 08:56:14 +0000 (01:56 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0096104dd65eeb3b4e7bf836c09a58f8aa34965e
Auto-generated-cl: translation import

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Thu, 14 May 2015 08:52:48 +0000 (01:52 -0700)]
Import translations. DO NOT MERGE

Change-Id: I39f1448a0cead40a7deadb7769eb14dea658bf0a
Auto-generated-cl: translation import

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Thu, 14 May 2015 08:25:41 +0000 (01:25 -0700)]
Import translations. DO NOT MERGE

Change-Id: I67b89c7404834f90bd632fdb0fa400187902a0f1
Auto-generated-cl: translation import

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Thu, 14 May 2015 08:22:15 +0000 (01:22 -0700)]
Import translations. DO NOT MERGE

Change-Id: I2fd493c8a9420bd2a42011ff69301d2ef0375523
Auto-generated-cl: translation import

9 years agoReplace String host:port/url args with Uri arg
Robin Lee [Tue, 5 May 2015 14:57:17 +0000 (15:57 +0100)]
Replace String host:port/url args with Uri arg

Uri provides a stronger guarantee of well-formedness and lets apps do
nice extra things like specifying scheme etc. without twisting any
expectations.

Bug: 20820034
Change-Id: Ia6bbedb74765444920b667d643fb7e1eb6a7292b

9 years agoMerge "Fix build." into mnc-dev
Deepanshu Gupta [Thu, 14 May 2015 05:21:19 +0000 (05:21 +0000)]
Merge "Fix build." into mnc-dev

9 years agoFix build.
Deepanshu Gupta [Thu, 14 May 2015 05:18:37 +0000 (22:18 -0700)]
Fix build.

When doing the full build, javalib.jar wasn't created. However, mm had
created the javalib.jar. Fix the build by not depending on javalib.jar,
but on classes.jar

Change-Id: I643676b1d73cbfce42946a065a2ada6c50cc959a

9 years agoMerge "Update rendering fidelity tag to use constant." into mnc-dev
Deepanshu Gupta [Thu, 14 May 2015 04:53:00 +0000 (04:53 +0000)]
Merge "Update rendering fidelity tag to use constant." into mnc-dev