OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Corp badging for Recents"
Amith Yamasani [Fri, 11 Apr 2014 00:30:35 +0000 (00:30 +0000)]
Merge "Corp badging for Recents"

10 years agoCorp badging for Recents
Amith Yamasani [Thu, 10 Apr 2014 20:48:15 +0000 (13:48 -0700)]
Corp badging for Recents

Badge apps that belong to the corp profile when shown in the recents list.

Add a userId to TaskKey to help with caching.

Bug: 11676348

Change-Id: I92c8262dce763de89497977fcc6a53899afda136

10 years agoMediaFrameworkTest: Fix Camera2 API unit test build breakage
Zhijun He [Fri, 11 Apr 2014 00:09:22 +0000 (17:09 -0700)]
MediaFrameworkTest: Fix Camera2 API unit test build breakage

Change-Id: I49329e2c3bbf1290f1f6e7c64dbb56eb831e5a96

10 years agoMerge "Update brightness icons to use color attribute"
Alan Viverette [Thu, 10 Apr 2014 23:15:45 +0000 (23:15 +0000)]
Merge "Update brightness icons to use color attribute"

10 years agoUpdate brightness icons to use color attribute
Alan Viverette [Thu, 10 Apr 2014 23:14:40 +0000 (16:14 -0700)]
Update brightness icons to use color attribute

BUG: 13961573
Change-Id: I6c7f85c8cda739cb1e5e14c39c7e4a9fe20a8650

10 years agoMerge "MediaFocusControl: fix comment"
Jean-Michel Trivi [Thu, 10 Apr 2014 23:11:28 +0000 (23:11 +0000)]
Merge "MediaFocusControl: fix comment"

10 years agoMerge "Fix path interpretation on curves"
ztenghui [Thu, 10 Apr 2014 22:40:35 +0000 (22:40 +0000)]
Merge "Fix path interpretation on curves"

10 years agoMerge "Fix build breakage"
Raph Levien [Thu, 10 Apr 2014 22:24:54 +0000 (22:24 +0000)]
Merge "Fix build breakage"

10 years agoMerge "Make attachFunctor blocking"
John Reck [Thu, 10 Apr 2014 22:23:22 +0000 (22:23 +0000)]
Merge "Make attachFunctor blocking"

10 years agoFix build breakage
Raph Levien [Thu, 10 Apr 2014 22:12:30 +0000 (15:12 -0700)]
Fix build breakage

A recent change to remove VectorDrawable methods from the public api
didn't run update-api. This should fix that build.

Change-Id: I4d86221f5ada96113f673def4b32985c6d60110a

10 years agoMediaFocusControl: fix comment
Jean-Michel Trivi [Thu, 10 Apr 2014 22:05:44 +0000 (15:05 -0700)]
MediaFocusControl: fix comment

Comment about role of audio focus isn't valid anymore.

Change-Id: I608d8cf9d5d9c4449384e2788e5eb5ea42c97eca

10 years agoMake attachFunctor blocking
John Reck [Thu, 10 Apr 2014 22:00:13 +0000 (15:00 -0700)]
Make attachFunctor blocking

 Bug: 13930200

Change-Id: I9b0cf92fd16bb30baa09b6f8d7ae22a8b2a7fd80

10 years agoFix build breakage
Alan Viverette [Thu, 10 Apr 2014 21:28:30 +0000 (14:28 -0700)]
Fix build breakage

Change-Id: I73d9ff5f38986b7acf83b85c1989203f472bc5fd

10 years agoMerge "Remove sync flush"
John Reck [Thu, 10 Apr 2014 21:13:07 +0000 (21:13 +0000)]
Merge "Remove sync flush"

10 years agoMerge "Further improved NotificationStackScroller"
Selim Cinek [Thu, 10 Apr 2014 21:01:28 +0000 (21:01 +0000)]
Merge "Further improved NotificationStackScroller"

10 years agoMerge "Camera2 API: enable burst capture and repeating burst."
Jianing Wei [Thu, 10 Apr 2014 19:51:57 +0000 (19:51 +0000)]
Merge "Camera2 API: enable burst capture and repeating burst."

10 years agoCamera2 API: enable burst capture and repeating burst.
Jianing Wei [Fri, 28 Mar 2014 01:27:43 +0000 (18:27 -0700)]
Camera2 API: enable burst capture and repeating burst.

*  Enable sending out burst requests, canceling, and flushing.
*  Enable onCaptureStarted, onResultReceived for bursts.
*  Enable onCaptureSequenceCompleted by tracking frame number.

Change-Id: Ica2b031cac7ad90f9c4b74a78e6185e627195340
Bug-ID: 10749500

10 years agoMerge "Cleaning up VectorDrawable"
Alan Viverette [Thu, 10 Apr 2014 19:38:24 +0000 (19:38 +0000)]
Merge "Cleaning up VectorDrawable"

10 years agoFurther improved NotificationStackScroller
Selim Cinek [Tue, 8 Apr 2014 00:27:49 +0000 (02:27 +0200)]
Further improved NotificationStackScroller

The top card is now collapsed during the pulldown of
the notification shade and expanded during the transition.
The scrollstate is also reset once the shade is closed.

Change-Id: Ibf17eef1f338d674c545e5bf55261e60db62b2ce

10 years agoMerge "Adding render stats APIs to UiAutomation (framework)."
Svetoslav [Thu, 10 Apr 2014 19:32:59 +0000 (19:32 +0000)]
Merge "Adding render stats APIs to UiAutomation (framework)."

10 years agoMerge "support the people extra on the notification object"
Chris Wren [Thu, 10 Apr 2014 19:18:31 +0000 (19:18 +0000)]
Merge "support the people extra on the notification object"

10 years agosupport the people extra on the notification object
Chris Wren [Wed, 26 Mar 2014 21:24:15 +0000 (17:24 -0400)]
support the people extra on the notification object

currently supported URIs:
  content://com.android.contacts/contacts/lookup/*
  tel:*

Change-Id: I833eee3f2ee40aa8cb2cfad135bdd6cb2c0eb792

10 years agoCleaning up VectorDrawable
Alan Viverette [Thu, 10 Apr 2014 18:14:45 +0000 (11:14 -0700)]
Cleaning up VectorDrawable

Use argb evaluation method from animation package, lazily create paint,
set default for stroke line cap and join. Fix scaling to bounds. Fix
drawable in test app.

Change-Id: I245d5d6acc6ba9806743ab2bf9bf99aff3649c39

10 years agoRemove sync flush
John Reck [Thu, 10 Apr 2014 17:28:45 +0000 (10:28 -0700)]
Remove sync flush

 Bug: 13952590
 It was attempting to flush state changes after the canvas was
 destroyed, which caused layer updates to crash.

 Due to the removal of SetDisplayListData, the sync mode isn't able
 to do anything ever, so remove it.

Change-Id: I1e18ce288d81fd47cc6e612afda9476f75ecef2e

10 years agoam cd5e3f85: (-s ours) am da6b9599: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Thu, 10 Apr 2014 15:58:38 +0000 (15:58 +0000)]
am cd5e3f85: (-s ours) am da6b9599: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit 'cd5e3f85fc9228b943ee8dfda0951e068953596c':
  Import translations. DO NOT MERGE

10 years agoam da6b9599: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
Baligh Uddin [Thu, 10 Apr 2014 15:55:25 +0000 (15:55 +0000)]
am da6b9599: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit 'da6b9599c77230c689d63e32ca80b62f60f18c27':
  Import translations. DO NOT MERGE

10 years agoMerge "Import translations. DO NOT MERGE" into klp-modular-dev
Baligh Uddin [Thu, 10 Apr 2014 15:51:37 +0000 (15:51 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-modular-dev

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 10 Apr 2014 15:51:35 +0000 (15:51 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Allow encryption when keyguard is set to pattern or no protection"
Paul Lawrence [Thu, 10 Apr 2014 14:30:52 +0000 (14:30 +0000)]
Merge "Allow encryption when keyguard is set to pattern or no protection"

10 years agoam 3603970d: am 940e76fd: am b827f78e: Merge "Removed android.debug.JNITest from...
Narayan Kamath [Thu, 10 Apr 2014 11:28:34 +0000 (11:28 +0000)]
am 3603970d: am 940e76fd: am b827f78e: Merge "Removed android.debug.JNITest from preloaded-classes"

* commit '3603970d3a8a2215027e96c4861e1ab9eec86f79':
  Removed android.debug.JNITest from preloaded-classes

10 years agoam 940e76fd: am b827f78e: Merge "Removed android.debug.JNITest from preloaded-classes"
Narayan Kamath [Thu, 10 Apr 2014 11:25:56 +0000 (11:25 +0000)]
am 940e76fd: am b827f78e: Merge "Removed android.debug.JNITest from preloaded-classes"

* commit '940e76fd378cebcd0d83099a5c31bc1e2bbeb2ba':
  Removed android.debug.JNITest from preloaded-classes

10 years agoam b827f78e: Merge "Removed android.debug.JNITest from preloaded-classes"
Narayan Kamath [Thu, 10 Apr 2014 11:21:33 +0000 (11:21 +0000)]
am b827f78e: Merge "Removed android.debug.JNITest from preloaded-classes"

* commit 'b827f78e7acee3a604c315615268edf7098dc184':
  Removed android.debug.JNITest from preloaded-classes

10 years agoMerge "Removed android.debug.JNITest from preloaded-classes"
Narayan Kamath [Thu, 10 Apr 2014 11:18:28 +0000 (11:18 +0000)]
Merge "Removed android.debug.JNITest from preloaded-classes"

10 years agoam 9e289d70: am 1d26a3f1: am 09e13cc5: Merge "System services detect and register...
Narayan Kamath [Thu, 10 Apr 2014 09:45:18 +0000 (09:45 +0000)]
am 9e289d70: am 1d26a3f1: am 09e13cc5: Merge "System services detect and register app CPU ABIs"

* commit '9e289d70a8baaed0030413b5991653792e2a816d':
  System services detect and register app CPU ABIs

10 years agoresolved conflicts for merge of 286a247e to master
Narayan Kamath [Thu, 10 Apr 2014 09:37:17 +0000 (10:37 +0100)]
resolved conflicts for merge of 286a247e to master

Change-Id: I63df9d482da3ce2ac851959223b9180020ffad0c

10 years agoam 1d26a3f1: am 09e13cc5: Merge "System services detect and register app CPU ABIs"
Narayan Kamath [Thu, 10 Apr 2014 09:26:59 +0000 (09:26 +0000)]
am 1d26a3f1: am 09e13cc5: Merge "System services detect and register app CPU ABIs"

* commit '1d26a3f1efd0d965e8751e8515608c31789bdbe2':
  System services detect and register app CPU ABIs

10 years agoam 0fd40cb1: am 80413c9f: Merge "Re-implement native library search and copies."
Narayan Kamath [Thu, 10 Apr 2014 09:26:44 +0000 (09:26 +0000)]
am 0fd40cb1: am 80413c9f: Merge "Re-implement native library search and copies."

* commit '0fd40cb100bccbd5d9ad6109ca39c818a857f889':
  Re-implement native library search and copies.

10 years agoam 09e13cc5: Merge "System services detect and register app CPU ABIs"
Narayan Kamath [Thu, 10 Apr 2014 09:23:33 +0000 (09:23 +0000)]
am 09e13cc5: Merge "System services detect and register app CPU ABIs"

* commit '09e13cc5f9f98382376eb49bfa6ceb94a50d37a1':
  System services detect and register app CPU ABIs

10 years agoam 80413c9f: Merge "Re-implement native library search and copies."
Narayan Kamath [Thu, 10 Apr 2014 09:23:30 +0000 (09:23 +0000)]
am 80413c9f: Merge "Re-implement native library search and copies."

* commit '80413c9fe10acf36eaecd139198c7fc17e8af2e6':
  Re-implement native library search and copies.

10 years agoMerge "System services detect and register app CPU ABIs"
Narayan Kamath [Thu, 10 Apr 2014 09:20:21 +0000 (09:20 +0000)]
Merge "System services detect and register app CPU ABIs"

10 years agoMerge "Re-implement native library search and copies."
Narayan Kamath [Thu, 10 Apr 2014 09:19:38 +0000 (09:19 +0000)]
Merge "Re-implement native library search and copies."

10 years agoMerge "Allow setting the active admin across users."
Jessica Hummel [Thu, 10 Apr 2014 08:16:27 +0000 (08:16 +0000)]
Merge "Allow setting the active admin across users."

10 years agoAllow setting the active admin across users.
Jessica Hummel [Fri, 4 Apr 2014 11:42:17 +0000 (12:42 +0100)]
Allow setting the active admin across users.

This is required so that provisioning can call it from the primary user when it sets up the mdm on the managed profile.

Change-Id: I185af168754aa4aeae61f1d4522c1794681cb400

10 years agoMerge "Camera2: Add MANUAL capture intent"
Zhijun He [Thu, 10 Apr 2014 02:07:36 +0000 (02:07 +0000)]
Merge "Camera2: Add MANUAL capture intent"

10 years agoCamera2: Add MANUAL capture intent
Zhijun He [Thu, 10 Apr 2014 02:04:31 +0000 (19:04 -0700)]
Camera2: Add MANUAL capture intent

Change-Id: I6a3ba818cc7d13e0fcf0d90a16c53884b6cc20ab

10 years agoam 54499194: am 2e8a2d20: Merge "LE: Return false if an attribute read/write is in...
Zhihai Xu [Thu, 10 Apr 2014 01:07:26 +0000 (01:07 +0000)]
am 54499194: am 2e8a2d20: Merge "LE: Return false if an attribute read/write is in progress" into klp-modular-dev

* commit '544991946287bdd3a9e6a71855642e378594bf73':
  LE: Return false if an attribute read/write is in progress

10 years agoam 3c1c1375: am 8d31358f: Merge "Merge "NsdService does not clean up after exiting...
Jesse Gunsch [Thu, 10 Apr 2014 01:07:23 +0000 (01:07 +0000)]
am 3c1c1375: am 8d31358f: Merge "Merge "NsdService does not clean up after exiting clients"" into klp-modular-dev

* commit '3c1c137579783fad81169da01d5c7c5819c81b07':
  Merge "NsdService does not clean up after exiting clients"

10 years agoMerge "Merge hasFunctors & pushStaging into prepareTree"
John Reck [Thu, 10 Apr 2014 00:14:10 +0000 (00:14 +0000)]
Merge "Merge hasFunctors & pushStaging into prepareTree"

10 years agoMerge hasFunctors & pushStaging into prepareTree
John Reck [Thu, 10 Apr 2014 00:00:04 +0000 (17:00 -0700)]
Merge hasFunctors & pushStaging into prepareTree

 Bug: 13902607
 Fixes synchronous mode for WebView in HardwareLayers

Change-Id: I90de1e26dcfd9b75cc2f03bac72705fc23237b68

10 years agoMerge "Support custom views using TimePickerDialog in layoutlib"
Deepanshu Gupta [Wed, 9 Apr 2014 23:59:25 +0000 (23:59 +0000)]
Merge "Support custom views using TimePickerDialog in layoutlib"

10 years agoMerge "Update list item text appearance"
Alan Viverette [Wed, 9 Apr 2014 23:54:24 +0000 (23:54 +0000)]
Merge "Update list item text appearance"

10 years agoUpdate list item text appearance
Alan Viverette [Wed, 9 Apr 2014 23:52:54 +0000 (16:52 -0700)]
Update list item text appearance

Adds a new attribute for secondary list item text and points
the Gingerbread and Holo themes to use TextAppearance.Small for
compatibility's sake.

Change-Id: I8e78a908b699baae6d1f5b3623fd7b5648b99b77

10 years agoam 6fdb5e6d: resolved conflicts for merge of 7289f3ab to klp-modular-dev-plus-aosp
Jeff Brown [Wed, 9 Apr 2014 23:50:47 +0000 (23:50 +0000)]
am 6fdb5e6d: resolved conflicts for merge of 7289f3ab to klp-modular-dev-plus-aosp

* commit '6fdb5e6df178b3b1062ac67b505b288aa609a66b':

10 years agoam 2e8a2d20: Merge "LE: Return false if an attribute read/write is in progress" into...
Zhihai Xu [Wed, 9 Apr 2014 23:50:39 +0000 (23:50 +0000)]
am 2e8a2d20: Merge "LE: Return false if an attribute read/write is in progress" into klp-modular-dev

* commit '2e8a2d207f446e156a8cfb9532cdfb569caa9458':
  LE: Return false if an attribute read/write is in progress

10 years agoMerge "Removing duplicated code in Recents"
Winson Chung [Wed, 9 Apr 2014 23:50:38 +0000 (23:50 +0000)]
Merge "Removing duplicated code in Recents"

10 years agoam 8d31358f: Merge "Merge "NsdService does not clean up after exiting clients"" into...
Jesse Gunsch [Wed, 9 Apr 2014 23:50:35 +0000 (23:50 +0000)]
am 8d31358f: Merge "Merge "NsdService does not clean up after exiting clients"" into klp-modular-dev

* commit '8d31358fb4f0f948fcfd07399d4247375dc5eea9':
  Merge "NsdService does not clean up after exiting clients"

10 years agoMerge "Allow for different rects when animating to a single task stack view and a...
Winson Chung [Wed, 9 Apr 2014 23:50:32 +0000 (23:50 +0000)]
Merge "Allow for different rects when animating to a single task stack view and a multiple task stack view."

10 years agoMerge "Active window not correctly computed."
Svetoslav [Wed, 9 Apr 2014 23:48:41 +0000 (23:48 +0000)]
Merge "Active window not correctly computed."

10 years agoresolved conflicts for merge of 7289f3ab to klp-modular-dev-plus-aosp
Jeff Brown [Wed, 9 Apr 2014 23:47:40 +0000 (16:47 -0700)]
resolved conflicts for merge of 7289f3ab to klp-modular-dev-plus-aosp

Change-Id: I5bdc8862828b56557410a95e7f9b14def81a0ded

10 years agoActive window not correctly computed.
Svetoslav [Wed, 9 Apr 2014 23:45:46 +0000 (16:45 -0700)]
Active window not correctly computed.

The accessibility manager service was not handling the focused
window properly which as a result was breaking the active window
tracking.

bug:13788022

Change-Id: Iaa3fadfbf7b9545f5151e3603beeda2662fe7618

10 years agoMerge "Switch DisplayListData to a staging model"
John Reck [Wed, 9 Apr 2014 23:01:02 +0000 (23:01 +0000)]
Merge "Switch DisplayListData to a staging model"

10 years agoSwitch DisplayListData to a staging model
John Reck [Wed, 9 Apr 2014 22:23:38 +0000 (15:23 -0700)]
Switch DisplayListData to a staging model

 Bug: 13912977

Change-Id: I5b2f664e797be22a58300964f57ceb4fab60528c

10 years agoRemoving duplicated code in Recents
Winson Chung [Wed, 9 Apr 2014 22:17:43 +0000 (15:17 -0700)]
Removing duplicated code in Recents

- Also disabling the animation on the first task view when animating from home
- Fixing a case where filtered and non-filtered state can be exactly the same

Change-Id: I01665391fc0b0745a89e404b12280d3d919aec83

10 years agoSupport custom views using TimePickerDialog in layoutlib
Deepanshu Gupta [Wed, 9 Apr 2014 22:14:37 +0000 (15:14 -0700)]
Support custom views using TimePickerDialog in layoutlib

Bug: http://b.android/com/61515

Change-Id: I0dc3357be0c058adde9d3ea5b6796004b786fd34

10 years agoFix path interpretation on curves
ztenghui [Wed, 9 Apr 2014 21:44:38 +0000 (14:44 -0700)]
Fix path interpretation on curves

Mostly about the shorthand for quadratic / cubic curve.

We now comply with the spec, which said the behavior should depend on the
previous command.
At the same time, make sure our current point and current control point info
are always in absolute coordinates, not a mix of absolute and relative.
CTS test will be added to monitor this behavior.

Note: Chrome / Firefox are following this rule, while Linux OS / Batik are not.

bug:13913405

Change-Id: I9f8168ed97f87c754c79588984f1f199507b0377

10 years agoMerge "Put suppressed notifications behind a summary notification."
John Spurlock [Wed, 9 Apr 2014 21:45:36 +0000 (21:45 +0000)]
Merge "Put suppressed notifications behind a summary notification."

10 years agoAllow for different rects when animating to a single task stack view and a multiple...
Winson Chung [Wed, 9 Apr 2014 21:33:23 +0000 (14:33 -0700)]
Allow for different rects when animating to a single task stack view and a multiple task stack view.

- Fixing regression in task bar enter animation duration
- Fixing issue with extra long titles in the task bar
- Cleaning up some constants and unused code

10 years agoPut suppressed notifications behind a summary notification.
John Spurlock [Wed, 9 Apr 2014 20:40:39 +0000 (16:40 -0400)]
Put suppressed notifications behind a summary notification.

Bug:13726563
Change-Id: Ib1c3fba3a328792dc674c8403735f75d4db41973

10 years agoMerge "Ensure theme attributes are set appropriately"
Alan Viverette [Wed, 9 Apr 2014 20:37:20 +0000 (20:37 +0000)]
Merge "Ensure theme attributes are set appropriately"

10 years agoMerge "Update SearchIndexablesContract"
Fabrice Di Meglio [Wed, 9 Apr 2014 20:29:19 +0000 (20:29 +0000)]
Merge "Update SearchIndexablesContract"

10 years agoUpdate SearchIndexablesContract
Fabrice Di Meglio [Wed, 9 Apr 2014 20:17:42 +0000 (13:17 -0700)]
Update SearchIndexablesContract

- add indices constants for colums
- add missing properties (entries / key)

Change-Id: Ie6c00abf27aaf0fc27e685c8ee0ff8e1e16b5d52

10 years agoEnsure theme attributes are set appropriately
Alan Viverette [Wed, 9 Apr 2014 17:32:37 +0000 (10:32 -0700)]
Ensure theme attributes are set appropriately

BUG: 13920927
Change-Id: I0ddb3e3c5ca56cce3110c6b85959f2c22671e079

10 years agoMerge "Update supported Drawable tinting modes and docs"
Alan Viverette [Wed, 9 Apr 2014 20:08:46 +0000 (20:08 +0000)]
Merge "Update supported Drawable tinting modes and docs"

10 years agoUpdate supported Drawable tinting modes and docs
Alan Viverette [Wed, 9 Apr 2014 19:45:18 +0000 (12:45 -0700)]
Update supported Drawable tinting modes and docs

Change-Id: I9c20d2bc4dc499f91c21a348871cf209c1065ba6

10 years agoSkip cleaning up TV service/session when the user state is not found
Jae Seo [Wed, 9 Apr 2014 19:08:17 +0000 (12:08 -0700)]
Skip cleaning up TV service/session when the user state is not found

Bug: 13930813
Change-Id: I64285edaca0bd06d6f6efaeb6b5c30c2ef762902

10 years agoCamera2: Fix the JPEG format issues
Zhijun He [Wed, 9 Apr 2014 05:43:51 +0000 (22:43 -0700)]
Camera2: Fix the JPEG format issues

Also add unit test.

Bug: 13836016

Change-Id: I0af4bfe299f99c99e70faf5d3159eb0cbcc147eb

10 years agoMerge "LE: Return false if an attribute read/write is in progress" into klp-modular-dev
Zhihai Xu [Wed, 9 Apr 2014 18:19:04 +0000 (18:19 +0000)]
Merge "LE: Return false if an attribute read/write is in progress" into klp-modular-dev

10 years agoMerge "When recording a child node into a parent, read staging projection property"
Chris Craik [Wed, 9 Apr 2014 18:10:28 +0000 (18:10 +0000)]
Merge "When recording a child node into a parent, read staging projection property"

10 years agoMerge "Fix ThreadedRenderer.setEnabled()"
John Reck [Wed, 9 Apr 2014 18:10:27 +0000 (18:10 +0000)]
Merge "Fix ThreadedRenderer.setEnabled()"

10 years agoMerge "Merge "NsdService does not clean up after exiting clients"" into klp-modular-dev
Jesse Gunsch [Wed, 9 Apr 2014 18:09:02 +0000 (18:09 +0000)]
Merge "Merge "NsdService does not clean up after exiting clients"" into klp-modular-dev

10 years agoFix ThreadedRenderer.setEnabled()
John Reck [Wed, 9 Apr 2014 17:01:03 +0000 (10:01 -0700)]
Fix ThreadedRenderer.setEnabled()

 Bug: 13914116
 Fixes lifecycle issues around setEnabled where ThreadedRenderer
 was reporting as being enabled before it had a Surface. This is
 incorrect.

 Also fix some EGL lifecycle issues

Change-Id: I12ebb279707f9b533a570b61d68735d858b560bf

10 years agoLE: Return false if an attribute read/write is in progress
Andre Eisenbach [Tue, 18 Mar 2014 21:26:51 +0000 (14:26 -0700)]
LE: Return false if an attribute read/write is in progress

bug:12109128
Change-Id: I0155fcddc850aba47a1bf3e174d4ee582d50b187

10 years agoMerge "Prevent Recents from lingering after screen-off."
Winson Chung [Wed, 9 Apr 2014 17:39:31 +0000 (17:39 +0000)]
Merge "Prevent Recents from lingering after screen-off."

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 9 Apr 2014 17:22:03 +0000 (10:22 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 9 Apr 2014 16:53:03 +0000 (09:53 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Audio focus doesn't affect RemoteController"
Jean-Michel Trivi [Wed, 9 Apr 2014 16:51:52 +0000 (16:51 +0000)]
Merge "Audio focus doesn't affect RemoteController"

10 years agoSystem services detect and register app CPU ABIs
Ramin Zaghi [Tue, 1 Apr 2014 14:02:29 +0000 (15:02 +0100)]
System services detect and register app CPU ABIs

This patch uses the NativeLibraryHelper class to
match native libraries in an .apk package with
those listed in 'ro.cpu.abilist' property.
The result is stored in packages.xml and the
ApplicationInfo class.

This information will be used by the ActivityManager
to decide which zygote to use to launch the given
app.

Change-Id: I3ec3d050996d8f4621f286ca331b9ad47ea26fa0

10 years agoam 280fe930: am 7a67c927: am ecdf9b19: Merge "jni: liblog reading error API incorrect"
Mark Salyzyn [Wed, 9 Apr 2014 16:19:47 +0000 (16:19 +0000)]
am 280fe930: am 7a67c927: am ecdf9b19: Merge "jni: liblog reading error API incorrect"

* commit '280fe930a432d9e2ead8c4b58ce76a0ee45742e7':
  jni: liblog reading error API incorrect

10 years agoRe-implement native library search and copies.
Ramin Zaghi [Fri, 28 Feb 2014 15:03:19 +0000 (15:03 +0000)]
Re-implement native library search and copies.

We now use a two step approach :

- First we look through the list of shared libraries in an
  APK, and choose an ABI based on the (priority)  list of ABIs
  a given device supports.
- Then we look through the list of shared libraries and copy
  all shared libraries that match the ABI we've selected.

This fixes a long-standing bug where we would sometimes copy
a mixture of different ABIs to the device, and also allows us
to clearly pick an ABI to run an app with.

The code in NativeLibraryHelper has been refactored so that all
file name validation & matching logic is done in a single place
(NativeLibrariesIterator). This allows us to avoid a lot of
redundant logic and straightens out a few corner cases (for eg.
where the abi determination & copying logic do not agree on
what files to skip).

bug: https://code.google.com/p/android/issues/detail?id=65053
bug: 13647418

Change-Id: I34d08353f24115b0f6b800a7eda3ac427fa25fef
Co-Authored-By: Zhenghua Wang <zhenghua.wang0923@gmail.com>
Co-Authored-By: Ramin Zaghi <ramin.zaghi@arm.com>
Co-Authored-By: Narayan Kamath <narayan@google.com>
10 years agoam 7a67c927: am ecdf9b19: Merge "jni: liblog reading error API incorrect"
Mark Salyzyn [Wed, 9 Apr 2014 16:14:41 +0000 (16:14 +0000)]
am 7a67c927: am ecdf9b19: Merge "jni: liblog reading error API incorrect"

* commit '7a67c927e622bb176b21455b8ed56c76b8e0f602':
  jni: liblog reading error API incorrect

10 years agoam ecdf9b19: Merge "jni: liblog reading error API incorrect"
Mark Salyzyn [Wed, 9 Apr 2014 16:11:04 +0000 (16:11 +0000)]
am ecdf9b19: Merge "jni: liblog reading error API incorrect"

* commit 'ecdf9b199ac9659c37c34c0b23084199acea80bf':
  jni: liblog reading error API incorrect

10 years agoMerge "jni: liblog reading error API incorrect"
Mark Salyzyn [Wed, 9 Apr 2014 16:07:47 +0000 (16:07 +0000)]
Merge "jni: liblog reading error API incorrect"

10 years agoam 769a2475: am b6ab8c17: am a6f5e79d: Merge "Allow connections to multiple zygotes."
Narayan Kamath [Wed, 9 Apr 2014 14:24:56 +0000 (14:24 +0000)]
am 769a2475: am b6ab8c17: am a6f5e79d: Merge "Allow connections to multiple zygotes."

* commit '769a247595cb78536fa159e8f5d54191a4ef90c6':
  Allow connections to multiple zygotes.

10 years agoam b6ab8c17: am a6f5e79d: Merge "Allow connections to multiple zygotes."
Narayan Kamath [Wed, 9 Apr 2014 14:19:46 +0000 (14:19 +0000)]
am b6ab8c17: am a6f5e79d: Merge "Allow connections to multiple zygotes."

* commit 'b6ab8c17bd0163bf07ff3dbe03ab352d58b61cb3':
  Allow connections to multiple zygotes.

10 years agoam a6f5e79d: Merge "Allow connections to multiple zygotes."
Narayan Kamath [Wed, 9 Apr 2014 14:15:16 +0000 (14:15 +0000)]
am a6f5e79d: Merge "Allow connections to multiple zygotes."

* commit 'a6f5e79dd182b05909fa53109e74638afcd7ee12':
  Allow connections to multiple zygotes.

10 years agoMerge "Allow connections to multiple zygotes."
Narayan Kamath [Wed, 9 Apr 2014 14:12:22 +0000 (14:12 +0000)]
Merge "Allow connections to multiple zygotes."

10 years agoAllow connections to multiple zygotes.
Narayan Kamath [Thu, 3 Apr 2014 19:15:15 +0000 (20:15 +0100)]
Allow connections to multiple zygotes.

Adds a new String argument "abi" to Process.start.
This method will now query the zygotes to
determine what ABIs the primary and the secondary
zygote support (the secondary is optional) and dispatch
a fork request over the right zygote connection.

Both zygotes are assumed to be active at all points.

Change-Id: I460319b4481ff1c1666e8172223691820658a35c

10 years agoam 9f777008: am 05f980d4: am d4b64409: Merge "Make zygotes aware of their supported...
Narayan Kamath [Wed, 9 Apr 2014 14:06:14 +0000 (14:06 +0000)]
am 9f777008: am 05f980d4: am d4b64409: Merge "Make zygotes aware of their supported ABIs."

* commit '9f777008eaead3cb9cee80d0c00e5a3d55de9de7':
  Make zygotes aware of their supported ABIs.

10 years agoam 97175deb: am 3856a219: am cecfb94f: Merge "Clean up argc / argv processing for...
Narayan Kamath [Wed, 9 Apr 2014 14:06:10 +0000 (14:06 +0000)]
am 97175deb: am 3856a219: am cecfb94f: Merge "Clean up argc / argv processing for runtime args."

* commit '97175deb446cdaca7f3910b71940cb443bda3cc4':
  Clean up argc / argv processing for runtime args.

10 years agoam 05f980d4: am d4b64409: Merge "Make zygotes aware of their supported ABIs."
Narayan Kamath [Wed, 9 Apr 2014 14:02:18 +0000 (14:02 +0000)]
am 05f980d4: am d4b64409: Merge "Make zygotes aware of their supported ABIs."

* commit '05f980d42d4926ab2130cdcf9e646eb610a7080b':
  Make zygotes aware of their supported ABIs.