OSDN Git Service

android-x86/frameworks-base.git
10 years agoam 323d8ef3: (-s ours) am 6c9385b1: am d10bc171: am 15a18d07: am da084104: Merge...
Wei Wang [Thu, 20 Mar 2014 21:05:03 +0000 (21:05 +0000)]
am 323d8ef3: (-s ours) am 6c9385b1: am d10bc171: am 15a18d07: am da084104: Merge "DO NOT MERGE:  Add status callback for start/stop advertising." into klp-dev

* commit '323d8ef30a7dea00f524338f119af4ddbd38db3c':
  DO NOT MERGE:  Add status callback for start/stop advertising.

10 years agoam 43f8ed56: (-s ours) am 8c5567ee: am bd33dc01: am 8e69abf8: am 46e63117: DO NOT...
Jim Miller [Thu, 20 Mar 2014 21:05:00 +0000 (21:05 +0000)]
am 43f8ed56: (-s ours) am 8c5567ee: am bd33dc01: am 8e69abf8: am 46e63117: DO NOT MERGE - Fix memory leak caused by mismatched linkToDeath() in WindowManagerService

* commit '43f8ed565a61ecec3b73bb20bd64aac320a47fae':
  DO NOT MERGE - Fix memory leak caused by mismatched linkToDeath() in WindowManagerService

10 years agoam 3017a015: (-s ours) am e397d90f: am e0683de5: am 37050124: am a413a4ae: Fix the...
Jim Miller [Thu, 20 Mar 2014 21:04:57 +0000 (21:04 +0000)]
am 3017a015: (-s ours) am e397d90f: am e0683de5: am 37050124: am a413a4ae: Fix the build.  DO NOT MERGE

* commit '3017a0157353cd0b34ef67ac15e8086f9f651d12':
  Fix the build.  DO NOT MERGE

10 years agoam 09cb8941: (-s ours) am 11e0ead8: am 69e58e44: Merge "Add idc config option for...
Michael Wright [Thu, 20 Mar 2014 21:04:54 +0000 (21:04 +0000)]
am 09cb8941: (-s ours) am 11e0ead8: am 69e58e44: Merge "Add idc config option for handling key repeats" into klp-modular-dev

* commit '09cb89414062b5b6b8830307797c83166e1b07d6':
  Add idc config option for handling key repeats

10 years agoMerge "App widget backup/restore infrastructure"
Christopher Tate [Thu, 20 Mar 2014 19:51:06 +0000 (19:51 +0000)]
Merge "App widget backup/restore infrastructure"

10 years agoMerge "Fixing the build for real."
Svetoslav [Thu, 20 Mar 2014 19:32:55 +0000 (19:32 +0000)]
Merge "Fixing the build for real."

10 years agoFixing the build for real.
Svetoslav [Thu, 20 Mar 2014 19:31:15 +0000 (12:31 -0700)]
Fixing the build for real.

Change-Id: I2ddba0e8cba4c847c3dedccb800b9409882fea12

10 years agoApp widget backup/restore infrastructure
Christopher Tate [Wed, 5 Feb 2014 00:23:32 +0000 (16:23 -0800)]
App widget backup/restore infrastructure

Backup/restore now supports app widgets.

An application involved with app widgets, either hosting or publishing,
now has associated data in its backup dataset related to the state of
widget instantiation on the ancestral device.  That data is processed
by the OS during restore so that the matching widget instances can be
"automatically" regenerated.

To take advantage of this facility, widget-using apps need to do two
things:  first, implement a backup agent and store whatever widget
state they need to properly deal with them post-restore (e.g. the
widget instance size & location, for a host); and second, implement
handlers for new AppWidgetManager broadcasts that describe how to
translate ancestral-dataset widget id numbers to the post-restore
world.  Note that a host or provider doesn't technically need to
store *any* data on its own via its agent; it just needs to opt in
to the backup/restore process by publishing an agent.  The OS will
then store a small amount of data on behalf of each widget-savvy
app within the backup dataset, and act on that data at restore time.

The broadcasts are AppWidgetManager.ACTION_APPWIDGET_RESTORED and
ACTION_APPWIDGET_HOST_RESTORED, and have three associated extras:

    EXTRA_APPWIDGET_OLD_IDS
    EXTRA_APPWIDGET_IDS
    EXTRA_HOST_ID [for the host-side broadcast]

The first two are same-sized arrays of integer widget IDs.  The
_OLD_IDS values are the widget IDs as known to the ancestral device.
The _IDS array holds the corresponding widget IDs in the new post-
restore environment.  The app should simply update the stored
widget IDs in its bookkeeping to the new values, and things are
off and running.  The HOST_ID extra, as one might expect, is the
app-defined host ID value of the particular host instance which
has just been restored.

The broadcasts are sent following the conclusion of the overall
restore pass.  This is because the restore might have occurred in a
tightly restricted lifecycle environment without content providers
or the package's custom Application class.  The _RESTORED broadcast,
however, is always delivered into a normal application environment,
so that the app can use its content provider etc as expected.

*All* widget instances that were processed over the course of the
system restore are indicated in the _RESTORED broadcast, even if
the backing provider or host is not yet installed.  The widget
participant is responsible for understanding that these are
promises that might be fulfilled later rather than necessarily
reflecting the immediate presentable widget state.  (Remember
that following a cloud restore, apps may be installed piecemeal
over a lengthy period of time.)  Telling the hosts up front
about all intended widget instances allows them to show placeholder
UI or similarly useful information rather than surprising the user
with piecemeal unexpected appearances.

The AppWidgetProvider helper class has been updated to add a new
callback, onRestored(...), invoked when the _RESTORED broadcast
is received.  The call to onRestored() is immediately followed by
an invocation of onUpdate() for the affected widgets because
they will need to have their RemoteViews regenerated under the
new ID values.

Bug 10622506
Bug 10707117

Change-Id: Ie0007cdf809600b880d91989c00c3c3b8a4f988b

10 years agoFix Build
Baligh Uddin [Thu, 20 Mar 2014 19:26:04 +0000 (12:26 -0700)]
Fix Build

10 years agoMerge "Fix build"
Svetoslav [Thu, 20 Mar 2014 18:39:44 +0000 (18:39 +0000)]
Merge "Fix build"

10 years agoFix build
Svetoslav [Thu, 20 Mar 2014 18:39:13 +0000 (11:39 -0700)]
Fix build

Change-Id: Icde98afd1471295320dc9042e1ecf680bb88ebd2

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 20 Mar 2014 18:32:39 +0000 (18:32 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 20 Mar 2014 18:32:37 +0000 (18:32 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 20 Mar 2014 18:32:30 +0000 (18:32 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 20 Mar 2014 18:32:26 +0000 (18:32 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 20 Mar 2014 18:32:25 +0000 (18:32 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Thu, 20 Mar 2014 18:32:23 +0000 (18:32 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMediaHTTPConnection: fix JNI signature
Colin Cross [Thu, 20 Mar 2014 18:23:29 +0000 (11:23 -0700)]
MediaHTTPConnection: fix JNI signature

mNativeContext was changed to a long, fix the GetFieldID signature

Change-Id: Ib19605d2c534a2aea7d75ab105349710905d716f

10 years agoMerge "BatteryProperty: Add battery capacity property"
Paul Lawrence [Thu, 20 Mar 2014 18:11:29 +0000 (18:11 +0000)]
Merge "BatteryProperty: Add battery capacity property"

10 years agoBatteryProperty: Add battery capacity property
Paul Lawrence [Mon, 3 Mar 2014 22:31:02 +0000 (14:31 -0800)]
BatteryProperty: Add battery capacity property

Match change in native code
  https://googleplex-android-review.git.corp.google.com/#/c/427553/

Change-Id: I0049ccbbef59fbbc0e14b50b9af7481d87a6d48c

10 years agoFix build
Svetoslav [Thu, 20 Mar 2014 17:22:41 +0000 (10:22 -0700)]
Fix build

Change-Id: I2b27d51d8f555ee160dc99dba7e223f1cb3557e7

10 years agoAdded accessibility APIs for introspecting interactive windows.
Svetoslav [Mon, 24 Feb 2014 21:46:47 +0000 (13:46 -0800)]
Added accessibility APIs for introspecting interactive windows.

1. The old introspection model was allowing querying only the active window
   which is the one the user is touching or the focused one if no window is
   touched. This was limiting as auto completion drop downs were not inspectable,
   there was not way to know when the IME toggles, non-focusable windows were
   not inspectable if the user taps them as until a screen-reader starts
   introspecting the users finger is up, accessibility focus was limited to
   only one window and the user couldn't use gestures to visit the whole UI,
   and other things I can't remember right now.

   The new APIs allow getting all interactive windows, i.e. ones that a
   sighted user can interact with. This prevents an accessibility service
   from interacting with content a sighter user cannot. The list of windows
   can be obtained from an accessibility service or the host window from an
   accessibility node info. Introspecting windows obey the same rules for
   introspecting node, i.e. the service has to declare this capability
   in its manifest.

   When some windows change accessibility services receive a new type
   of event. Initially the types of windows is very limited. We provide
   the bounds in screen, layer, and some other properties which are
   enough for a client to determined the spacial and hierarchical
   relationship of the windows.

2. Update the documentation in AccessibilityService for newer event types.

3. LongArray was not removing elements properly.

4. Composite accessibility node ids were not properly constructed as they
   are composed of two ints, each taking 32 bits. However, the values for
   undefined were -1 so composing a 64 long from -1, -1 prevents from getting
   back these values when unpacking.

5. Some apps were generating inconsistent AccessibilityNodeInfo tree. Added
   a check that enforces such trees to be well formed on dev builds.

6. Removed an necessary code for piping the touch exploration state to
   the policy as it should just use the AccessibilityManager from context.

7. When view's visibility changed it was not firing an event to notify
   clients it disappeared/appeared. Also ViewGroup was sending accessibility
   events for changes if the view is included for accessibility but this is
   wrong as there may be a service that want all nodes, hence events from them.
   The accessibility manager service takes care of delivering events from
   not important for accessibility nodes only to services that want such.

8. Several places were asking for prefetching of sibling but not predecessor
   nodes which resulted in prefetching of unconnected subtrees.

9. The local AccessibilityManager implementation was relying on the backing
   service being ready when it is created but it can be fetched from a context
   before that. If that happens the local manager was in a broken state forever.
   Now it is more robust and starts working properly once the backing service
   is up. Several places were lacking locking.

bug:13331285

Change-Id: Ie51166d4875d5f3def8d29d77973da4b9251f5c8

10 years agoam 6c9385b1: am d10bc171: am 15a18d07: am da084104: Merge "DO NOT MERGE: Add status...
Wei Wang [Thu, 20 Mar 2014 16:33:40 +0000 (16:33 +0000)]
am 6c9385b1: am d10bc171: am 15a18d07: am da084104: Merge "DO NOT MERGE:  Add status callback for start/stop advertising." into klp-dev

* commit '6c9385b13cd8baec46e68c5c2bdacfc570d40b4f':
  DO NOT MERGE:  Add status callback for start/stop advertising.

10 years agoam 8c5567ee: am bd33dc01: am 8e69abf8: am 46e63117: DO NOT MERGE - Fix memory leak...
Jim Miller [Thu, 20 Mar 2014 16:33:33 +0000 (16:33 +0000)]
am 8c5567ee: am bd33dc01: am 8e69abf8: am 46e63117: DO NOT MERGE - Fix memory leak caused by mismatched linkToDeath() in WindowManagerService

* commit '8c5567ee9e3d557da9729ef980a3588ce00f8240':
  DO NOT MERGE - Fix memory leak caused by mismatched linkToDeath() in WindowManagerService

10 years agoam e397d90f: am e0683de5: am 37050124: am a413a4ae: Fix the build. DO NOT MERGE
Jim Miller [Thu, 20 Mar 2014 16:33:29 +0000 (16:33 +0000)]
am e397d90f: am e0683de5: am 37050124: am a413a4ae: Fix the build.  DO NOT MERGE

* commit 'e397d90fbdc51c269b82e08dd363bb14d90230dc':
  Fix the build.  DO NOT MERGE

10 years agoam 11e0ead8: am 69e58e44: Merge "Add idc config option for handling key repeats"...
Michael Wright [Thu, 20 Mar 2014 16:33:25 +0000 (16:33 +0000)]
am 11e0ead8: am 69e58e44: Merge "Add idc config option for handling key repeats" into klp-modular-dev

* commit '11e0ead8118d97d0e76a98065a4811fdb01b2db2':
  Add idc config option for handling key repeats

10 years agoam d10bc171: am 15a18d07: am da084104: Merge "DO NOT MERGE: Add status callback...
Wei Wang [Thu, 20 Mar 2014 16:24:09 +0000 (16:24 +0000)]
am d10bc171: am 15a18d07: am da084104: Merge "DO NOT MERGE:  Add status callback for start/stop advertising." into klp-dev

* commit 'd10bc171a5abb8ddecd8a4888fa8833986f8d8ee':
  DO NOT MERGE:  Add status callback for start/stop advertising.

10 years agoam bd33dc01: am 8e69abf8: am 46e63117: DO NOT MERGE - Fix memory leak caused by misma...
Jim Miller [Thu, 20 Mar 2014 16:24:03 +0000 (16:24 +0000)]
am bd33dc01: am 8e69abf8: am 46e63117: DO NOT MERGE - Fix memory leak caused by mismatched linkToDeath() in WindowManagerService

* commit 'bd33dc01f68ae0f4e4861568c02619e38c40af15':
  DO NOT MERGE - Fix memory leak caused by mismatched linkToDeath() in WindowManagerService

10 years agoam e0683de5: am 37050124: am a413a4ae: Fix the build. DO NOT MERGE
Jim Miller [Thu, 20 Mar 2014 16:24:01 +0000 (16:24 +0000)]
am e0683de5: am 37050124: am a413a4ae: Fix the build.  DO NOT MERGE

* commit 'e0683de51e56d7a95c88c5c744f45c72a54a95bc':
  Fix the build.  DO NOT MERGE

10 years agoam 69e58e44: Merge "Add idc config option for handling key repeats" into klp-modular-dev
Michael Wright [Thu, 20 Mar 2014 16:23:50 +0000 (16:23 +0000)]
am 69e58e44: Merge "Add idc config option for handling key repeats" into klp-modular-dev

* commit '69e58e446bc2a030ae423d650e60dbfe317331e6':
  Add idc config option for handling key repeats

10 years agoam db2895e9: (-s ours) am 4eefde23: am 29f00c9f: am 7c9bd98a: am 89513ee5: Merge...
Chris Craik [Thu, 20 Mar 2014 16:10:08 +0000 (16:10 +0000)]
am db2895e9: (-s ours) am 4eefde23: am 29f00c9f: am 7c9bd98a: am 89513ee5: Merge "Fix projection offset caching - DO NOT MERGE" into klp-dev

* commit 'db2895e97745c68924b831701a2bf76e13a5025a':
  Fix projection offset caching - DO NOT MERGE

10 years agoam 1d6c2573: am aebe3b6c: am abde0aaa: am 375ff2c4: am 2598fbd7: Merge "Attempt to...
Jim Miller [Thu, 20 Mar 2014 16:10:04 +0000 (16:10 +0000)]
am 1d6c2573: am aebe3b6c: am abde0aaa: am 375ff2c4: am 2598fbd7: Merge "Attempt to fix a bug where SIM progress dialog gets stuck." into klp-dev

* commit '1d6c2573d4b2824511354d651d7350df327f454f':
  Attempt to fix a bug where SIM progress dialog gets stuck.

10 years agoam 71422f7a: am 1e0ae4fa: am ca58036d: am cfd46dc4: am 610d401c: am e9c7fd2f: am...
Victoria Lease [Thu, 20 Mar 2014 16:09:56 +0000 (16:09 +0000)]
am 71422f7a: am 1e0ae4fa: am ca58036d: am cfd46dc4: am 610d401c: am e9c7fd2f: am 55371beb: am 754bf6ab: am c8868db2: am 737d3e5d: am 6b96ecca: am 32753f4f: am 31912122: am 6eb28103: am 183f97b7: am 1c12f9e7: malloc some advances

* commit '71422f7a16bbeb6f603f8600b6c491c40b0f388f':
  malloc some advances

10 years agoam 4eefde23: am 29f00c9f: am 7c9bd98a: am 89513ee5: Merge "Fix projection offset...
Chris Craik [Thu, 20 Mar 2014 16:05:02 +0000 (16:05 +0000)]
am 4eefde23: am 29f00c9f: am 7c9bd98a: am 89513ee5: Merge "Fix projection offset caching - DO NOT MERGE" into klp-dev

* commit '4eefde23de23a5e9145a634e843964f6f6eaa6bd':
  Fix projection offset caching - DO NOT MERGE

10 years agoam aebe3b6c: am abde0aaa: am 375ff2c4: am 2598fbd7: Merge "Attempt to fix a bug where...
Jim Miller [Thu, 20 Mar 2014 16:04:59 +0000 (16:04 +0000)]
am aebe3b6c: am abde0aaa: am 375ff2c4: am 2598fbd7: Merge "Attempt to fix a bug where SIM progress dialog gets stuck." into klp-dev

* commit 'aebe3b6ca49f232bb0c8733256407680bb56b6cb':
  Attempt to fix a bug where SIM progress dialog gets stuck.

10 years agoam 1e0ae4fa: am ca58036d: am cfd46dc4: am 610d401c: am e9c7fd2f: am 55371beb: am...
Victoria Lease [Thu, 20 Mar 2014 16:04:56 +0000 (16:04 +0000)]
am 1e0ae4fa: am ca58036d: am cfd46dc4: am 610d401c: am e9c7fd2f: am 55371beb: am 754bf6ab: am c8868db2: am 737d3e5d: am 6b96ecca: am 32753f4f: am 31912122: am 6eb28103: am 183f97b7: am 1c12f9e7: malloc some advances

* commit '1e0ae4fa4b23edd5e3015d23845f2aa9050a0435':
  malloc some advances

10 years agoam 29f00c9f: am 7c9bd98a: am 89513ee5: Merge "Fix projection offset caching - DO...
Chris Craik [Thu, 20 Mar 2014 15:47:34 +0000 (15:47 +0000)]
am 29f00c9f: am 7c9bd98a: am 89513ee5: Merge "Fix projection offset caching - DO NOT MERGE" into klp-dev

* commit '29f00c9f35d8565bb3e6b8a2526cbb237db6446a':
  Fix projection offset caching - DO NOT MERGE

10 years agoam abde0aaa: am 375ff2c4: am 2598fbd7: Merge "Attempt to fix a bug where SIM progress...
Jim Miller [Thu, 20 Mar 2014 15:47:31 +0000 (15:47 +0000)]
am abde0aaa: am 375ff2c4: am 2598fbd7: Merge "Attempt to fix a bug where SIM progress dialog gets stuck." into klp-dev

* commit 'abde0aaa7958976b8f3a66e348d6a5152b0d838e':
  Attempt to fix a bug where SIM progress dialog gets stuck.

10 years agoam ca58036d: am cfd46dc4: am 610d401c: am e9c7fd2f: am 55371beb: am 754bf6ab: am...
Victoria Lease [Thu, 20 Mar 2014 15:46:18 +0000 (15:46 +0000)]
am ca58036d: am cfd46dc4: am 610d401c: am e9c7fd2f: am 55371beb: am 754bf6ab: am c8868db2: am 737d3e5d: am 6b96ecca: am 32753f4f: am 31912122: am 6eb28103: am 183f97b7: am 1c12f9e7: malloc some advances

* commit 'ca58036dd8018bec81fc5ab9d0376cd35b363125':
  malloc some advances

10 years agoMerge "set the sysui settings on create, as well as on update."
Chris Wren [Thu, 20 Mar 2014 14:11:35 +0000 (14:11 +0000)]
Merge "set the sysui settings on create, as well as on update."

10 years agoam e28f061f: am 76ae4b80: am c850102d: am 0da4ad42: Merge "Don\'t register methods...
Narayan Kamath [Thu, 20 Mar 2014 10:28:32 +0000 (10:28 +0000)]
am e28f061f: am 76ae4b80: am c850102d: am 0da4ad42: Merge "Don\'t register methods when there\'s nothing to register."

* commit 'e28f061fa43e36f2f319322bc074964440a20f50':
  Don't register methods when there's nothing to register.

10 years agoam 76ae4b80: am c850102d: am 0da4ad42: Merge "Don\'t register methods when there...
Narayan Kamath [Thu, 20 Mar 2014 10:23:24 +0000 (10:23 +0000)]
am 76ae4b80: am c850102d: am 0da4ad42: Merge "Don\'t register methods when there\'s nothing to register."

* commit '76ae4b804e620082f3dc7eefac7f22e57a818ef1':
  Don't register methods when there's nothing to register.

10 years agoam c850102d: am 0da4ad42: Merge "Don\'t register methods when there\'s nothing to...
Narayan Kamath [Thu, 20 Mar 2014 10:18:51 +0000 (10:18 +0000)]
am c850102d: am 0da4ad42: Merge "Don\'t register methods when there\'s nothing to register."

* commit 'c850102d5c4b1fad47c221911c7be5567cebe8b1':
  Don't register methods when there's nothing to register.

10 years agoam 0da4ad42: Merge "Don\'t register methods when there\'s nothing to register."
Narayan Kamath [Thu, 20 Mar 2014 10:13:27 +0000 (03:13 -0700)]
am 0da4ad42: Merge "Don\'t register methods when there\'s nothing to register."

* commit '0da4ad425d52d1aeec16b31b784c456753532dc2':
  Don't register methods when there's nothing to register.

10 years agoMerge "Don't register methods when there's nothing to register."
Narayan Kamath [Thu, 20 Mar 2014 10:08:37 +0000 (10:08 +0000)]
Merge "Don't register methods when there's nothing to register."

10 years agoMerge "EthernetDataTracker: Set more detailed status"
Jaewan Kim [Thu, 20 Mar 2014 06:48:40 +0000 (06:48 +0000)]
Merge "EthernetDataTracker: Set more detailed status"

10 years agoam 15a18d07: am da084104: Merge "DO NOT MERGE: Add status callback for start/stop...
Wei Wang [Thu, 20 Mar 2014 03:36:45 +0000 (03:36 +0000)]
am 15a18d07: am da084104: Merge "DO NOT MERGE:  Add status callback for start/stop advertising." into klp-dev

* commit '15a18d07acc57d465e9d67bb28010912bb9ad15f':
  DO NOT MERGE:  Add status callback for start/stop advertising.

10 years agoam da084104: Merge "DO NOT MERGE: Add status callback for start/stop advertising...
Wei Wang [Thu, 20 Mar 2014 03:32:17 +0000 (03:32 +0000)]
am da084104: Merge "DO NOT MERGE:  Add status callback for start/stop advertising." into klp-dev

* commit 'da084104eb768f4472b7988b77a4f2b7e3f170d8':
  DO NOT MERGE:  Add status callback for start/stop advertising.

10 years agoMerge "DO NOT MERGE: Add status callback for start/stop advertising." into klp-dev
Wei Wang [Thu, 20 Mar 2014 03:27:46 +0000 (03:27 +0000)]
Merge "DO NOT MERGE:  Add status callback for start/stop advertising." into klp-dev

10 years agoMerge "Fix oversight when checking in last CL"
Craig Mautner [Thu, 20 Mar 2014 02:56:05 +0000 (02:56 +0000)]
Merge "Fix oversight when checking in last CL"

10 years agoFix oversight when checking in last CL
Craig Mautner [Thu, 20 Mar 2014 02:53:45 +0000 (19:53 -0700)]
Fix oversight when checking in last CL

Too much was deleted due to the order of operations while
debugging. CL 435015 removed some critical lines.

Fixes bug 13410184.

Change-Id: Ia1fbf985d73163742c4c531e8505606454897f69

10 years agoam 8e69abf8: am 46e63117: DO NOT MERGE - Fix memory leak caused by mismatched linkToD...
Jim Miller [Thu, 20 Mar 2014 02:47:09 +0000 (02:47 +0000)]
am 8e69abf8: am 46e63117: DO NOT MERGE - Fix memory leak caused by mismatched linkToDeath() in WindowManagerService

* commit '8e69abf8c62452e6e9bcd254a55a2d80c8ef5b3d':
  DO NOT MERGE - Fix memory leak caused by mismatched linkToDeath() in WindowManagerService

10 years agoam 37050124: am a413a4ae: Fix the build. DO NOT MERGE
Jim Miller [Thu, 20 Mar 2014 02:47:04 +0000 (02:47 +0000)]
am 37050124: am a413a4ae: Fix the build.  DO NOT MERGE

* commit '370501243685a39a52b6e389b97711b906d2d4f8':
  Fix the build.  DO NOT MERGE

10 years agoam 99689a68: am 9208bb4a: am 00efaea9: am dac29800: Merge "Prevent Lockscreen album...
Chris Craik [Thu, 20 Mar 2014 02:40:14 +0000 (02:40 +0000)]
am 99689a68: am 9208bb4a: am 00efaea9: am dac29800: Merge "Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON"

* commit '99689a6874c7c465ed97dba625d38e3f1599963f':
  Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON

10 years agoam 9208bb4a: am 00efaea9: am dac29800: Merge "Prevent Lockscreen album art from activ...
Chris Craik [Thu, 20 Mar 2014 02:35:47 +0000 (02:35 +0000)]
am 9208bb4a: am 00efaea9: am dac29800: Merge "Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON"

* commit '9208bb4a2b40e8269f601fa096ae9c88d6d1ce7a':
  Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON

10 years agoam 00efaea9: am dac29800: Merge "Prevent Lockscreen album art from activating FLAG_KE...
Chris Craik [Thu, 20 Mar 2014 02:30:15 +0000 (02:30 +0000)]
am 00efaea9: am dac29800: Merge "Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON"

* commit '00efaea980c7a9f84f326b22aef740cb5438d282':
  Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON

10 years agoam 46e63117: DO NOT MERGE - Fix memory leak caused by mismatched linkToDeath() in...
Jim Miller [Thu, 20 Mar 2014 02:30:14 +0000 (02:30 +0000)]
am 46e63117: DO NOT MERGE - Fix memory leak caused by mismatched linkToDeath() in WindowManagerService

* commit '46e631178e3420fee182e7d9d1ddfdbca9355bc1':
  DO NOT MERGE - Fix memory leak caused by mismatched linkToDeath() in WindowManagerService

10 years agoam dac29800: Merge "Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON"
Chris Craik [Thu, 20 Mar 2014 02:24:53 +0000 (19:24 -0700)]
am dac29800: Merge "Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON"

* commit 'dac298005ce3c1361e27bb740e4b518765d43d77':
  Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON

10 years agoDO NOT MERGE - Fix memory leak caused by mismatched linkToDeath() in WindowManagerService
Jim Miller [Tue, 10 Dec 2013 01:38:05 +0000 (17:38 -0800)]
DO NOT MERGE - Fix memory leak caused by mismatched linkToDeath() in WindowManagerService

This fixes a bug where an allocated DeathRecipient in WindowManagerService
was holding a reference to keyguard binder interface after a call to
linkToDeath() without a matchin unlinkToDeath().

It was causing the keyguard side of the binder interface to stick around,
which in tern prevented the keyguard side from releasing its references.

The solution is to ensure matching linkToDeath()/unlinkToDeath() calls.

Fixes bug 11982048

Change-Id: I6959816b819ba953512c53675162195cbf1e0653

10 years agoMerge "Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON"
Chris Craik [Thu, 20 Mar 2014 02:19:53 +0000 (02:19 +0000)]
Merge "Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON"

10 years agoam 857fe511: am 0b4f63c3: am dd6b7495: am 83725810: Merge "Get rid of noise during...
Nick Kralevich [Thu, 20 Mar 2014 02:03:01 +0000 (02:03 +0000)]
am 857fe511: am 0b4f63c3: am dd6b7495: am 83725810: Merge "Get rid of noise during boot."

* commit '857fe511fe7139a41ad3d587a73758be53340e90':
  Get rid of noise during boot.

10 years agoam 0b4f63c3: am dd6b7495: am 83725810: Merge "Get rid of noise during boot."
Nick Kralevich [Thu, 20 Mar 2014 01:58:42 +0000 (01:58 +0000)]
am 0b4f63c3: am dd6b7495: am 83725810: Merge "Get rid of noise during boot."

* commit '0b4f63c319f211ddd0d572b6b1eb647d0a6dc8a7':
  Get rid of noise during boot.

10 years agoam a78b389e: am 49fca697: am 0dccb02b: am 19fc55e1: Merge "build app_process64 on...
Colin Cross [Thu, 20 Mar 2014 01:55:52 +0000 (01:55 +0000)]
am a78b389e: am 49fca697: am 0dccb02b: am 19fc55e1: Merge "build app_process64 on 64-bit targets"

* commit 'a78b389e544894ccb9673e2e416c3a1b51260513':
  build app_process64 on 64-bit targets

10 years agoMerge "Add idc config option for handling key repeats" into klp-modular-dev
Michael Wright [Thu, 20 Mar 2014 01:55:15 +0000 (01:55 +0000)]
Merge "Add idc config option for handling key repeats" into klp-modular-dev

10 years agoam dd6b7495: am 83725810: Merge "Get rid of noise during boot."
Nick Kralevich [Thu, 20 Mar 2014 01:52:42 +0000 (01:52 +0000)]
am dd6b7495: am 83725810: Merge "Get rid of noise during boot."

* commit 'dd6b7495577eca7a00aa37bfdca3449cf1443681':
  Get rid of noise during boot.

10 years agoam 49fca697: am 0dccb02b: am 19fc55e1: Merge "build app_process64 on 64-bit targets"
Colin Cross [Thu, 20 Mar 2014 01:49:57 +0000 (01:49 +0000)]
am 49fca697: am 0dccb02b: am 19fc55e1: Merge "build app_process64 on 64-bit targets"

* commit '49fca697470b8321a02bdd2a828e9beec1ef1182':
  build app_process64 on 64-bit targets

10 years agoam a413a4ae: Fix the build. DO NOT MERGE
Jim Miller [Thu, 20 Mar 2014 01:49:31 +0000 (01:49 +0000)]
am a413a4ae: Fix the build.  DO NOT MERGE

* commit 'a413a4ae3280be6c45e84e85d7be3379a5cb51e4':
  Fix the build.  DO NOT MERGE

10 years agoam 83725810: Merge "Get rid of noise during boot."
Nick Kralevich [Thu, 20 Mar 2014 01:47:45 +0000 (18:47 -0700)]
am 83725810: Merge "Get rid of noise during boot."

* commit '8372581089422364f4f8bc948b9cbdcf5f8c2e91':
  Get rid of noise during boot.

10 years agoFix the build. DO NOT MERGE
Jim Miller [Thu, 20 Mar 2014 01:37:36 +0000 (18:37 -0700)]
Fix the build.  DO NOT MERGE

Change-Id: Ic34e351f86cfb8299b666e860c067d905cce6747

10 years agoMerge "Get rid of noise during boot."
Nick Kralevich [Thu, 20 Mar 2014 01:37:38 +0000 (01:37 +0000)]
Merge "Get rid of noise during boot."

10 years agoGet rid of noise during boot.
Dianne Hackborn [Thu, 20 Mar 2014 00:49:09 +0000 (17:49 -0700)]
Get rid of noise during boot.

This log is not an error, it is a warning, don't spam a stack
crawl when it happens.

Change-Id: I6038e3625cc0c16af9e54887b5e7ec451d9f864d

10 years agoam 0dccb02b: am 19fc55e1: Merge "build app_process64 on 64-bit targets"
Colin Cross [Thu, 20 Mar 2014 01:23:28 +0000 (01:23 +0000)]
am 0dccb02b: am 19fc55e1: Merge "build app_process64 on 64-bit targets"

* commit '0dccb02b9fd714af1db91e4ba3ca0b0da4e563c1':
  build app_process64 on 64-bit targets

10 years agoam 19fc55e1: Merge "build app_process64 on 64-bit targets"
Colin Cross [Thu, 20 Mar 2014 01:19:25 +0000 (18:19 -0700)]
am 19fc55e1: Merge "build app_process64 on 64-bit targets"

* commit '19fc55e1e3a51aba4db985d186d1f4ec075d7ca1':
  build app_process64 on 64-bit targets

10 years agoMerge "Use DisplayPowerRequest#wantLightSensorEnabled in ABC."
Michael Wright [Thu, 20 Mar 2014 01:15:38 +0000 (01:15 +0000)]
Merge "Use DisplayPowerRequest#wantLightSensorEnabled in ABC."

10 years agoam 7c9bd98a: am 89513ee5: Merge "Fix projection offset caching - DO NOT MERGE" into...
Chris Craik [Thu, 20 Mar 2014 01:14:44 +0000 (01:14 +0000)]
am 7c9bd98a: am 89513ee5: Merge "Fix projection offset caching - DO NOT MERGE" into klp-dev

* commit '7c9bd98a4bb0aa6954d5f612c197d03f309980f0':
  Fix projection offset caching - DO NOT MERGE

10 years agoMerge "build app_process64 on 64-bit targets"
Colin Cross [Thu, 20 Mar 2014 01:14:43 +0000 (01:14 +0000)]
Merge "build app_process64 on 64-bit targets"

10 years agoam 375ff2c4: am 2598fbd7: Merge "Attempt to fix a bug where SIM progress dialog gets...
Jim Miller [Thu, 20 Mar 2014 01:14:40 +0000 (01:14 +0000)]
am 375ff2c4: am 2598fbd7: Merge "Attempt to fix a bug where SIM progress dialog gets stuck." into klp-dev

* commit '375ff2c4a7b42d6dfd333e0ffa351be88fdab034':
  Attempt to fix a bug where SIM progress dialog gets stuck.

10 years agoMerge "Introduce the SearchIndexablesProvider and its friends"
Fabrice Di Meglio [Thu, 20 Mar 2014 01:12:06 +0000 (01:12 +0000)]
Merge "Introduce the SearchIndexablesProvider and its friends"

10 years agoam 89513ee5: Merge "Fix projection offset caching - DO NOT MERGE" into klp-dev
Chris Craik [Thu, 20 Mar 2014 01:08:45 +0000 (01:08 +0000)]
am 89513ee5: Merge "Fix projection offset caching - DO NOT MERGE" into klp-dev

* commit '89513ee544cd6373496179758e09954af0ba217d':
  Fix projection offset caching - DO NOT MERGE

10 years agoam 2598fbd7: Merge "Attempt to fix a bug where SIM progress dialog gets stuck." into...
Jim Miller [Thu, 20 Mar 2014 01:08:43 +0000 (01:08 +0000)]
am 2598fbd7: Merge "Attempt to fix a bug where SIM progress dialog gets stuck." into klp-dev

* commit '2598fbd71a2109ab307d32935a13fa1eab150e8d':
  Attempt to fix a bug where SIM progress dialog gets stuck.

10 years agoMerge "Fix projection offset caching - DO NOT MERGE" into klp-dev
Chris Craik [Thu, 20 Mar 2014 01:04:57 +0000 (01:04 +0000)]
Merge "Fix projection offset caching - DO NOT MERGE" into klp-dev

10 years agoMerge "Attempt to fix a bug where SIM progress dialog gets stuck." into klp-dev
Jim Miller [Thu, 20 Mar 2014 01:04:12 +0000 (01:04 +0000)]
Merge "Attempt to fix a bug where SIM progress dialog gets stuck." into klp-dev

10 years agobuild app_process64 on 64-bit targets
Colin Cross [Thu, 20 Mar 2014 00:47:39 +0000 (17:47 -0700)]
build app_process64 on 64-bit targets

On 64-bit platforms builds two copies of app_process, the 32-bit
app_process and 64-bit app_process64.

Change-Id: I59d739b5df398ad0bd040c954c57640ff7ab3e72

10 years agoMerge "batstats: fix wake lock tracking, service bug"
Dianne Hackborn [Thu, 20 Mar 2014 00:43:37 +0000 (00:43 +0000)]
Merge "batstats: fix wake lock tracking, service bug"

10 years agoMerge "MediaHTTPConnection: use jlong to store native pointer"
Colin Cross [Thu, 20 Mar 2014 00:35:31 +0000 (00:35 +0000)]
Merge "MediaHTTPConnection: use jlong to store native pointer"

10 years agoDO NOT MERGE: Add status callback for start/stop advertising.
Wei Wang [Wed, 12 Mar 2014 05:22:41 +0000 (22:22 -0700)]
DO NOT MERGE:  Add status callback for start/stop advertising.

Cherrypick from master to fix b/13289050

Change-Id: I231ba51aaa67b1f917e476ef0f2c8f82c762df77

Conflicts:
core/java/android/bluetooth/BluetoothAdapter.java
core/java/android/bluetooth/BluetoothGatt.java

10 years agoMediaHTTPConnection: use jlong to store native pointer
Colin Cross [Thu, 20 Mar 2014 00:28:42 +0000 (17:28 -0700)]
MediaHTTPConnection: use jlong to store native pointer

Change-Id: Ic4f391a8e658498e63c26ea2af4c7413ed387360

10 years agocamera: Fix setParameters for Preview FPS single/range values
Igor Murashkin [Wed, 19 Mar 2014 01:14:41 +0000 (18:14 -0700)]
camera: Fix setParameters for Preview FPS single/range values

Bug: 12609188
Change-Id: I82ea6f5de2183dd046d4bf5683600c97f37ab4db

10 years agobatstats: fix wake lock tracking, service bug
Dianne Hackborn [Wed, 19 Mar 2014 23:55:40 +0000 (16:55 -0700)]
batstats: fix wake lock tracking, service bug

- Fix bug I introduced in handling wake lock changes where
  we weren't iterating over the new work sources correctly.
- Fix bug in ActiveServices that would wtf too much.
- Prepare to start tracking uptime in the battery history.

Change-Id: Ia94316be51bc6eab7b02f214a5c40c08e99cc3b1

10 years agoMerge "Move advetise clean up to callback code. fixes b/13289050"
Wei Wang [Thu, 20 Mar 2014 00:12:22 +0000 (00:12 +0000)]
Merge "Move advetise clean up to callback code. fixes b/13289050"

10 years agoMove advetise clean up to callback code. fixes b/13289050
Wei Wang [Wed, 19 Mar 2014 22:47:12 +0000 (15:47 -0700)]
Move advetise clean up to callback code. fixes b/13289050

Change-Id: Ibf3c772561125821817c947730cf21defafd4cb2

10 years agoMerge "Move RenderNode to own file"
John Reck [Wed, 19 Mar 2014 23:47:14 +0000 (23:47 +0000)]
Merge "Move RenderNode to own file"

10 years agoMove RenderNode to own file
John Reck [Tue, 18 Mar 2014 16:22:59 +0000 (09:22 -0700)]
Move RenderNode to own file

Change-Id: I9380d161fd3ddd7b569c262dd8e7aa0c96151b1e

10 years agoMerge "Fix javadoc @links in Vibrator."
John Spurlock [Wed, 19 Mar 2014 23:30:51 +0000 (23:30 +0000)]
Merge "Fix javadoc @links in Vibrator."

10 years agoFix javadoc @links in Vibrator.
John Spurlock [Wed, 19 Mar 2014 23:29:34 +0000 (19:29 -0400)]
Fix javadoc @links in Vibrator.

Change-Id: I5143334735a1bcdf8252687e703c74656ff9d126

10 years agoIntroduce the SearchIndexablesProvider and its friends
Fabrice Di Meglio [Sat, 15 Mar 2014 02:06:20 +0000 (19:06 -0700)]
Introduce the SearchIndexablesProvider and its friends

- enable retrieval of search data to be indexed

Change-Id: I4a16408dec3d3305bf20107fb11eb2d1aee7fad5

10 years agoFix broken tests to fix build
John Spurlock [Wed, 19 Mar 2014 22:42:31 +0000 (18:42 -0400)]
Fix broken tests to fix build

Change-Id: I6bb9d178a9f1b09c1b247ec9cbdd57507295c4bf

10 years agoam cfd46dc4: am 610d401c: am e9c7fd2f: am 55371beb: am 754bf6ab: am c8868db2: am...
Victoria Lease [Wed, 19 Mar 2014 22:36:38 +0000 (22:36 +0000)]
am cfd46dc4: am 610d401c: am e9c7fd2f: am 55371beb: am 754bf6ab: am c8868db2: am 737d3e5d: am 6b96ecca: am 32753f4f: am 31912122: am 6eb28103: am 183f97b7: am 1c12f9e7: malloc some advances

* commit 'cfd46dc4847d5ef1ed14484717cf857ae5f67cae':
  malloc some advances

10 years agoam 610d401c: am e9c7fd2f: am 55371beb: am 754bf6ab: am c8868db2: am 737d3e5d: am...
Victoria Lease [Wed, 19 Mar 2014 22:32:12 +0000 (22:32 +0000)]
am 610d401c: am e9c7fd2f: am 55371beb: am 754bf6ab: am c8868db2: am 737d3e5d: am 6b96ecca: am 32753f4f: am 31912122: am 6eb28103: am 183f97b7: am 1c12f9e7: malloc some advances

* commit '610d401cb580ee233c008acf8fc076047a0ffdb4':
  malloc some advances

10 years agoam e9c7fd2f: am 55371beb: am 754bf6ab: am c8868db2: am 737d3e5d: am 6b96ecca: am...
Victoria Lease [Wed, 19 Mar 2014 22:27:06 +0000 (22:27 +0000)]
am e9c7fd2f: am 55371beb: am 754bf6ab: am c8868db2: am 737d3e5d: am 6b96ecca: am 32753f4f: am 31912122: am 6eb28103: am 183f97b7: am 1c12f9e7: malloc some advances

* commit 'e9c7fd2f2ee7840c61dc66ead3737e437f4e8c10':
  malloc some advances