OSDN Git Service

android-x86/frameworks-base.git
9 years agoSkStream is no longer a ref counted object.
Leon Scroggins III [Tue, 20 Jan 2015 20:52:43 +0000 (15:52 -0500)]
SkStream is no longer a ref counted object.

With https://codereview.chromium.org/849103004/, SkStream is no longer
ref counted. Change callers that currently unref() SkStreams to one of
either:
- delete the stream
- pass ownership of the stream

screencap.cpp:
Call EncodeData directly, bypassing SkDynamicMemoryWStream and SkBitmap.

Utils.cpp:
Write directly to an SkData, and then use that to construct a new
SkStream.

Cherry-pick of a change that originally landed in master-skia and is
dependent on a skia merge (ag/655422).

Change-Id: Idc99ad7d5a70c893dc012d59915216f301ab3c9d

9 years agoMerge "Allow polling for WindowInsets."
Filip Gruszczynski [Thu, 12 Mar 2015 15:12:43 +0000 (15:12 +0000)]
Merge "Allow polling for WindowInsets."

9 years agoMerge "AudioService: Write base stream volume changes to the event log."
John Spurlock [Thu, 12 Mar 2015 14:50:27 +0000 (14:50 +0000)]
Merge "AudioService: Write base stream volume changes to the event log."

9 years agoMerge "Make QS use SettingsLib's BT code"
Jason Monk [Thu, 12 Mar 2015 14:23:49 +0000 (14:23 +0000)]
Merge "Make QS use SettingsLib's BT code"

9 years agoAudioService: Write base stream volume changes to the event log.
John Spurlock [Tue, 10 Mar 2015 20:00:54 +0000 (16:00 -0400)]
AudioService: Write base stream volume changes to the event log.

 - Add a new volume_changed event, reported at the stream level.
 - Only include changes to base streams (no aliases).
 - Include the caller for each change.  A caller is either:
   -  a pkg name (for external calls or known media sessions)
   -  a system server class's log tag (for internal calls,
      disambiguates "android")

Bug: 19599935
Change-Id: Ia61b68ff1e7e2907a24972790ec052bfe099e665

9 years agoMerge "Make Bitmap_createFromParcel check the color count."
Leon Scroggins III [Thu, 12 Mar 2015 12:24:10 +0000 (12:24 +0000)]
Merge "Make Bitmap_createFromParcel check the color count."

9 years agoMove the "Replace" popup option to the Text Selection ActionMode.
Clara Bayarri [Mon, 2 Mar 2015 16:09:09 +0000 (16:09 +0000)]
Move the "Replace" popup option to the Text Selection ActionMode.

As a first step in unifying the cut/copy/paste ActionMode in Editor
with the paste/replace popup, I'm moving the replace option to
the CAB ActionMode. Paste is already there, so for now all options
are together.

Missing things to address in upcoming CLs:
- Invoke the ActionMode in all cases where the popup shows up now,
ensuring only the options that are currently available show up.
- Get rid of the current popup
- Make the ActionMode a floating toolbar (pending feature completion)
- Define a keyboard shortcut for replace?

Note that since the ActionMode still shows up in the ActionBar and
replace has no icon it now appears as text and takes up lots of
space. This will improve when we can switch to using a floating
toolbar.

Change-Id: Ib6b60bae9b58e4db96b9c4cee556e19d3f1bb466

9 years agoMerge "Add rename support to FingerprintManager"
Jim Miller [Thu, 12 Mar 2015 01:20:05 +0000 (01:20 +0000)]
Merge "Add rename support to FingerprintManager"

9 years agoAdd rename support to FingerprintManager
Jim Miller [Thu, 12 Mar 2015 00:41:58 +0000 (17:41 -0700)]
Add rename support to FingerprintManager

Bug 19592835

Change-Id: I656b3932caf2cfdb9a330522d171a59af2c7a2d1

9 years agoFix 64-bit MessageQueue JNI build
Greg Hackmann [Wed, 11 Mar 2015 23:47:15 +0000 (16:47 -0700)]
Fix 64-bit MessageQueue JNI build

Change-Id: I75b3788e7dcece4a2d64d969a10d28e7a9593cd6
Signed-off-by: Greg Hackmann <ghackmann@google.com>
9 years agoMerge "Don't run full backups on stopped packages"
Christopher Tate [Wed, 11 Mar 2015 23:36:49 +0000 (23:36 +0000)]
Merge "Don't run full backups on stopped packages"

9 years agoDon't run full backups on stopped packages
Christopher Tate [Wed, 11 Mar 2015 21:16:15 +0000 (14:16 -0700)]
Don't run full backups on stopped packages

We already decline to run key/value backup passes for (participating)
apps that are in the 'stopped' state.  Now we also properly avoid
full-data backup passes on such apps.

Bug 19684052

Change-Id: Ieafc07b5531a91a243d57238c53db41ad3459140

9 years agoam 20553036: am 68694780: Merge "[ActivityManager] Fix index OOB when resetting remov...
Craig Mautner [Wed, 11 Mar 2015 23:02:44 +0000 (23:02 +0000)]
am 20553036: am 68694780: Merge "[ActivityManager] Fix index OOB when resetting removed task"

* commit '20553036af92a6369b3e53f54a1f4f0ccaf8e981':
  [ActivityManager] Fix index OOB when resetting removed task

9 years agoUpdate ParcelFileDescriptor to use non-blocking I/O.
Jeff Brown [Wed, 11 Mar 2015 01:38:48 +0000 (18:38 -0700)]
Update ParcelFileDescriptor to use non-blocking I/O.

Avoids spinning up a thread just to watch a file descriptor.

Bug: 10349083
Change-Id: I814cb252f075d7a162e1286bbfd1dbec28d17796

9 years agoAdd support for non-blocking I/O with Looper.
Jeff Brown [Fri, 6 Mar 2015 02:21:06 +0000 (18:21 -0800)]
Add support for non-blocking I/O with Looper.

Bug: 10349083
Change-Id: I4a94b1eac53df57c05103913bd593d92b1e062d7

9 years agoExpose some useful methods on Looper and clean up docs.
Jeff Brown [Thu, 5 Mar 2015 18:52:53 +0000 (10:52 -0800)]
Expose some useful methods on Looper and clean up docs.

Change-Id: I40796c3ba07d3c50043da56e835f11fbf9852d30

9 years agoMove sync barrier methods into MessageQueue.
Jeff Brown [Thu, 26 Feb 2015 23:34:16 +0000 (15:34 -0800)]
Move sync barrier methods into MessageQueue.

The methods were previously defined on Looper but on reflection
they actually make more sense on the MessageQueue instead since
the Looper class is primarily concerned with thread lifecycle
rather than the actual messages themselves.

Change-Id: Iff356b94754fc9960774fa17e3eec9604229cba6

9 years agoRename Looper::isIdling() to isPolling() to resolve confusion.
Jeff Brown [Thu, 26 Feb 2015 22:43:53 +0000 (14:43 -0800)]
Rename Looper::isIdling() to isPolling() to resolve confusion.

The loop isn't technically idle at this time, it's just checking
whether any file descriptors have pending events.  However it's
still a good signal as to whether the loop is alive.

Added a real isIdle() function.

Bug: 19532373
Change-Id: Idd273e8774f469ccafb00d560818cf279dfd6ba6

9 years agoMerge "Fix XML parsing crash in SettingsProvider"
Raph Levien [Wed, 11 Mar 2015 21:50:02 +0000 (21:50 +0000)]
Merge "Fix XML parsing crash in SettingsProvider"

9 years agoFix XML parsing crash in SettingsProvider
Raph Levien [Wed, 11 Mar 2015 21:09:26 +0000 (14:09 -0700)]
Fix XML parsing crash in SettingsProvider

A previous change added more whitespace to settings_global.xml to
improve human readability, but the parser is overly picky in ignoring
whitespace. This patch makes it accept all whitespace strings.

Bug: 19696812
Change-Id: I3ebb8f6df2e25f4e6b6841da743be3f3a91e2442

9 years agoMerge "Fix dialog overlay theme background color, add theme attr"
Alan Viverette [Wed, 11 Mar 2015 21:24:45 +0000 (21:24 +0000)]
Merge "Fix dialog overlay theme background color, add theme attr"

9 years agoFix dialog overlay theme background color, add theme attr
Alan Viverette [Wed, 11 Mar 2015 21:21:14 +0000 (14:21 -0700)]
Fix dialog overlay theme background color, add theme attr

Bug: 19524852
Change-Id: Id3188d5c0ac9ef985bb17831c46a8aff20f89bc1

9 years agoAllow polling for WindowInsets.
Filip Gruszczynski [Thu, 26 Feb 2015 23:46:47 +0000 (15:46 -0800)]
Allow polling for WindowInsets.

Change-Id: I36feb2403b1bcf6de5d8808734c46999a38e7403

9 years agoMerge "Various fixes for popup monkey testing"
Alan Viverette [Wed, 11 Mar 2015 21:04:24 +0000 (21:04 +0000)]
Merge "Various fixes for popup monkey testing"

9 years agoMerge "Fix artifacts in clip reveal animations"
Chet Haase [Wed, 11 Mar 2015 20:57:28 +0000 (20:57 +0000)]
Merge "Fix artifacts in clip reveal animations"

9 years agoMerge branch 'master' of https://googleplex-android.googlesource.com/_direct/platform...
Shawn Willden [Wed, 11 Mar 2015 20:10:03 +0000 (20:10 +0000)]
Merge branch 'master' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base

9 years agoMerge "Add a check for invalid spans being set by SpellChecker."
Roozbeh Pournader [Wed, 11 Mar 2015 20:09:36 +0000 (20:09 +0000)]
Merge "Add a check for invalid spans being set by SpellChecker."

9 years agoam 3b9cfe30: am a6ed1b95: am 6e116429: Merge "Generate gnu hash for arm only"
Dimitry Ivanov [Wed, 11 Mar 2015 20:09:17 +0000 (20:09 +0000)]
am 3b9cfe30: am a6ed1b95: am 6e116429: Merge "Generate gnu hash for arm only"

* commit '3b9cfe30ed4ae34d06a8f005c8ada593c314316b':
  Generate gnu hash for arm only

9 years agoam 91239a0b: am cc2212d2: Merge "Adds system property for developer option for force...
Mark Renouf [Wed, 11 Mar 2015 20:09:08 +0000 (20:09 +0000)]
am 91239a0b: am cc2212d2: Merge "Adds system property for developer option for force-enable burn-in protection" into lmp-mr1-modular-dev

* commit '91239a0b738a503ab0f4ed4111e1b5f81d927e38':
  Adds system property for developer option for force-enable burn-in protection

9 years agoMerge "MidiManager: Add MIDI device status notifications"
Mike Lockwood [Wed, 11 Mar 2015 19:43:47 +0000 (19:43 +0000)]
Merge "MidiManager: Add MIDI device status notifications"

9 years agoMerge "MidiDevice: Add support for making direct connections between ports"
Mike Lockwood [Wed, 11 Mar 2015 19:43:29 +0000 (19:43 +0000)]
Merge "MidiDevice: Add support for making direct connections between ports"

9 years agoMerge "Cleanups & simplifications"
John Reck [Wed, 11 Mar 2015 19:42:18 +0000 (19:42 +0000)]
Merge "Cleanups & simplifications"

9 years agoVarious fixes for popup monkey testing
Alan Viverette [Wed, 11 Mar 2015 19:21:30 +0000 (12:21 -0700)]
Various fixes for popup monkey testing

Ensures PopupMenu works correctly when multiple calls are made to show
and dismiss. Ensure PopupWindow works correctly when multiple calls are
made to showAsDropDown and dismiss (fixes multiple clicks on Spinner).

Bug: 19672907
Bug: 19671831
Change-Id: Ib92accd8fd70a1ff1f8cda27155347b007a4d25b

9 years agoresolved conflicts for merge of 91239a0b to master
Mark Renouf [Wed, 11 Mar 2015 18:38:23 +0000 (14:38 -0400)]
resolved conflicts for merge of 91239a0b to master

Change-Id: Ib30f0631278602f0363181021f1ad364e4ec2f8d

9 years agoMerge "Fix android.text.cts.StaticLayoutTest#testGetEllipsisCount"
Raph Levien [Wed, 11 Mar 2015 18:33:58 +0000 (18:33 +0000)]
Merge "Fix android.text.cts.StaticLayoutTest#testGetEllipsisCount"

9 years agoCleanups & simplifications
John Reck [Wed, 11 Mar 2015 15:50:53 +0000 (08:50 -0700)]
Cleanups & simplifications

Change-Id: I5ad5e3b8fe55b1528f2e20c63e5abe51d9e40ff1

9 years agoAdd a check for invalid spans being set by SpellChecker.
Roozbeh Pournader [Wed, 11 Mar 2015 18:09:34 +0000 (11:09 -0700)]
Add a check for invalid spans being set by SpellChecker.

One of the exit conditions of the loop immediately above the code is
when a BreakIterator finishes its input and emits BreakIterator.DONE,
which we were then mistakenly then using as a parameter for setting
spans.

Bug: 12936072
Bug: 5555929
Change-Id: Ib4aba113f2e7838cd040076160c1dd0fb90adb1a

9 years agoFix android.text.cts.StaticLayoutTest#testGetEllipsisCount
Raph Levien [Wed, 11 Mar 2015 18:02:33 +0000 (11:02 -0700)]
Fix android.text.cts.StaticLayoutTest#testGetEllipsisCount

The "moreChars" predicate (which is used in ellipsis computation) was
slightly incorrect, sometimes being computed as false when the line
break is at the end of a paragraph but not the end of the buffer.
This patch makes the behavior consistent with shipping versions.

Bug: 19676414
Change-Id: I72e16794e895c2eb765b21feaf59fcdccc4857f1

9 years agoMake Bitmap_createFromParcel check the color count.
Leon Scroggins III [Wed, 11 Mar 2015 17:12:06 +0000 (13:12 -0400)]
Make Bitmap_createFromParcel check the color count.

When reading from the parcel, if the number of colors is invalid, early
exit.

Add two more checks: setInfo must return true, and Parcel::readInplace
must return non-NULL. The former ensures that the previously read values
(width, height, etc) were valid, and the latter checks that the Parcel
had enough data even if the number of colors was reasonable.

Also use an auto-deleter to handle deletion of the SkBitmap.

BUG=19666945

Change-Id: Icbd562d6d1f131a723724883fd31822d337cf5a6

9 years agoMerge "Implement PostMessage API for Webview"
Selim Gurun [Wed, 11 Mar 2015 17:32:34 +0000 (17:32 +0000)]
Merge "Implement PostMessage API for Webview"

9 years agoImplement PostMessage API for Webview
Selim Gurun [Wed, 11 Mar 2015 00:40:06 +0000 (17:40 -0700)]
Implement PostMessage API for Webview

Bug: 10237116

This CL implements the postmessage API for webview. It provides
a way for java applications to post messages to JS frames and
establish message channels, and then do full-duplex communication
after that.

Change-Id: Idbc2918552a4c9fd28ae1ddf19bd360e71f8a4a2

9 years agoMidiManager: Add MIDI device status notifications
Mike Lockwood [Mon, 9 Mar 2015 19:00:20 +0000 (12:00 -0700)]
MidiManager: Add MIDI device status notifications

MidiManager clients can be notified of device status changes via a new MidiDeviceStatus object.
MidiDeviceStatus contains the busy status of the device's input ports and number of
connections to the output ports.
MidiDeviceService now has an optional callback for receiving notifications when its ports change as well.

Change-Id: I1600df4464d82724bc026c27b9633ae9c412d3f0

9 years agoMidiDevice: Add support for making direct connections between ports
Mike Lockwood [Fri, 6 Mar 2015 18:48:51 +0000 (10:48 -0800)]
MidiDevice: Add support for making direct connections between ports

The output port of one device can be connected to the input port of another
device using the new MidiDevice.connectPorts() method.
This allows an application to direct the output of one device directly
to the input port of another without having to copy data from one to another.

Change-Id: I4d361c4e0950b9b9516b0c2f0c158677b1aca208

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 11 Mar 2015 14:33:53 +0000 (07:33 -0700)]
Import translations. DO NOT MERGE

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

9 years agoam 68694780: Merge "[ActivityManager] Fix index OOB when resetting removed task"
Craig Mautner [Wed, 11 Mar 2015 13:59:04 +0000 (13:59 +0000)]
am 68694780: Merge "[ActivityManager] Fix index OOB when resetting removed task"

* commit '686947801e7c35eb60bf25385f46e45db66bee69':
  [ActivityManager] Fix index OOB when resetting removed task

9 years agoMerge "[ActivityManager] Fix index OOB when resetting removed task"
Craig Mautner [Wed, 11 Mar 2015 13:46:37 +0000 (13:46 +0000)]
Merge "[ActivityManager] Fix index OOB when resetting removed task"

9 years agoMerge "Add MidiReceiver.send() and MidiReceiver.getMaxMessageSize()"
Mike Lockwood [Wed, 11 Mar 2015 10:55:41 +0000 (10:55 +0000)]
Merge "Add MidiReceiver.send() and MidiReceiver.getMaxMessageSize()"

9 years agoAdd MidiReceiver.send() and MidiReceiver.getMaxMessageSize()
Mike Lockwood [Mon, 9 Mar 2015 22:03:11 +0000 (15:03 -0700)]
Add MidiReceiver.send() and MidiReceiver.getMaxMessageSize()

Change-Id: I10d4f5e2400fcaf41f455e56ca25bbc0c781a042

9 years agoMerge "Fix for managed-profile users needing to "install" packages twice."
Alan Treadway [Wed, 11 Mar 2015 09:42:51 +0000 (09:42 +0000)]
Merge "Fix for managed-profile users needing to "install" packages twice."

9 years ago[ActivityManager] Fix index OOB when resetting removed task
riddle_hsu [Wed, 11 Mar 2015 09:09:50 +0000 (17:09 +0800)]
[ActivityManager] Fix index OOB when resetting removed task

Assume task T has an activity X lives in process P.
When P is died and before death recipient being called,
start activity with flag RESET_TASK_IF_NEEDED to bring the
existed task T.

Then scheduleResumeActivity IPC will fail and trigger start
a new process that removes task T.

That results resetTaskIfNeededLocked cannot find the task
when continuing the start flow.

Detail:
https://code.google.com/p/android/issues/detail?id=159558

Change-Id: Icc400c7a6c481a3f78657e9fb83cf0c3a17dde68

9 years agoMerge "Fix @ColorInt javadoc"
Tor Norbye [Wed, 11 Mar 2015 03:43:12 +0000 (03:43 +0000)]
Merge "Fix @ColorInt javadoc"

9 years agoFix build
Guang Zhu [Wed, 11 Mar 2015 02:15:23 +0000 (19:15 -0700)]
Fix build

Change-Id: I530793e9090d780a5cb2581ee185badc51e14902

9 years agoFix @ColorInt javadoc
Tor Norbye [Wed, 11 Mar 2015 02:14:03 +0000 (19:14 -0700)]
Fix @ColorInt javadoc

Change-Id: Icea3a3b4013b4a6b5f9809eec082ea93bc26b079

9 years agoMerge "Prevent integer overflow in ResourceTypes"
Vishwath Mohan [Wed, 11 Mar 2015 00:41:37 +0000 (00:41 +0000)]
Merge "Prevent integer overflow in ResourceTypes"

9 years agoMerge "Converted some AMS log points to use ActivityManagerDebugConfig."
Wale Ogunwale [Wed, 11 Mar 2015 00:31:32 +0000 (00:31 +0000)]
Merge "Converted some AMS log points to use ActivityManagerDebugConfig."

9 years agoam e7b3834e: am 1d0b0edd: am ccc24997: am 464a2bc2: Merge "docs: build tools revision...
Rich Slogar [Wed, 11 Mar 2015 00:24:10 +0000 (00:24 +0000)]
am e7b3834e: am 1d0b0edd: am ccc24997: am 464a2bc2: Merge "docs: build tools revision 22.0.0:" into lmp-mr1-dev

* commit 'e7b3834e23a53f330cb866a5b02674034f161977':
  docs: build tools revision 22.0.0:

9 years agoam debf5a09: am c2826fb9: am 3d333c74: Merge "Fix typos in AudioManager javadoc"
Narayan Kamath [Wed, 11 Mar 2015 00:23:35 +0000 (00:23 +0000)]
am debf5a09: am c2826fb9: am 3d333c74: Merge "Fix typos in AudioManager javadoc"

* commit 'debf5a09e46027f29c26b6502d4aa6508dd3e4b5':
  Fix typos in AudioManager javadoc

9 years agoam 1944667b: am 8ced0357: am 2a88ff2f: Merge "Generate sysv hash for libjnigraphics"
Dmitriy Ivanov [Wed, 11 Mar 2015 00:23:26 +0000 (00:23 +0000)]
am 1944667b: am 8ced0357: am 2a88ff2f: Merge "Generate sysv hash for libjnigraphics"

* commit '1944667b7f70c336da66cc3fbdee3a2fbd766980':
  Generate sysv hash for libjnigraphics

9 years agoMerge "resolved conflicts for merge of b6d6c04a to master"
Andreas Gampe [Wed, 11 Mar 2015 00:19:26 +0000 (00:19 +0000)]
Merge "resolved conflicts for merge of b6d6c04a to master"

9 years agoMerge "Notify TrustAgentService when device policy configuration no longer applies"
Adrian Roos [Wed, 11 Mar 2015 00:12:53 +0000 (00:12 +0000)]
Merge "Notify TrustAgentService when device policy configuration no longer applies"

9 years agoConverted some AMS log points to use ActivityManagerDebugConfig.
Wale Ogunwale [Fri, 6 Mar 2015 23:39:44 +0000 (15:39 -0800)]
Converted some AMS log points to use ActivityManagerDebugConfig.

Change-Id: I0563bafd29ae0bbe596ed8c06fcc573b5ead50b7

9 years agoMerge "Make settings XML files readable"
Svetoslav [Tue, 10 Mar 2015 23:54:20 +0000 (23:54 +0000)]
Merge "Make settings XML files readable"

9 years agoMake settings XML files readable
Svetoslav [Tue, 10 Mar 2015 23:53:35 +0000 (16:53 -0700)]
Make settings XML files readable

Change-Id: I320f5419e045d257dc5ccbf81a9434f9b9d38564

9 years agoMerge "Handle simultaneous connect of devices with the same "type" (as in USB)"
Paul McLean [Tue, 10 Mar 2015 22:47:30 +0000 (22:47 +0000)]
Merge "Handle simultaneous connect of devices with the same "type" (as in USB)"

9 years agoMerge "Add Phone.ENTERPRISE_CONTENT_URI"
Ricky Wai [Tue, 10 Mar 2015 22:46:20 +0000 (22:46 +0000)]
Merge "Add Phone.ENTERPRISE_CONTENT_URI"

9 years agoresolved conflicts for merge of b6d6c04a to master
Andreas Gampe [Tue, 10 Mar 2015 22:36:20 +0000 (15:36 -0700)]
resolved conflicts for merge of b6d6c04a to master

Change-Id: I5286b9fe2d9bde4b219496e593cf028cc4c75bc7

9 years agoMerge "Track down unsupported texture target"
Chris Craik [Tue, 10 Mar 2015 22:40:14 +0000 (22:40 +0000)]
Merge "Track down unsupported texture target"

9 years agoMerge "Revert "Remove activity and window stacks when last task is removed.""
Wale Ogunwale [Tue, 10 Mar 2015 22:36:40 +0000 (22:36 +0000)]
Merge "Revert "Remove activity and window stacks when last task is removed.""

9 years agoMerge "Correct docs to specify leading slash in paths."
Craig Mautner [Tue, 10 Mar 2015 22:08:15 +0000 (22:08 +0000)]
Merge "Correct docs to specify leading slash in paths."

9 years agoRevert "Remove activity and window stacks when last task is removed."
Wale Ogunwale [Tue, 10 Mar 2015 21:55:31 +0000 (14:55 -0700)]
Revert "Remove activity and window stacks when last task is removed."

This reverts commit 0f95e3f0753508344b198c0a76afb892df514f52.

Bug: 19644506
Bug: 19083170
Change-Id: I2eb2a0400be58fe2c5d48a4b68368725e98aaf6f

9 years agoMerge "Add several CallSupers to View"
Chris Craik [Tue, 10 Mar 2015 22:02:23 +0000 (22:02 +0000)]
Merge "Add several CallSupers to View"

9 years agoHandle simultaneous connect of devices with the same "type" (as in USB)
Paul McLean [Tue, 3 Mar 2015 17:29:19 +0000 (10:29 -0700)]
Handle simultaneous connect of devices with the same "type" (as in USB)

Change-Id: I163bf8e33ccf5aacc7ba21775916727430327f18
Bug: 19563570

9 years agoTrack down unsupported texture target
Chris Craik [Tue, 10 Mar 2015 18:03:39 +0000 (11:03 -0700)]
Track down unsupported texture target

bug:19641517

Change-Id: Idc2e413abef5bb1438ffb3f52efb001504d3e89f

9 years agoMerge "ZenLog: Track changes to effect suppressorship."
John Spurlock [Tue, 10 Mar 2015 20:11:11 +0000 (20:11 +0000)]
Merge "ZenLog: Track changes to effect suppressorship."

9 years agoRemove unused settings constants from the SDK (framework).
Svetoslav [Thu, 19 Feb 2015 03:16:25 +0000 (19:16 -0800)]
Remove unused settings constants from the SDK (framework).

The settings constants for various volumes do nothing and are
used by nothing since API version 2. These are however backed
up in the cloud which is a waste of resource. This change
removes these constants from the SDK while keeping them hidden
to avoid breaking released apps and also prevents unnecessary
backup.

Change-Id: I2e91863115f5a4b997a14f8d0f57b4dc9689cfab

9 years agoPrevent integer overflow in ResourceTypes
Vishwath Mohan [Tue, 10 Mar 2015 01:55:11 +0000 (18:55 -0700)]
Prevent integer overflow in ResourceTypes

Adds checks to 2 malloc() calls to ensure that the finally allocated
buffer size is not vulnerable to integer overflows. Also includes a
sanity check on the upper bound for type_info.numEntries before each
call.

Bug: 15171384
Change-Id: Ifdf0276bcca7e3d93da7c3577b9486d3c03a9d03

9 years agoMerge "Move more file handling into LockSettingsStorage"
Robin Lee [Tue, 10 Mar 2015 18:30:24 +0000 (18:30 +0000)]
Merge "Move more file handling into LockSettingsStorage"

9 years agoFix artifacts in clip reveal animations
Chet Haase [Thu, 5 Mar 2015 15:30:13 +0000 (07:30 -0800)]
Fix artifacts in clip reveal animations

clip-reveal the entire screen, not just the app window contents.
Also, account for position of window in non-fullscreen apps.

Issue #19638386 fix launch animation artifacts

Change-Id: I08bc09a89974e28af72c08ddd61bd555e5330221

9 years agoam 4c887ac9: am db7fa51f: am c7446790: Merge "ZygoteConnection: remove obsolete secur...
dcashman [Tue, 10 Mar 2015 18:15:54 +0000 (18:15 +0000)]
am 4c887ac9: am db7fa51f: am c7446790: Merge "ZygoteConnection: remove obsolete security checks."

* commit '4c887ac9318402b914dbee4462485006395bdfbe':
  ZygoteConnection: remove obsolete security checks.

9 years agoam 502c30da: am 5427ac71: am 282099b5: am 5a604b35: am 00e3efb5: am f51020ea: am...
Rich Slogar [Tue, 10 Mar 2015 18:15:36 +0000 (18:15 +0000)]
am 502c30da: am 5427ac71: am 282099b5: am 5a604b35: am 00e3efb5: am f51020ea: am 6e1cbe43: Merge "docs: android plugin for gradle release 1.1.3 release notes" into lmp-docs

* commit '502c30da55d0bb6f2a51875558612fc50361c55f':
  docs: android plugin for gradle release 1.1.3 release notes

9 years agoMerge "Add support for the new native Builder class on StaticLayout."
Diego Perez [Tue, 10 Mar 2015 18:13:57 +0000 (18:13 +0000)]
Merge "Add support for the new native Builder class on StaticLayout."

9 years agoMerge "MediaSession: Notify PlaybackInfo callbacks when playback type changes."
John Spurlock [Tue, 10 Mar 2015 18:05:10 +0000 (18:05 +0000)]
Merge "MediaSession: Notify PlaybackInfo callbacks when playback type changes."

9 years agoMerge "Implement bounded ripple animation"
Alan Viverette [Tue, 10 Mar 2015 18:04:00 +0000 (18:04 +0000)]
Merge "Implement bounded ripple animation"

9 years agoMerge "Do not show toast when forwarding from resolver activity to itself."
Sander Alewijnse [Tue, 10 Mar 2015 17:51:57 +0000 (17:51 +0000)]
Merge "Do not show toast when forwarding from resolver activity to itself."

9 years agoMerge "Cache photo URI too in calllog (contract)"
Makoto Onuki [Tue, 10 Mar 2015 17:49:30 +0000 (17:49 +0000)]
Merge "Cache photo URI too in calllog (contract)"

9 years agoMerge "Revert "Revert "Add a timeout state to frozen windows"""
Craig Mautner [Tue, 10 Mar 2015 17:47:07 +0000 (17:47 +0000)]
Merge "Revert "Revert "Add a timeout state to frozen windows"""

9 years agoRevert "Revert "Add a timeout state to frozen windows""
Craig Mautner [Tue, 10 Mar 2015 17:46:05 +0000 (17:46 +0000)]
Revert "Revert "Add a timeout state to frozen windows""

Insert correct bug id:

Fixes bug 15664090.

This reverts commit 1a07846d4d7f1665345a27da11d0f8d518b3b431.

Change-Id: Id5fd52acc47cb6f50485c14e75a448511d806ae4

9 years agoMerge "Revert "Add a timeout state to frozen windows""
Craig Mautner [Tue, 10 Mar 2015 17:44:40 +0000 (17:44 +0000)]
Merge "Revert "Add a timeout state to frozen windows""

9 years agoRevert "Add a timeout state to frozen windows"
Craig Mautner [Tue, 10 Mar 2015 17:44:11 +0000 (17:44 +0000)]
Revert "Add a timeout state to frozen windows"

Wrong bug listed on comment. Resubmitting with correct bug listed.

This reverts commit a75e3e0b44e31ee5d042480d3da8d13cad56dc5a.

Change-Id: I49cb364c44763fd2d0c120d6998281d38571050b

9 years agoMerge "Handle undo in TextView fields with no cursor"
James Cook [Tue, 10 Mar 2015 17:42:46 +0000 (17:42 +0000)]
Merge "Handle undo in TextView fields with no cursor"

9 years agoMerge "Add a timeout state to frozen windows"
Craig Mautner [Tue, 10 Mar 2015 17:41:52 +0000 (17:41 +0000)]
Merge "Add a timeout state to frozen windows"

9 years agoHandle undo in TextView fields with no cursor
James Cook [Tue, 10 Mar 2015 16:48:11 +0000 (09:48 -0700)]
Handle undo in TextView fields with no cursor

This fixes a rare crash in the undo system. In particular, if the
TextView did not have a cursor and the first operation was a
programmatic insert/append the "old cursor position" would be -1.
Attempting to undo would try to restore the cursor to -1 and crash.

Test will land separately in CTS.

Bug: 19332904
Change-Id: I9aa18c1e3621b99d13ac707e483154382effb81c

9 years agoam a6ed1b95: am 6e116429: Merge "Generate gnu hash for arm only"
Dimitry Ivanov [Tue, 10 Mar 2015 17:21:32 +0000 (17:21 +0000)]
am a6ed1b95: am 6e116429: Merge "Generate gnu hash for arm only"

* commit 'a6ed1b9547dcd592031a415739cc7e672c068f7c':
  Generate gnu hash for arm only

9 years agoMerge "Revert RelativeLayout's baseline view to API 22 and below behavior"
Alan Viverette [Tue, 10 Mar 2015 17:19:52 +0000 (17:19 +0000)]
Merge "Revert RelativeLayout's baseline view to API 22 and below behavior"

9 years agoMerge "resolved conflicts for merge of 7545accf to master"
Elliott Hughes [Tue, 10 Mar 2015 17:15:41 +0000 (17:15 +0000)]
Merge "resolved conflicts for merge of 7545accf to master"

9 years agoam 6e116429: Merge "Generate gnu hash for arm only"
Dimitry Ivanov [Tue, 10 Mar 2015 17:14:53 +0000 (17:14 +0000)]
am 6e116429: Merge "Generate gnu hash for arm only"

* commit '6e116429a8d48f9c8298f15c332cd29146694d8b':
  Generate gnu hash for arm only

9 years agoresolved conflicts for merge of 7545accf to master
Elliott Hughes [Tue, 10 Mar 2015 17:14:42 +0000 (10:14 -0700)]
resolved conflicts for merge of 7545accf to master

Change-Id: I7a9264e818fdd14bf59f0dec63ab83985f9e66fb

9 years agoAdd several CallSupers to View
Chris Craik [Tue, 10 Mar 2015 17:12:55 +0000 (10:12 -0700)]
Add several CallSupers to View

Change-Id: I3011bd9757273f9c1d35f552bd6fefd4bf830029

9 years agoMerge "Generate gnu hash for arm only"
Dimitry Ivanov [Tue, 10 Mar 2015 17:07:58 +0000 (17:07 +0000)]
Merge "Generate gnu hash for arm only"

9 years agoMediaSession: Notify PlaybackInfo callbacks when playback type changes.
John Spurlock [Tue, 10 Mar 2015 03:13:57 +0000 (23:13 -0400)]
MediaSession: Notify PlaybackInfo callbacks when playback type changes.

Bug: 19665979
Change-Id: I506a71330ca04a678027f5969638fd1685326b2d