39345 Commits

Author SHA1 Message Date
Scott Main
7a14b93bee docs: Rewrite of App Fundamentals.. Part 2.
This introduces three new docs:

Services:
  Provides an introduction to using services and describes the
  service lifecycle (previously in the "Component Lifecycles" section
  of the fundamentals.jd document)
Bound Services:
  A guide for services that offer binding.
AIDL:
  A doc about using AIDL (primarily for creating a service interface)

Also includes edits to IntentService javadocs to clarify
different behaviors for some callback methods

Includes a new version of the services lifecycle diagram
and an additional diagram for determining onRebind()

These files are orphaned for now---they're not linked in the sidenav,
until I get the last couple documents submitted for the app fundamentals.

Change-Id: I1365c6c45f8e1f75ee4afbc52c32778d21b97be4
2011-01-10 17:46:33 -08:00
Stephen Hines
15f4b2b30e am bf11e226: am d94988bb: Merge "Split time functions into rs_time.rsh header." into honeycomb
* commit 'bf11e22684d9384cde9339886d307ba9316f5e3d':
  Split time functions into rs_time.rsh header.
2011-01-10 14:18:25 -08:00
Stephen Hines
bf11e22684 am d94988bb: Merge "Split time functions into rs_time.rsh header." into honeycomb
* commit 'd94988bb0cc65e5de71ab3c43ddf26e5c72dbc32':
  Split time functions into rs_time.rsh header.
2011-01-10 14:16:26 -08:00
Stephen Hines
d94988bb0c Merge "Split time functions into rs_time.rsh header." into honeycomb 2011-01-10 14:14:35 -08:00
Romain Guy
463707189f am 67c796da: am 778f5f95: Merge "Make sure onCancelled() is called if cancel() is called early." into honeycomb
* commit '67c796da276d3d251f0ed19ecc44952a0b668f3c':
  Make sure onCancelled() is called if cancel() is called early.
2011-01-10 13:58:54 -08:00
Elliott Hughes
701e0860f8 am 85a46c91: am 6452c259: Merge "Remove tests for dead API." into honeycomb
* commit '85a46c91f97def188d8b1baaf4ac67c12230bc29':
  Remove tests for dead API.
2011-01-10 13:58:51 -08:00
Romain Guy
67c796da27 am 778f5f95: Merge "Make sure onCancelled() is called if cancel() is called early." into honeycomb
* commit '778f5f95d7f74ac12bc426c37dd1fc7abc05e15b':
  Make sure onCancelled() is called if cancel() is called early.
2011-01-10 13:41:45 -08:00
Elliott Hughes
85a46c91f9 am 6452c259: Merge "Remove tests for dead API." into honeycomb
* commit '6452c259e0547bcb5aede8d52e1307ee8cf86d89':
  Remove tests for dead API.
2011-01-10 13:41:41 -08:00
Romain Guy
778f5f95d7 Merge "Make sure onCancelled() is called if cancel() is called early." into honeycomb 2011-01-10 13:39:41 -08:00
Elliott Hughes
6452c259e0 Merge "Remove tests for dead API." into honeycomb 2011-01-10 13:39:30 -08:00
Romain Guy
5ba812b9e9 Make sure onCancelled() is called if cancel() is called early.
In some situations, when cancel() was called before the task had a
chance to start its execution, onCancelled() would not be invoked.

Change-Id: I6c1f4cd28a209fb8cc779bb212f500565dfceaae
2011-01-10 13:33:12 -08:00
Jesse Wilson
5887c9459a am 48526d69: am eb97c0dd: Patch new JSON APIs with changes informed by GSON.
* commit '48526d6994c565ba223a02e45fea6faeeea6279c':
  Patch new JSON APIs with changes informed by GSON.
2011-01-10 13:01:44 -08:00
Jesse Wilson
48526d6994 am eb97c0dd: Patch new JSON APIs with changes informed by GSON.
* commit 'eb97c0ddc063176c26065fc6855188edf0c16e03':
  Patch new JSON APIs with changes informed by GSON.
2011-01-10 12:59:59 -08:00
Elliott Hughes
ffcac1a127 Remove tests for dead API.
We removed the implementation, so there's no point trying to test it. (The
methods are still there for binary compatibility, which is why this still
compiled.)

Change-Id: I51f392f3dab542fca0c80fab4974354e2c689b9e
2011-01-10 12:57:36 -08:00
Jesse Wilson
eb97c0ddc0 Patch new JSON APIs with changes informed by GSON.
Change-Id: I86c12a123080cc06ab23d11d1563bb52c5902517
2011-01-10 12:56:31 -08:00
Gilles Debunne
3e803355f5 am e79ea1db: am b3fbd7e0: Merge "Stop text selection mode when new text replaces selection." into honeycomb
* commit 'e79ea1dbc7731ba70b170fc0d74b48b1cf0b852d':
  Stop text selection mode when new text replaces selection.
2011-01-10 12:53:42 -08:00
Gilles Debunne
e79ea1dbc7 am b3fbd7e0: Merge "Stop text selection mode when new text replaces selection." into honeycomb
* commit 'b3fbd7e0fd44a72fb7ccba0959481b8a806608b7':
  Stop text selection mode when new text replaces selection.
2011-01-10 12:51:25 -08:00
Leon Scroggins
1fc6bc5477 am f5f13669: am e0b19124: Merge "Do not store the find callback until action mode starts." into honeycomb
* commit 'f5f13669bb5267e9cdfd581801ecee1540ab3971':
  Do not store the find callback until action mode starts.
2011-01-10 12:49:34 -08:00
Jamie Gennis
808bd7b7b5 am 164cb00d: am fbab3b67: Merge "Fix a bug in SurfaceTexture::setBufferCount." into honeycomb
* commit '164cb00d9611d49ed5740cd2c6f17f062cf3dbf9':
  Fix a bug in SurfaceTexture::setBufferCount.
2011-01-10 12:49:28 -08:00
Jamie Gennis
bced7e65de am 61e2ef07: am ffe3f1cb: Merge "Add method logging to the SurfaceTexture C++ class." into honeycomb
* commit '61e2ef0721e19b1699e7544e1ffbddcb90c8a1c1':
  Add method logging to the SurfaceTexture C++ class.
2011-01-10 12:49:25 -08:00
Gilles Debunne
b3fbd7e0fd Merge "Stop text selection mode when new text replaces selection." into honeycomb 2011-01-10 12:49:23 -08:00
Jamie Gennis
ee40cf0801 am 3d25b74a: am c936c5ce: Merge "Initialize the SurfaceTexture buffer slots." into honeycomb
* commit '3d25b74a87404cacb7c6b0f949ff007395cabd6a':
  Initialize the SurfaceTexture buffer slots.
2011-01-10 12:49:19 -08:00
Leon Scroggins
f5f13669bb am e0b19124: Merge "Do not store the find callback until action mode starts." into honeycomb
* commit 'e0b1912480d3c5cfa3f4cf3dd9d7cddd10d68c63':
  Do not store the find callback until action mode starts.
2011-01-10 12:47:11 -08:00
Jamie Gennis
164cb00d96 am fbab3b67: Merge "Fix a bug in SurfaceTexture::setBufferCount." into honeycomb
* commit 'fbab3b67afc904450613204400d9e8779feb5659':
  Fix a bug in SurfaceTexture::setBufferCount.
2011-01-10 12:47:06 -08:00
Jamie Gennis
61e2ef0721 am ffe3f1cb: Merge "Add method logging to the SurfaceTexture C++ class." into honeycomb
* commit 'ffe3f1cb16d37e56ab69ad345f47c6d3f52b916c':
  Add method logging to the SurfaceTexture C++ class.
2011-01-10 12:47:03 -08:00
Jamie Gennis
3d25b74a87 am c936c5ce: Merge "Initialize the SurfaceTexture buffer slots." into honeycomb
* commit 'c936c5cec648cd60637275fc6dba2265ae446044':
  Initialize the SurfaceTexture buffer slots.
2011-01-10 12:47:00 -08:00
Leon Scroggins
e0b1912480 Merge "Do not store the find callback until action mode starts." into honeycomb 2011-01-10 12:41:20 -08:00
Jamie Gennis
fbab3b67af Merge "Fix a bug in SurfaceTexture::setBufferCount." into honeycomb 2011-01-10 12:30:33 -08:00
Jamie Gennis
ffe3f1cb16 Merge "Add method logging to the SurfaceTexture C++ class." into honeycomb 2011-01-10 12:30:14 -08:00
Jamie Gennis
c936c5cec6 Merge "Initialize the SurfaceTexture buffer slots." into honeycomb 2011-01-10 12:29:51 -08:00
Leon Scroggins
19abf2d7a5 Do not store the find callback until action mode starts.
Bug:3331652

Prevents a bug where showFindDialog was apparently
called twice.

Change-Id: Ida473ef1b9b1b8b641fa3432b55d7a92eb7d0808
2011-01-10 15:29:01 -05:00
Subir Jhanb
c8cc63029b Merge "Making the sync manager take the data connected value from ConnectivityManager and not from the intent. BUG: 3337128 BUG: 3334394" 2011-01-10 12:21:34 -08:00
Subir Jhanb
753c57bf72 Making the sync manager take the data connected value from ConnectivityManager and not from the intent.
BUG: 3337128
BUG: 3334394

Change-Id: I75b88c7cc0be526e8e7e441aa2668307e2452e62
2011-01-10 12:18:11 -08:00
Andy McFadden
f214e29d95 am d0a4c69e: am 155b552b: Merge "Fix start-time setreuid complaints." into honeycomb
* commit 'd0a4c69e2ae28e4a9c13df25757c83493dd815b4':
  Fix start-time setreuid complaints.
2011-01-10 12:10:13 -08:00
Andy McFadden
d0a4c69e2a am 155b552b: Merge "Fix start-time setreuid complaints." into honeycomb
* commit '155b552b1d7b8ff705c325ee435022cc135f6486':
  Fix start-time setreuid complaints.
2011-01-10 12:08:43 -08:00
Andy McFadden
155b552b1d Merge "Fix start-time setreuid complaints." into honeycomb 2011-01-10 12:07:03 -08:00
Andreas Huber
035330fe69 am 0c12065f: am b736cb28: Return a runtime error instead of asserting if the M4vH263Decoder fails in start()
* commit '0c12065f037b4fa57d554e794059715f243c88ea':
  Return a runtime error instead of asserting if the M4vH263Decoder fails in start()
2011-01-10 12:04:04 -08:00
Andreas Huber
0c12065f03 am b736cb28: Return a runtime error instead of asserting if the M4vH263Decoder fails in start()
* commit 'b736cb28ab414c16b9cd89923a6da3778847cf2a':
  Return a runtime error instead of asserting if the M4vH263Decoder fails in start()
2011-01-10 12:02:35 -08:00
Andreas Huber
b736cb28ab Return a runtime error instead of asserting if the M4vH263Decoder fails in start()
Change-Id: Ie704a72685f749613fa0ed5fa6f461abc0406371
related-to-bug: 3328200
2011-01-10 11:57:30 -08:00
Andreas Huber
67227446a6 am b1914aec: am 748ba9a9: Merge "NuPlayer now properly sends MEDIA_SET_VIDEOSIZE notifications." into honeycomb
* commit 'b1914aece8fcb590e015036fa1025428e2e67895':
  NuPlayer now properly sends MEDIA_SET_VIDEOSIZE notifications.
2011-01-10 11:31:08 -08:00
Gilles Debunne
d94f8c5055 Stop text selection mode when new text replaces selection.
Rationalized the use of hideControllers and stopSelectionActionMode.

Hiding the selection controller should be done exclusively by stoping text selection
mode.

Bug 3322636

Change-Id: I30b4a651aa5fb5a865d636bec495a2b96ef114cd
2011-01-10 11:29:15 -08:00
Andreas Huber
b1914aece8 am 748ba9a9: Merge "NuPlayer now properly sends MEDIA_SET_VIDEOSIZE notifications." into honeycomb
* commit '748ba9a9512dee65d5b09cfe26a34ded753f4aab':
  NuPlayer now properly sends MEDIA_SET_VIDEOSIZE notifications.
2011-01-10 11:28:44 -08:00
Andreas Huber
748ba9a951 Merge "NuPlayer now properly sends MEDIA_SET_VIDEOSIZE notifications." into honeycomb 2011-01-10 11:26:38 -08:00
Andy McFadden
05554a4ee9 Fix start-time setreuid complaints.
The code was checking errno instead of the return value from the call.
This fixes calls to setreuid(), setregid(), and setpgid().

Bug 3131052

Change-Id: I8b6155bd4fa9b941895b35fed62cfc163b420fff
2011-01-10 11:22:43 -08:00
Leon Scroggins
695172ef27 am 0efb38b4: am 9cac3c31: Remove the option to use shift to start selection mode.
* commit '0efb38b4790430e726ceee229d737cbc47cb067a':
  Remove the option to use shift to start selection mode.
2011-01-10 11:07:36 -08:00
Leon Scroggins
0efb38b479 am 9cac3c31: Remove the option to use shift to start selection mode.
* commit '9cac3c31d29134f9bf4de10765b81ed45c13d31a':
  Remove the option to use shift to start selection mode.
2011-01-10 11:05:19 -08:00
Xavier Ducrohet
a839de5257 am 723cf6d3: am 5c6b786e: Merge "LayoutLib: display warning when a resource reference fails to resolve." into honeycomb
* commit '723cf6d3f6603fbb872b3963c023b686e6eeaf06':
  LayoutLib: display warning when a resource reference fails to resolve.
2011-01-10 11:00:34 -08:00
Leon Scroggins
9cac3c31d2 Remove the option to use shift to start selection mode.
Bug:3329956

Also ensure that keys dispatched while the WebTextView
is attached get sent to the WebTextView.

Change-Id: Icd9125a85929089a6f376b71c1cb40e885264168
2011-01-10 13:57:38 -05:00
Xavier Ducrohet
723cf6d3f6 am 5c6b786e: Merge "LayoutLib: display warning when a resource reference fails to resolve." into honeycomb
* commit '5c6b786e1c1a103fe3f80b294ac166da1555fffa':
  LayoutLib: display warning when a resource reference fails to resolve.
2011-01-10 10:57:18 -08:00
Xavier Ducrohet
3ae1a1ce30 am 49a6653f: am 0f83b571: Merge "LayoutLib: Fix moveChild animation." into honeycomb
* commit '49a6653f004dc6c1af9bbf73daa554cf7a4cd901':
  LayoutLib: Fix moveChild animation.
2011-01-10 10:56:45 -08:00