109845 Commits

Author SHA1 Message Date
Scott Main
421e092a50 am 273132f3: am 299c5ea3: Revert "docs: add link to developer survey on main landing pages"
* commit '273132f35eed8c535261d63dccf15715c5b169e9':
  Revert "docs: add link to developer survey on main landing pages"
2013-07-30 20:09:51 -07:00
Scott Main
fe5cd35d2e am ea779669: am 159a5ff7: fix a few bugs. xxhpi bug: 10071401 bitmap code, aosp: 58020 intent code, aosp: 57698
* commit 'ea7796696e0fd1ff3e1dc576908dcb74342339cb':
  fix a few bugs. xxhpi bug: 10071401 bitmap code, aosp: 58020 intent code, aosp: 57698
2013-07-30 20:09:48 -07:00
Dirk Dougherty
48de64b465 am ad8ae220: am 2ffbfba5: Doc change: fix typo.
* commit 'ad8ae2205cfee61edf595d22c342ad9a6c121e50':
  Doc change: fix typo.
2013-07-30 20:09:45 -07:00
Scott Main
3048395252 am 1d7516a7: am ec6f327e: update sizes/sums for tools 22.0.5 release also update platform version number for doc builds
* commit '1d7516a79883dded43e6c370bf071feb9527971e':
  update sizes/sums for tools 22.0.5 release also update platform version number for doc builds
2013-07-30 20:09:42 -07:00
Dirk Dougherty
8b4b3de172 am 524c3dbd: am 37ec3374: Doc change: add v7 mediarouter lib to index and feature summary, with preview notice.
* commit '524c3dbd8142f42201b28ba412e245cfe6b10a2f':
  Doc change: add v7 mediarouter lib to index and feature summary, with preview notice.
2013-07-30 20:09:38 -07:00
Dirk Dougherty
94393dc35e am 658d76c8: am c88e0211: Merge "Doc change: clean up doc and fix image url." into jb-mr2-docs
* commit '658d76c8938d113b9f0daca7eb9f83674c94a725':
  Doc change: clean up doc and fix image url.
2013-07-30 20:09:35 -07:00
Scott Main
d3c50bd01c am a11d164e: am ca0f5e63: Merge "docs: SDK / ADT 22.0.5 Release Notes" into jb-mr2-docs
* commit 'a11d164eff028ad1988341a1ecccbfdabdc5b378':
  docs: SDK / ADT 22.0.5 Release Notes
2013-07-30 20:09:32 -07:00
Dirk Dougherty
3cfa94a196 am d1ac96b1: am d9065a5c: Doc change: fix typo.
* commit 'd1ac96b1f6c3c1b5dee7b5ea91c0be6b81db1592':
  Doc change: fix typo.
2013-07-30 20:09:28 -07:00
Dirk Dougherty
ccf61c267e am fc7172e6: am 44632232: Doc change: add gpg developer stories.
* commit 'fc7172e6d2efb514d367976d462ca8a5116120cf':
  Doc change: add gpg developer stories.
2013-07-30 20:09:25 -07:00
Roman Nurik
6c5c31d159 am 502aea1e: am df16ce48: Under-the-hood improvements to Device Art Generator.
* commit '502aea1e988423bd0674244cecccfab7abc77fa3':
  Under-the-hood improvements to Device Art Generator.
2013-07-30 20:09:22 -07:00
Scott Main
0255d2c430 am 50c7f772: am 02dcb55a: add "download" id to which the page scrolls when beginning ndk download
* commit '50c7f77267b7b4fd476a15c172ce9385b0981116':
  add "download" id to which the page scrolls when beginning ndk download
2013-07-30 20:09:19 -07:00
Joe Fernandez
bd6ace699c am 50bbc0ca: am 465c7c26: (-s ours) DO NOT MERGE cherrypick from jb-mr2-ub-dev docs: NDK r9 Release Notes (w/download size fix)
* commit '50bbc0ca84caf504dcc1b5e0fb58919dce5b917b':
  DO NOT MERGE cherrypick from jb-mr2-ub-dev docs: NDK r9 Release Notes (w/download size fix)
2013-07-30 20:09:16 -07:00
Joe Fernandez
d014c9c02b am c743b29e: am 7ec2cc57: docs: fix link bug in Support LIbrary Guide
* commit 'c743b29e69e5571cdacae9ce350d3c010f35309f':
  docs: fix link bug in Support LIbrary Guide
2013-07-30 20:09:13 -07:00
Dirk Dougherty
346aaf41d5 am a9dcc334: Doc change: edits to purchase status api docs.
* commit 'a9dcc3345918dbb289503d76cab6c40cee673b2c':
  Doc change: edits to purchase status api docs.
2013-07-30 20:05:53 -07:00
Scott Main
916f61bace am e827b0d7: update ALCATEL ONE TOUCH usb driver URL
* commit 'e827b0d752c36df8bd5613a5cf5346865b0f5468':
  update ALCATEL ONE TOUCH usb driver URL
2013-07-30 20:05:51 -07:00
Scott Main
273132f35e am 299c5ea3: Revert "docs: add link to developer survey on main landing pages"
* commit '299c5ea31b0c8510274eb6bb388fc5c4543ab607':
  Revert "docs: add link to developer survey on main landing pages"
2013-07-30 20:05:48 -07:00
Scott Main
ea7796696e am 159a5ff7: fix a few bugs. xxhpi bug: 10071401 bitmap code, aosp: 58020 intent code, aosp: 57698
* commit '159a5ff708063d92a6be4ed12c7a3c9d85dec1e1':
  fix a few bugs. xxhpi bug: 10071401 bitmap code, aosp: 58020 intent code, aosp: 57698
2013-07-30 20:05:46 -07:00
Dirk Dougherty
ad8ae2205c am 2ffbfba5: Doc change: fix typo.
* commit '2ffbfba5ad2f5cf0290eb04cae0db4f636dcb0da':
  Doc change: fix typo.
2013-07-30 20:05:44 -07:00
Scott Main
1d7516a798 am ec6f327e: update sizes/sums for tools 22.0.5 release also update platform version number for doc builds
* commit 'ec6f327ed092f4ad9d919e4e622a13862e932a43':
  update sizes/sums for tools 22.0.5 release also update platform version number for doc builds
2013-07-30 20:05:40 -07:00
Dirk Dougherty
524c3dbd81 am 37ec3374: Doc change: add v7 mediarouter lib to index and feature summary, with preview notice.
* commit '37ec33741c5840ce1ae370aa1279215f94075b3a':
  Doc change: add v7 mediarouter lib to index and feature summary, with preview notice.
2013-07-30 20:05:37 -07:00
Dirk Dougherty
658d76c893 am c88e0211: Merge "Doc change: clean up doc and fix image url." into jb-mr2-docs
* commit 'c88e0211bc0c0b1a6e9e963ba7850cd39b8e232c':
  Doc change: clean up doc and fix image url.
2013-07-30 20:05:35 -07:00
Scott Main
a11d164eff am ca0f5e63: Merge "docs: SDK / ADT 22.0.5 Release Notes" into jb-mr2-docs
* commit 'ca0f5e63327cb5dac57112438056e46cdce0d836':
  docs: SDK / ADT 22.0.5 Release Notes
2013-07-30 20:05:31 -07:00
Dirk Dougherty
d1ac96b1f6 am d9065a5c: Doc change: fix typo.
* commit 'd9065a5cc0da6a17c915374d7fc7c9c5e4a63f9e':
  Doc change: fix typo.
2013-07-30 20:05:29 -07:00
Dirk Dougherty
fc7172e6d2 am 44632232: Doc change: add gpg developer stories.
* commit '446322323cefa7ab8aec33ade7fe4083ec76d67c':
  Doc change: add gpg developer stories.
2013-07-30 20:05:27 -07:00
Roman Nurik
502aea1e98 am df16ce48: Under-the-hood improvements to Device Art Generator.
* commit 'df16ce481cf1c8a1aef37133d72f5794c56a5a8b':
  Under-the-hood improvements to Device Art Generator.
2013-07-30 20:05:23 -07:00
Scott Main
50c7f77267 am 02dcb55a: add "download" id to which the page scrolls when beginning ndk download
* commit '02dcb55a2265c59c793bc1c1c7cdadb4cf0573ae':
  add "download" id to which the page scrolls when beginning ndk download
2013-07-30 20:05:21 -07:00
Joe Fernandez
50bbc0ca84 am 465c7c26: (-s ours) DO NOT MERGE cherrypick from jb-mr2-ub-dev docs: NDK r9 Release Notes (w/download size fix)
* commit '465c7c2610d7afc1741081a6d54f38e51647f1ff':
  DO NOT MERGE cherrypick from jb-mr2-ub-dev docs: NDK r9 Release Notes (w/download size fix)
2013-07-30 20:05:19 -07:00
Joe Fernandez
c743b29e69 am 7ec2cc57: docs: fix link bug in Support LIbrary Guide
* commit '7ec2cc57dfff215dd8db784dccf5a52649fafefc':
  docs: fix link bug in Support LIbrary Guide
2013-07-30 20:05:17 -07:00
Christopher Tate
56cfa24412 Temporary stay of execution
Change-Id: I5d3b4213233f6326a8f7ee4891f1f71539649b8d
2013-07-30 19:09:41 -07:00
Dianne Hackborn
2841e0afac Merge "If you set an alarm before the epoch, you're gonna have a bad time" 2013-07-31 02:07:26 +00:00
Christopher Tate
5f221e8f93 If you set an alarm before the epoch, you're gonna have a bad time
For apps build against the KLP+ SDK, this will now throw an illegal argument
exception.  Legacy apps will simply see the alarm delivered immediately.

Bug 9965704

Change-Id: Ia103d9529d32640098be324820fe228efa95431d
2013-07-30 18:55:01 -07:00
Romain Guy
6d64d5ab84 Merge "Add missing InsetDrawable.getDrawable() method" 2013-07-31 00:54:25 +00:00
Dirk Dougherty
a9dcc33459 Doc change: edits to purchase status api docs.
Change-Id: I96e8c9d47e90fe2bc9d3dd449524686a094c7041
(cherry picked from commit cd9a1a8fe98bd29e3f52b8a04e8106e89b431d64)
2013-07-31 00:49:43 +00:00
Svetoslav Ganov
85b1f88305 Iteration on the print sub-system.
1.  API changes: Moved copies API from PrintAttributes to PrintJobInfo;
    Changed the PageRange list to an array in PrintDocumentAdapter#onWrite;
    Added onCancelled method to the layout and write callbacks.

2.  Refactored the serialization of remote layout and write commands. Now
    the commands are serialized by the code in the client instead in the spooler.
    The benefit is simple code since the client has to do a serialization to delegate
    to the main thread anyway. The increased IPC found is fine since these calls
    are quite unfrequent.

3.  Removed an unused file: IPrintSpoolerObserver.aidl

4.  Added equals and hasCode implementation to PageRange, PrintAttributes,
    MediaSize, Resolution, Margins, Tray, PrintDocumentInfo.

5.  Added shortcut path for query APIs on PrintJob that return cached values
    if the print job is in a uncuttable state, i.e. completed or cancelled. Failed
    print jobs can be restarted.

6.  PrintJobInfo was not properly serialized.

7.  Updated the look of the print dialog to be stable if there is and there isn't
    currently selected printer.

8.  PrintJobCOnfigActivity now calls onLayout on every print attributes change
    but requests a write only on print preview or print button press. Also if the
    layout did not change the content and it is already written no subsequent
    call is made. Also if the selected pages change and we already have them
    no subsequent call to write is made. Also the app is called with print preview
    attribute set when performing layout and with it cleared after the print button
    is pressed. A lot of changes making sure that only valid actions are enabled
    in the activity (looks like a dialog) at a given time frame. The print job config
    activity is also hidden after we got all the data, i.e. layout and write are done.

9.  The callback from the print spooler to the system are scheduled via messages
    to avoid lock being held during the call. It was hard to guarantee that since a
    method holding a lock may be calling one that would like to release the lock
    at some point to make the callbacks.

10. Print spooler state is persisted only if something changes in a completed
    print job, i.e. not one that is being constructed due the print job config dialog.

11. Fixed a potential race in the RemotePrintSpooler where it was possible that
    a client that got a handle to the remote spooler calls into an unbound spooler.
    E.g: the client gets the remote interface with a lock held, now the client releases
    the lock to avoid IPC with a lock, during the IPC scheduling the spooler has
    notified the system that it is done and the system unbinds from it, now the
    client's IPC is made to a spooler that is disconnected.

Change-Id: Ie9c42255940a27ecaed21a4d326a663a4788ac9d
2013-07-30 17:15:11 -07:00
Jean-Michel Trivi
cbb212ff6f Focus gain sends focus loss through the focus stack
When a new focus owner lands on the stack, don't just make the
 previous top of the stack lose focus, propagate the loss throughout
 the stack.
Only dispatch focus loss on focus loss state change
Remove canDispatchFocus() method as it now doesn't need to be known
 (and shouldn't be known) outside of the implementation.
Fix error where the focus code for a focus gain request should
 always be a focus loss code.

Bug 8315302

Change-Id: I92c8f51fdcc090851d34d00fefed916e25da40c1
2013-07-30 17:13:00 -07:00
Selim Gurun
d608b0e97c Merge "Update cleanspec" 2013-07-30 23:35:40 +00:00
Selim Gurun
35d2e33136 Update cleanspec
Fix build break in master-chromium branch due to a forgotten cleanspec.

Change-Id: If377c53bf3a82bff775f968ad8eb270e3c666837
2013-07-30 16:31:12 -07:00
Jonathan Dixon
dad2c6e3fa Merge "Add some logging when the webview dev setting changes" 2013-07-30 23:29:57 +00:00
Amith Yamasani
364ed4dda4 PreferenceActivity Fragment security
Provides a way for PreferenceActivities to verify that they
aren't being launched with Fragments not meant to be attached to
them. Default implementation will fail verification for apps built
with KLP. This will not affect apps built for earlier targets.

Also, make sure that the class being instantiated is a Fragment and
not some random class.

Bug: 9901133

Change-Id: I564cd5168eabcadd7594ea8011e2081ebebfe063
2013-07-30 16:23:50 -07:00
Jonathan Dixon
cb64bb4b16 Add some logging when the webview dev setting changes
Bug: 9773865

This will not be visible in shipping config, so shouldn't be a major
source of log spam.

Change-Id: If09734b70e59aeab87c6dddee72212aa6748505f
2013-07-30 16:21:32 -07:00
Jean-Baptiste Queru
cb9accefb1 am 46aae98b: am f2d643cf: Merge "Fixed a leaked partial wakelock in AbstractThreadedSyncAdapter."
* commit '46aae98b41fe6e6b61aeddff3ad3f41bc4ceace3':
  Fixed a leaked partial wakelock in AbstractThreadedSyncAdapter.
2013-07-30 15:34:26 -07:00
Jean-Baptiste Queru
46aae98b41 am f2d643cf: Merge "Fixed a leaked partial wakelock in AbstractThreadedSyncAdapter."
* commit 'f2d643cfc7405c1f771cacab365a0a5d9b547f36':
  Fixed a leaked partial wakelock in AbstractThreadedSyncAdapter.
2013-07-30 15:32:19 -07:00
Jean-Baptiste Queru
f2d643cfc7 Merge "Fixed a leaked partial wakelock in AbstractThreadedSyncAdapter." 2013-07-30 22:24:15 +00:00
David Christie
0b83745019 Add new app op to monitor high power location requests.
This is a new op parallel to the existing OP_MONITOR_LOCATION
but only tracks those requests deemed to be above a
power threshold.

Change-Id: I76fe4d9d2e550293b9da6d5cf902a5b4dd499f0f
2013-07-30 14:59:33 -07:00
Jean-Michel Trivi
8847633fc4 Merge "Focus loss value takes into account previous loss" 2013-07-30 21:46:13 +00:00
Jean-Michel Trivi
53e6e287ff Focus loss value takes into account previous loss
Implement a state machine to represent how to transition to the
 next audio focus loss state, given the current focus loss (state)
 and the given external focus gain (transition).

Bug 8315302

Change-Id: I4a3d5a4a53c842caceaa876206a993c4e5446681
2013-07-30 14:21:34 -07:00
Dianne Hackborn
967032b764 Merge "Report more memory tuning info." 2013-07-30 21:21:02 +00:00
Elliott Hughes
58b5057c6e am c40e46e8: am bfe1b801: Merge "Update preloaded-classes"
* commit 'c40e46e8413c112186eadc8526d20306d81c9008':
  Update preloaded-classes
2013-07-30 14:10:43 -07:00
Elliott Hughes
c40e46e841 am bfe1b801: Merge "Update preloaded-classes"
* commit 'bfe1b801831ce875a164ad95a07ab03c307e986e':
  Update preloaded-classes
2013-07-30 14:08:34 -07:00
Elliott Hughes
bfe1b80183 Merge "Update preloaded-classes" 2013-07-30 21:04:56 +00:00