OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Page content sometimes disappears when scrolling a long doc in print preview...
Svetoslav [Wed, 17 Sep 2014 18:52:18 +0000 (18:52 +0000)]
Merge "Page content sometimes disappears when scrolling a long doc in print preview." into lmp-dev

9 years agoPage content sometimes disappears when scrolling a long doc in print preview.
Svetoslav [Tue, 16 Sep 2014 21:41:17 +0000 (14:41 -0700)]
Page content sometimes disappears when scrolling a long doc in print preview.

The operations of the remote renderer have to be performed in order, open,
render some pages, close. One of the tasks was executed on the wrong executor
resuling in a race and an occassional bad state.

Also fixed a NPE if the preview list is flinged and then the user presses
back.

bug:17537922

Change-Id: I5048078ba2b875a2a8335f3a4324afaa34d014a2

9 years agoMerge "Eliminate misleading warning." into lmp-dev
Craig Mautner [Wed, 17 Sep 2014 18:02:43 +0000 (18:02 +0000)]
Merge "Eliminate misleading warning." into lmp-dev

9 years agoMerge "Add optimizations to keep TaskPersister queue small." into lmp-dev
Craig Mautner [Wed, 17 Sep 2014 18:01:45 +0000 (18:01 +0000)]
Merge "Add optimizations to keep TaskPersister queue small." into lmp-dev

9 years agoMerge "Include code when converting unknown causes to string" into lmp-dev
Sailesh Nepal [Wed, 17 Sep 2014 17:33:10 +0000 (17:33 +0000)]
Merge "Include code when converting unknown causes to string" into lmp-dev

9 years agoam 4243ec2a: am 9efd9f60: am fc95c477: docs: edu changes for launch
Robert Ly [Wed, 17 Sep 2014 17:10:01 +0000 (17:10 +0000)]
am 4243ec2a: am 9efd9f60: am fc95c477: docs: edu changes for launch

* commit '4243ec2a84e9e42237e8e5bfd5cfb675f765d84f':
  docs: edu changes for launch

9 years agoam 67267dcf: am 6c6664c9: am a209406f: Merge "Docs: Updated to include new Subscripti...
Andrew Solovay [Wed, 17 Sep 2014 17:09:46 +0000 (17:09 +0000)]
am 67267dcf: am 6c6664c9: am a209406f: Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs

* commit '67267dcf909e080ea3adf902c8a9df115bd1b279':
  Docs: Updated to include new Subscriptions functionality.

9 years agoMerge "Handle premultiplication correctly for ColorMatrixColorFilters" into lmp-dev
Chris Craik [Wed, 17 Sep 2014 17:01:34 +0000 (17:01 +0000)]
Merge "Handle premultiplication correctly for ColorMatrixColorFilters" into lmp-dev

9 years agoHandle premultiplication correctly for ColorMatrixColorFilters
Chris Craik [Wed, 17 Sep 2014 00:32:13 +0000 (17:32 -0700)]
Handle premultiplication correctly for ColorMatrixColorFilters

bug:17405627

Previously, the input content to the color matrix computation was left
premultiplied. Since the color matrix could reduce the alpha channel,
the alpha was re-multiplied, but this was incomplete, and incorrect.

Instead, apply the color matrix in unpremultiplied space.

Change-Id: I87b8e03d2e228e6ded81f7bbfea952605d7a095c

9 years agoEliminate misleading warning.
Craig Mautner [Wed, 17 Sep 2014 16:34:30 +0000 (09:34 -0700)]
Eliminate misleading warning.

Remove token from deferred list of tokens to be removed once token
is removed. Leaving it in the list leads to logging messages like
"WindowManager: removeAppFromTaskLocked: token=AppWindowToken{...
} not found" when an attempt to remove it a second time fails.

Discovered in logs from b/17512377.

Change-Id: Ic83d81841b9b74ae5c4c433d1086d3bbda8e1d64

9 years agoMerge "Add 'adb dpm' subcommand to set profile owner" into lmp-dev
Esteban Talavera [Wed, 17 Sep 2014 15:37:26 +0000 (15:37 +0000)]
Merge "Add 'adb dpm' subcommand to set profile owner" into lmp-dev

9 years agoam 9efd9f60: am fc95c477: docs: edu changes for launch
Robert Ly [Wed, 17 Sep 2014 15:33:16 +0000 (15:33 +0000)]
am 9efd9f60: am fc95c477: docs: edu changes for launch

* commit '9efd9f607006b3e02cda714901884e1ce22475d3':
  docs: edu changes for launch

9 years agoam fc95c477: docs: edu changes for launch
Robert Ly [Wed, 17 Sep 2014 15:19:15 +0000 (15:19 +0000)]
am fc95c477: docs: edu changes for launch

* commit 'fc95c477835f86d99cf8c7ce5c1dd098fa42e69c':
  docs: edu changes for launch

9 years agodocs: edu changes for launch
Robert Ly [Fri, 12 Sep 2014 17:19:40 +0000 (10:19 -0700)]
docs: edu changes for launch

Change-Id: Ia9047138bd9972e572b5dd93310339b630a2810d

9 years agoMerge "SysUI: Add no-wallpaper recents theme for low GFX devices" into lmp-dev
Christoph Studer [Wed, 17 Sep 2014 14:17:31 +0000 (14:17 +0000)]
Merge "SysUI: Add no-wallpaper recents theme for low GFX devices" into lmp-dev

9 years agoMerge "Reorder user icon colors so that the first default is teal" into lmp-dev
Alexandra Gherghina [Wed, 17 Sep 2014 11:49:28 +0000 (11:49 +0000)]
Merge "Reorder user icon colors so that the first default is teal" into lmp-dev

9 years agoSysUI: Add no-wallpaper recents theme for low GFX devices
Christoph Studer [Tue, 16 Sep 2014 18:23:13 +0000 (20:23 +0200)]
SysUI: Add no-wallpaper recents theme for low GFX devices

Also add a config flag to control the theme to apply to RecentsActivity.

Bug: 17522143
Change-Id: I8d03e84e37b77698243673f6c4e676b2c53e0d07

9 years agoAdd optimizations to keep TaskPersister queue small.
Craig Mautner [Wed, 17 Sep 2014 06:57:21 +0000 (23:57 -0700)]
Add optimizations to keep TaskPersister queue small.

CTS tests cause the TaskPersister queue to fill faster than it can
drain. Since it contains screenshots this can consume massive
memory. Monkey may also cause the queue to back up.

Several optimizations are added to drain the queue when it gets
large:
- High water mark to recognize when queue gets too deep. Queue is
completely drained at this point so that obsolete files can be
removed from storage.
- Use Thread.yield() to give the TaskPersister write thread some cpu
cycles.
- Remove images from write queue when TaskRecord is removed from
recents.

May fix bug 17177273.
May fix bug 17381033.

Change-Id: If21c03c8f380e5f6816cf4701a40fcfe34ace3f1

9 years agoam 6c6664c9: am a209406f: Merge "Docs: Updated to include new Subscriptions functiona...
Andrew Solovay [Wed, 17 Sep 2014 06:12:12 +0000 (06:12 +0000)]
am 6c6664c9: am a209406f: Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs

* commit '6c6664c95d7935398909e798e0aad451a2a83b1b':
  Docs: Updated to include new Subscriptions functionality.

9 years agoam a209406f: Merge "Docs: Updated to include new Subscriptions functionality." into...
Andrew Solovay [Wed, 17 Sep 2014 06:01:09 +0000 (06:01 +0000)]
am a209406f: Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs

* commit 'a209406faa1f2b0f1dd7b6e3c5a468729f1c562f':
  Docs: Updated to include new Subscriptions functionality.

9 years agoInclude code when converting unknown causes to string
Sailesh Nepal [Wed, 17 Sep 2014 02:30:32 +0000 (19:30 -0700)]
Include code when converting unknown causes to string

Bug: 17535687
Bug: 17241433
Change-Id: I12f0c3b4334dfcb5ac0cd2439ecab9dc77546680

9 years agoAdd playDtmfTone, stopDtmfTone and setAudioState to RemoteConference
Yorke Lee [Tue, 16 Sep 2014 17:43:06 +0000 (10:43 -0700)]
Add playDtmfTone, stopDtmfTone and setAudioState to RemoteConference

Bug: 17512380
Change-Id: Ie26bef643bdec97f64247b5f8099f2676ae6c63e

9 years agoMerge "Add missing methods to Conference object" into lmp-dev
Yorke Lee [Wed, 17 Sep 2014 03:29:11 +0000 (03:29 +0000)]
Merge "Add missing methods to Conference object" into lmp-dev

9 years agoMerge "Remove ability to enable/disable phoneaccounts (1/6)" into lmp-dev
Nancy Chen [Wed, 17 Sep 2014 03:23:03 +0000 (03:23 +0000)]
Merge "Remove ability to enable/disable phoneaccounts (1/6)" into lmp-dev

9 years agoMerge "Docs: Updated to include new Subscriptions functionality." into klp-modular...
Andrew Solovay [Wed, 17 Sep 2014 02:21:09 +0000 (02:21 +0000)]
Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs

9 years agoMerge "Fix disconnect log printf in ConnectionService." into lmp-dev
Andrew Lee [Wed, 17 Sep 2014 01:52:53 +0000 (01:52 +0000)]
Merge "Fix disconnect log printf in ConnectionService." into lmp-dev

9 years agoMerge "Adjust volume bar visibility in HDMI-CEC system audio mode" into lmp-dev
Jungshik Jang [Wed, 17 Sep 2014 01:29:53 +0000 (01:29 +0000)]
Merge "Adjust volume bar visibility in HDMI-CEC system audio mode" into lmp-dev

9 years agoAdjust volume bar visibility in HDMI-CEC system audio mode
Jungshik Jang [Tue, 16 Sep 2014 02:04:54 +0000 (11:04 +0900)]
Adjust volume bar visibility in HDMI-CEC system audio mode

When HDMI-CEC system audio mode is activated.
1. Hide volume bar when volume button is pressed in TV
2. Show volume bar when TV receives volume notification from
   Audio Receiver.

Otherwise, (system audio mode off) follows normal TV's behavior.

Bug: 17347499

Change-Id: I1f5bc14285d60d8626a8fbbef9e1959cae7d193b

9 years agoMerge "Remove MHL related code." into lmp-dev
Yuncheol Heo [Wed, 17 Sep 2014 01:28:25 +0000 (01:28 +0000)]
Merge "Remove MHL related code." into lmp-dev

9 years agoMerge "Fix a small printf format bug." into lmp-dev
mike dooley [Wed, 17 Sep 2014 01:25:13 +0000 (01:25 +0000)]
Merge "Fix a small printf format bug." into lmp-dev

9 years agoFix disconnect log printf in ConnectionService.
Andrew Lee [Wed, 17 Sep 2014 01:14:59 +0000 (18:14 -0700)]
Fix disconnect log printf in ConnectionService.

Bug: 17534940
Change-Id: I41499701d1f7a3ab0816624d27094c6c86fb5b01

9 years agoRemove MHL related code.
Yuncheol Heo [Wed, 17 Sep 2014 01:15:40 +0000 (10:15 +0900)]
Remove MHL related code.

Bug: 17479050
Change-Id: Id4a76ccf7325c78817d1b3c3460e5dc40e23831b

9 years agoFix a small printf format bug.
mike dooley [Wed, 17 Sep 2014 00:33:40 +0000 (17:33 -0700)]
Fix a small printf format bug.

Bug: 17534940
Change-Id: Idc3c1105c72714f138b07012d0ad9e0bf0ba17f1

9 years agoMerge "Fix issue #17507017: took ~3 seconds to move an app to the foreground" into...
Dianne Hackborn [Wed, 17 Sep 2014 00:14:43 +0000 (00:14 +0000)]
Merge "Fix issue #17507017: took ~3 seconds to move an app to the foreground" into lmp-dev

9 years agoMerge "Fix issue #16662560: SingleTop activity is getting instantiated multiple time...
Dianne Hackborn [Wed, 17 Sep 2014 00:13:37 +0000 (00:13 +0000)]
Merge "Fix issue #16662560: SingleTop activity is getting instantiated multiple time" into lmp-dev

9 years agoMerge "Add NetworkAgent event for ExplicitlySelected" into lmp-dev
Robert Greenwalt [Wed, 17 Sep 2014 00:06:02 +0000 (00:06 +0000)]
Merge "Add NetworkAgent event for ExplicitlySelected" into lmp-dev

9 years agoAdd NetworkAgent event for ExplicitlySelected
Robert Greenwalt [Sun, 7 Sep 2014 23:50:01 +0000 (16:50 -0700)]
Add NetworkAgent event for ExplicitlySelected

Lets Wifi tell us when the user selected this AP vs auto-connected.

bug:17396168
Change-Id: I6e067ab62ed49040629aa31fe07ff880d3d542f0

9 years agoMerge "Fix broken dispatch of onApplyWindowInsets" into lmp-dev
Adrian Roos [Tue, 16 Sep 2014 23:42:38 +0000 (23:42 +0000)]
Merge "Fix broken dispatch of onApplyWindowInsets" into lmp-dev

9 years agoMerge "Pass different dy into dispatchNestedSCroll" into lmp-dev
Brian Attwell [Tue, 16 Sep 2014 23:33:23 +0000 (23:33 +0000)]
Merge "Pass different dy into dispatchNestedSCroll" into lmp-dev

9 years agoMerge "Preserve NPE behavior of removed TextView.getTextColors() API" into lmp-dev
Alan Viverette [Tue, 16 Sep 2014 23:25:07 +0000 (23:25 +0000)]
Merge "Preserve NPE behavior of removed TextView.getTextColors() API" into lmp-dev

9 years agoMerge "Fix TimePicker.setCurrentHour() when argument is 0" into lmp-dev
Alan Viverette [Tue, 16 Sep 2014 23:23:22 +0000 (23:23 +0000)]
Merge "Fix TimePicker.setCurrentHour() when argument is 0" into lmp-dev

9 years agoFix issue #16662560: SingleTop activity is getting instantiated multiple time
Dianne Hackborn [Tue, 16 Sep 2014 18:11:23 +0000 (11:11 -0700)]
Fix issue #16662560: SingleTop activity is getting instantiated multiple time

Introduce a concept of a "root affinity" to a task -- this is the
affinity of the initial activity in the task.  Use this instead of
the current affinity in findTaskLocked(), where we look for an
existing task to use for a NEW_TASK intent.

This changes the semantics of the new "relinquish task identity" mode
so that it doesn't relinquish the root affinity of the task.  This
means when we are in the old style application-based recents matching
of findTaskLocked(), we will never count these tasks as the same as
the application's tasks only because they have relinquished their
identity to that application.  This is probably okay, it is basically
putting a different line between new document-centric recents and
old application-centric recents when they are mixed together.

Change-Id: I73a22ead9bd08e98bf67ad035a017f828c6a6715

9 years agoMerge "Ensure we always have valid colors in CaptionStyle" into lmp-dev
Alan Viverette [Tue, 16 Sep 2014 23:20:27 +0000 (23:20 +0000)]
Merge "Ensure we always have valid colors in CaptionStyle" into lmp-dev

9 years agoMerge "Update the progress bar to square instead of round lineCap" into lmp-dev
ztenghui [Tue, 16 Sep 2014 23:18:36 +0000 (23:18 +0000)]
Merge "Update the progress bar to square instead of round lineCap" into lmp-dev

9 years agoMerge "Report Network status to NetworkAgent." into lmp-dev
Robert Greenwalt [Tue, 16 Sep 2014 22:59:31 +0000 (22:59 +0000)]
Merge "Report Network status to NetworkAgent." into lmp-dev

9 years agoMerge "Restore changes that were needed." into lmp-dev
Craig Mautner [Tue, 16 Sep 2014 22:53:33 +0000 (22:53 +0000)]
Merge "Restore changes that were needed." into lmp-dev

9 years agoEnsure we always have valid colors in CaptionStyle
Alan Viverette [Tue, 16 Sep 2014 22:53:33 +0000 (15:53 -0700)]
Ensure we always have valid colors in CaptionStyle

BUG: 17521623
Change-Id: I861aa189970fc14dd3e4426e5487a14f373d3a2e

9 years agoMerge "Increase clock and calendar haptic feedback durations" into lmp-dev
Alan Viverette [Tue, 16 Sep 2014 22:50:44 +0000 (22:50 +0000)]
Merge "Increase clock and calendar haptic feedback durations" into lmp-dev

9 years agoRestore changes that were needed.
Craig Mautner [Tue, 16 Sep 2014 22:38:47 +0000 (15:38 -0700)]
Restore changes that were needed.

Reverting the changes in ag/548487 also reverted alanv's changes
in ag/547793. This restores alanv's changes.

Fixes build.

Change-Id: Ifa2aa928a3ad29fe49e52dbec4e4833538dfe7e9

9 years agoPass different dy into dispatchNestedSCroll
Brian Attwell [Tue, 16 Sep 2014 21:46:20 +0000 (14:46 -0700)]
Pass different dy into dispatchNestedSCroll

Bug: 16462679
Bug: 17529919
Change-Id: I328457a27507253cc7bfeab0e2daa4d4563aab17

9 years agoUpdate the progress bar to square instead of round lineCap
ztenghui [Tue, 16 Sep 2014 22:37:03 +0000 (15:37 -0700)]
Update the progress bar to square instead of round lineCap

b/17206751

Change-Id: I4125a1e677d2888ad1c3580dc44d5983e623cda7

9 years agoPreserve NPE behavior of removed TextView.getTextColors() API
Alan Viverette [Tue, 16 Sep 2014 22:41:27 +0000 (15:41 -0700)]
Preserve NPE behavior of removed TextView.getTextColors() API

BUG: 17511449
Change-Id: Iea7e9aed69c21b230e3c474d4c1378a8663cfcb1

9 years agoMerge "Revert "Fix various bugs in DatePickerCalendarDelegate"" into lmp-dev
Craig Mautner [Tue, 16 Sep 2014 22:16:29 +0000 (22:16 +0000)]
Merge "Revert "Fix various bugs in DatePickerCalendarDelegate"" into lmp-dev

9 years agoRevert "Fix various bugs in DatePickerCalendarDelegate"
Craig Mautner [Tue, 16 Sep 2014 22:12:47 +0000 (22:12 +0000)]
Revert "Fix various bugs in DatePickerCalendarDelegate"

alanv@ fixed this yesterday.

This reverts commit 82537efa4c5f4aad12b9aa249fb27eda21647f39.

Change-Id: If2b91ee36f8b24f695200ac1a87a306246ee5e44

9 years agoIncrease clock and calendar haptic feedback durations
Alan Viverette [Tue, 16 Sep 2014 22:08:10 +0000 (15:08 -0700)]
Increase clock and calendar haptic feedback durations

Some devices don't handle sub-15ms vibration durations very well.

BUG: 17511995
Change-Id: I2212ed9f37f3446e6f4ac5985906294121d39a9d

9 years agoMerge "Zen: Fix recent regression in mode selection after reboot." into lmp-dev
John Spurlock [Tue, 16 Sep 2014 21:54:01 +0000 (21:54 +0000)]
Merge "Zen: Fix recent regression in mode selection after reboot." into lmp-dev

9 years agoMerge "Add new DisconnectCause class to telecomm." into lmp-dev
Andrew Lee [Tue, 16 Sep 2014 21:43:16 +0000 (21:43 +0000)]
Merge "Add new DisconnectCause class to telecomm." into lmp-dev

9 years agoMerge "Fix various bugs in DatePickerCalendarDelegate" into lmp-dev
Craig Mautner [Tue, 16 Sep 2014 21:30:28 +0000 (21:30 +0000)]
Merge "Fix various bugs in DatePickerCalendarDelegate" into lmp-dev

9 years agoFix broken dispatch of onApplyWindowInsets
Adrian Roos [Tue, 16 Sep 2014 16:37:38 +0000 (18:37 +0200)]
Fix broken dispatch of onApplyWindowInsets

Fixes an issue where window insets were not further dispatched
if all happen to be zero. To prevent further dispatch, the
insets must now be consumed explicitly.

Bug: 17522145
Change-Id: Ia8f6c10c8369b58db7a7cf49f8bcc2cab8e304f1

9 years agoZen: Fix recent regression in mode selection after reboot.
John Spurlock [Tue, 16 Sep 2014 21:02:23 +0000 (17:02 -0400)]
Zen: Fix recent regression in mode selection after reboot.

Bug:17509473
Change-Id: I761cd90384c490c7ab07fb633133535846701ce6

9 years agoFix various bugs in DatePickerCalendarDelegate
Craig Mautner [Tue, 16 Sep 2014 20:57:59 +0000 (13:57 -0700)]
Fix various bugs in DatePickerCalendarDelegate

These bugs were exposed by cts DatePickerTest.

Fixes one item in 17459129.

Change-Id: Ifab52c6e6e760b75633aa4fe8ccf2d724f587e09

9 years agoMerge "Print preview disappearing on screen off/on." into lmp-dev
Svetoslav [Tue, 16 Sep 2014 20:48:15 +0000 (20:48 +0000)]
Merge "Print preview disappearing on screen off/on." into lmp-dev

9 years agoMerge "Use Op package name when creating toasts" into lmp-dev
Amit Mahajan [Tue, 16 Sep 2014 20:47:23 +0000 (20:47 +0000)]
Merge "Use Op package name when creating toasts" into lmp-dev

9 years agoMerge "Always force list divider in DocumentsUI." into lmp-dev
Jeff Sharkey [Tue, 16 Sep 2014 19:44:14 +0000 (19:44 +0000)]
Merge "Always force list divider in DocumentsUI." into lmp-dev

9 years agoAdd new DisconnectCause class to telecomm.
Andrew Lee [Fri, 12 Sep 2014 00:33:16 +0000 (17:33 -0700)]
Add new DisconnectCause class to telecomm.

+ Add a hidden "UNKNOWN" default type to ToneGenerator.
- Hide the Telephony DisconnectCause from the public API.
+ Add a Telecomm DisconnectCause. This is parcelable, and contains
information (code, user facing message, non-user facing reason,
and tone) to help describe the disconnect state and what behaviors
an application can implement for the user experience. This reduces
the causes for a disconnect to a more generic set.
+ Lots of work to pipe this through. DisconnectCause replaces the
code and message which were formerly passed around.

Bug: 17241433
Bug: 17329632
Change-Id: I9d337e478a8784bcc0ade02267c2df52cac9bf17

9 years agoPrint preview disappearing on screen off/on.
Svetoslav [Tue, 16 Sep 2014 18:53:15 +0000 (11:53 -0700)]
Print preview disappearing on screen off/on.

We were not clearing the tracked printer when the print activity is
paused and then not setting the tracked printer when the activity
is resumed.

bug:17525271

Change-Id: Ib0fb29006bfcf5ad03dce24b3407cd96dc421442

9 years agoMerge "Do not change fragments if print activity finishing." into lmp-dev
Svetoslav [Tue, 16 Sep 2014 18:47:44 +0000 (18:47 +0000)]
Merge "Do not change fragments if print activity finishing." into lmp-dev

9 years agoAlways force list divider in DocumentsUI.
Jeff Sharkey [Tue, 16 Sep 2014 18:40:03 +0000 (11:40 -0700)]
Always force list divider in DocumentsUI.

DialogWhenLarge recently dropped the divider.

Bug: 17523958
Change-Id: I7ee3ce6853c01dbd3da6fc3e79ef02681b53df4c

9 years agoTIF: Re-connect the session on package update.
Ji-Hwan Lee [Tue, 16 Sep 2014 15:22:39 +0000 (00:22 +0900)]
TIF: Re-connect the session on package update.

When TIF client tries to connect a session while TV input is being
updated, updateServiceConnectionLocked() may fail to bindServiceAsUser()
and the session state may remain indefinitely until a client tries to
create another session to connect the service.  Reconnect the session by
calling updateServiceConnectionLocked() when package is updated.

Also, remove the session state when client dies before onSessionCreated().
This was causing the stale session in the above scenario (without
reconnection) to be connected to TIS even when client no longer exists.

Bug: 17518751
Change-Id: I5484df0d80c71649d22438521adf182ab59a6ce4

9 years agoMerge "Build LayoutLib tests with Java 6" into lmp-dev
Deepanshu Gupta [Tue, 16 Sep 2014 18:16:20 +0000 (18:16 +0000)]
Merge "Build LayoutLib tests with Java 6" into lmp-dev

9 years agoBuild LayoutLib tests with Java 6
Deepanshu Gupta [Tue, 16 Sep 2014 18:11:36 +0000 (11:11 -0700)]
Build LayoutLib tests with Java 6

Build the layoutlib tests with Java 6, so that we can test LayoutLib on
Java 6 also.

Change-Id: I8ab344af29c880dafdc195d8b061a1d08e724e26

9 years agoMerge "Properly handle dispatchRestoreInstanceState for new-style DatePicker" into...
Alan Viverette [Tue, 16 Sep 2014 17:55:30 +0000 (17:55 +0000)]
Merge "Properly handle dispatchRestoreInstanceState for new-style DatePicker" into lmp-dev

9 years agoMerge "Use RenderThread for navigation bar ripples" into lmp-dev
Jorim Jaggi [Tue, 16 Sep 2014 17:53:26 +0000 (17:53 +0000)]
Merge "Use RenderThread for navigation bar ripples" into lmp-dev

9 years agoRemove ability to enable/disable phoneaccounts (1/6)
Nancy Chen [Tue, 16 Sep 2014 00:58:42 +0000 (17:58 -0700)]
Remove ability to enable/disable phoneaccounts (1/6)

Enabling/disabling of phone accounts was only used for SIP accounts and
is no longer necessary for the purpose it was put in.
- Remove all references to enabling/disabling phone accounts
+ Rename getEnabledPhoneAccounts -> getCallCapablePhoneAccounts

Bug: 17510811

Change-Id: Id805daae3cc698c75f5e747b6a6107ab0bd3afa0

9 years agoUse RenderThread for navigation bar ripples
Jorim Jaggi [Mon, 15 Sep 2014 15:20:08 +0000 (17:20 +0200)]
Use RenderThread for navigation bar ripples

Bug: 17506181
Change-Id: Icf3b80f8c4bc29fe85313381d4019dda3ef85ea9

9 years agoDo not change fragments if print activity finishing.
Svetoslav [Tue, 16 Sep 2014 17:50:52 +0000 (10:50 -0700)]
Do not change fragments if print activity finishing.

It is possible that we try to switch framents after the print
activity finish method is called. In this state the activity
is going away and trying to perform a fragment operation throws.
Now if we are finishing no fragment opration is performed.

bug:17520007

Change-Id: I0dd935d3cdaeddca31fccf49bd5de97e878abb9d

9 years agoMerge "Fixed an RTL overlapping issue in volume settings." into lmp-dev
PauloftheWest [Tue, 16 Sep 2014 17:49:38 +0000 (17:49 +0000)]
Merge "Fixed an RTL overlapping issue in volume settings." into lmp-dev

9 years agoMerge "Fix static AID prefix registration." into lmp-dev
Martijn Coenen [Tue, 16 Sep 2014 17:40:29 +0000 (17:40 +0000)]
Merge "Fix static AID prefix registration." into lmp-dev

9 years agoFixed an RTL overlapping issue in volume settings.
PauloftheWest [Tue, 16 Sep 2014 17:29:51 +0000 (10:29 -0700)]
Fixed an RTL overlapping issue in volume settings.

Bug: 17468763
Change-Id: Iea9b769013e4551f8b523a08a229ed7804b275f5

9 years agoUse Op package name when creating toasts
Tony Hill [Tue, 16 Sep 2014 10:27:35 +0000 (11:27 +0100)]
Use Op package name when creating toasts

Some components may be running in processes other than their
base package using android:process directives. The op package
name must therefore be used otherwise the AppOps check will fail
due to a mismatch between the base package name and the UID.

Bug: 17431423
Change-Id: I429aa46066935b964151a2ec0854f0e14c117c4e

9 years agoFix static AID prefix registration.
Martijn Coenen [Tue, 16 Sep 2014 17:09:12 +0000 (10:09 -0700)]
Fix static AID prefix registration.

Bug: 16517161
Change-Id: Ibaddf8720907f1d28d44231d927f538628bbf9d0

9 years agoMerge "Properly redispatch systemUiVisibility flags" into lmp-dev
Adrian Roos [Tue, 16 Sep 2014 16:39:44 +0000 (16:39 +0000)]
Merge "Properly redispatch systemUiVisibility flags" into lmp-dev

9 years agoam 6641ddf6: am d00b110a: am e152b793: docs: remove fire and forget language from...
Robert Ly [Tue, 16 Sep 2014 16:24:17 +0000 (16:24 +0000)]
am 6641ddf6: am d00b110a: am e152b793: docs: remove fire and forget language from wear docs

* commit '6641ddf6711a7f521df6492db167598ec33d2487':
  docs: remove fire and forget language from wear docs

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Tue, 16 Sep 2014 15:18:22 +0000 (15:18 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Tue, 16 Sep 2014 15:17:07 +0000 (15:17 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Tue, 16 Sep 2014 15:16:38 +0000 (15:16 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoReorder user icon colors so that the first default is teal
Alexandra Gherghina [Tue, 16 Sep 2014 15:13:56 +0000 (16:13 +0100)]
Reorder user icon colors so that the first default is teal

Bug: 17487264
Change-Id: I562fc32d6e7f4b8263d8c3e433035d97335c8787

9 years agoMerge "AID prefix registration." into lmp-dev
Martijn Coenen [Tue, 16 Sep 2014 14:55:03 +0000 (14:55 +0000)]
Merge "AID prefix registration." into lmp-dev

9 years agoProperly redispatch systemUiVisibility flags
Adrian Roos [Mon, 15 Sep 2014 14:54:24 +0000 (16:54 +0200)]
Properly redispatch systemUiVisibility flags

Fixes two bugs introduced by change
I7bd32531130d199c0734ffcb800194e77b7e16c3:

When the system window insets consumed by DecorView
change as a result of changing flags, the insets must
be redispatched to the hierarchy.

Also fixes a bug where, as a result of removing the wrong
implication of the SYSTEM_UI_FLAG_LAYOUT_STABLE flag by
FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS, the status bar was
being forced to black when returning from recents.

Bug: 17489047
Bug: 15046646
Change-Id: I127b0ff3b17c4873a7c28d67020f84298ed09db2

9 years agoDoze: Workaround vibration-related pickup gestures.
John Spurlock [Tue, 16 Sep 2014 13:12:03 +0000 (09:12 -0400)]
Doze: Workaround vibration-related pickup gestures.

Ensure the pickup is registered a safe period of time after the
last notification before resetting the notification pulse schedule.

Bug:17496795
Change-Id: I0edc9bcbdf078cbf55df5935744a3eee7e902b5d

9 years agoAdd 'adb dpm' subcommand to set profile owner
Esteban Talavera [Mon, 15 Sep 2014 18:05:48 +0000 (19:05 +0100)]
Add 'adb dpm' subcommand to set profile owner

Required for GTS tests. Needed to relax the restriction that
only root user can run 'pm create-user' as GTS tests can't
get root permissions.

Bug: 17312478
Change-Id: I1841286ddf51756c73018c087a5f29afeb5b9f15

9 years agoMerge "Make the playback device pass CEC CTS." into lmp-dev
Yuncheol Heo [Tue, 16 Sep 2014 07:41:22 +0000 (07:41 +0000)]
Merge "Make the playback device pass CEC CTS." into lmp-dev

9 years agoMake the playback device pass CEC CTS.
Yuncheol Heo [Tue, 16 Sep 2014 06:53:59 +0000 (15:53 +0900)]
Make the playback device pass CEC CTS.

- Clear the logical address on the hotplug event.
- Don't reset mIsActiveSource flag on the hotplug event.

Bug: 17517438
Change-Id: Id129a9cce30323090ce21bbfc188b955bd32755b

9 years agoMerge "Missing or wrong pages in preview when scorlling large docs." into lmp-dev
Svetoslav [Tue, 16 Sep 2014 06:19:58 +0000 (06:19 +0000)]
Merge "Missing or wrong pages in preview when scorlling large docs." into lmp-dev

9 years agoMissing or wrong pages in preview when scorlling large docs.
Svetoslav [Tue, 16 Sep 2014 04:03:28 +0000 (21:03 -0700)]
Missing or wrong pages in preview when scorlling large docs.

The bound pages in the adapter were not properly tracked, more
specifically we did not remove pages from the bound set ending
up in a bad state. Also when the printer changes and if the
new one has different page size the content disappears due to
us not notifying for the data set change.

bug:17515670

Change-Id: Iac74e864609012f6804584fa133e87c27dc186a5

9 years agoMerge "Set user agent for XTRA download according to carrier specification. Bug:...
Tsuwei Chen [Tue, 16 Sep 2014 03:50:00 +0000 (03:50 +0000)]
Merge "Set user agent for XTRA download according to carrier specification. Bug: 17056380 Change-Id: Iacb90d4780f35fa6875702889d4a5f02610768b7" into lmp-dev

9 years agoProperly handle dispatchRestoreInstanceState for new-style DatePicker
Alan Viverette [Tue, 16 Sep 2014 02:27:55 +0000 (19:27 -0700)]
Properly handle dispatchRestoreInstanceState for new-style DatePicker

Fixes reversed day/month/year in restore instance state.

BUG: 17514055
Change-Id: Id839f2f0dbca47034dc84100dbeb1c32e8848178

9 years agoMerge "Page shredder callback invoked on the wrong thread." into lmp-dev
Svetoslav [Tue, 16 Sep 2014 02:22:21 +0000 (02:22 +0000)]
Merge "Page shredder callback invoked on the wrong thread." into lmp-dev

9 years agoMerge "Update print preview when a printer becomes available" into lmp-dev
Svetoslav [Tue, 16 Sep 2014 02:21:58 +0000 (02:21 +0000)]
Merge "Update print preview when a printer becomes available" into lmp-dev

9 years agoAdd missing methods to Conference object
Yorke Lee [Tue, 16 Sep 2014 02:18:13 +0000 (19:18 -0700)]
Add missing methods to Conference object

Add setAudioState, onPlayDtmf and onStopDtmf to the conference object.
This fixes DTMF tones for conference calls.

Bug: 17512380
Change-Id: Ice9403d3d750131f077a3ea129b7f67430c68348