Commit Graph

5507 Commits

Author SHA1 Message Date
8117047ac7 am 87fe4c28: am 1d04b640: Merge "Add ACTION_SHOW_ALARMS to Clock API" into klp-dev
* commit '87fe4c28d3784d7eceabb56ee25f785d89577844':
  Add ACTION_SHOW_ALARMS to Clock API
2013-08-29 11:03:47 -07:00
1d04b640ec Merge "Add ACTION_SHOW_ALARMS to Clock API" into klp-dev 2013-08-29 17:52:32 +00:00
2f7acd19be Add ACTION_SHOW_ALARMS to Clock API
Add in an action to jump to the alarms page of a clock app.
Helpful for quick settings, for example.

Bug: 10506871
Change-Id: Ia18708c7962543911864dfaefa17d5356eed1b45
2013-08-29 10:49:57 -07:00
98486543cc am 6607275b: am 9fd81a90: Merge "Stronger DocumentsProvider contract." into klp-dev
* commit '6607275b3a99b28f4176f8f8cc87f46c5ed051db':
  Stronger DocumentsProvider contract.
2013-08-28 21:35:17 -07:00
9fd81a9008 Merge "Stronger DocumentsProvider contract." into klp-dev 2013-08-29 04:27:02 +00:00
aeb16e2435 Stronger DocumentsProvider contract.
Using a contract class requires that a provider implement it exactly
with little help. This change introduces a DocumentsProvider abstract
class that provides a client-side implementation of the contract that
greatly reduces developer burden, and improves correctness.

This also moves to first-class DocumentRoot objects, and moves calls
with complex side effects to be ContentProvider.call() invocations,
offering more granular permission control over Uri operations that
shouldn't be available through Uri grants.

This new design also relaxes the requirement that root information be
burned into every Uri.  Migrate ExternalDocumentsProvider and
DocumentsUI to adopt new API.

Bug: 10497206
Change-Id: I6f2b3f519bfd62a9d693223ea5628a971ce2e743
2013-08-28 20:49:42 -07:00
44046e6c69 am 0d669d6d: am ab8fe692: Merge "Rename hideybars constant to SYSTEM_UI_FLAG_IMMERSIVE." into klp-dev
* commit '0d669d6d6710dd25f9e725f43de957c21a974625':
  Rename hideybars constant to SYSTEM_UI_FLAG_IMMERSIVE.
2013-08-28 18:07:39 -07:00
ab8fe69296 Merge "Rename hideybars constant to SYSTEM_UI_FLAG_IMMERSIVE." into klp-dev 2013-08-29 01:00:03 +00:00
cdcdd6d941 am b889b546: am 18f590a9: Merge "Remove EXTRA_DELETE_AFTER_USE and update descriptions accordingly." into klp-dev
* commit 'b889b546e88feb7c5da0ba67227b15a47413bd2c':
  Remove EXTRA_DELETE_AFTER_USE and update descriptions accordingly.
2013-08-28 16:57:07 -07:00
18f590a9b7 Merge "Remove EXTRA_DELETE_AFTER_USE and update descriptions accordingly." into klp-dev 2013-08-28 23:49:41 +00:00
c5c4809c95 am c971f040: am ce9e2526: Merge "Implement new accessibility APIs in lists, text view" into klp-dev
* commit 'c971f0406771faa6398f21e7b5a5a58cd4cba1fd':
  Implement new accessibility APIs in lists, text view
2013-08-28 14:06:30 -07:00
167bba4cbd am b27239b4: am 116c12ef: Merge "Add public API for obtaining drag-to-open listener" into klp-dev
* commit 'b27239b4ca4b336c8e7a482212ee54643e660795':
  Add public API for obtaining drag-to-open listener
2013-08-28 14:06:17 -07:00
229ba4974b Remove EXTRA_DELETE_AFTER_USE and update descriptions accordingly.
As per UX, we're removing the EXTRA_DELETE_AFTER_USE flag. Instead,
apps that pick up these intents should automatically delete alarms
and timers, unless the user is taken into the app to explicicitly
specify the time/length.

Change-Id: Ibd582788c04e121427467f6549759c8b7706df8c
2013-08-28 11:42:05 -07:00
5b2081dc41 Implement new accessibility APIs in lists, text view
Sets contentInvalid for TextViews with errors, sets collection
and item properties in AbsListView, GridView, and ListView.

BUG: 10391326
Change-Id: I91191c8ce1e10a1112f74215e30b26349396344b
2013-08-28 10:43:07 -07:00
116c12ef4c Merge "Add public API for obtaining drag-to-open listener" into klp-dev 2013-08-28 17:25:06 +00:00
6e59536da2 am 39149ff6: am ca09dbc6: Merge "Print APIs update." into klp-dev
* commit '39149ff6be57cb8b862aa4389609800fd111ec7b':
  Print APIs update.
2013-08-27 17:12:10 -07:00
ca09dbc67b Merge "Print APIs update." into klp-dev 2013-08-28 00:07:09 +00:00
ef97ba1958 am 61fdf6d1: am bbbc8660: Merge "Add NFC reader-mode API." into klp-dev
* commit '61fdf6d155a4fad1d27a7593618d29f638ea9f6a':
  Add NFC reader-mode API.
2013-08-27 16:14:59 -07:00
bbbc8660cd Merge "Add NFC reader-mode API." into klp-dev 2013-08-27 23:08:56 +00:00
1955a5b531 Add public API for obtaining drag-to-open listener
BUG: 10457019
Change-Id: I66485521c54b82033044834e7aab6707a3049e6b
2013-08-27 15:45:16 -07:00
c20ed2ff12 Add NFC reader-mode API.
Allows applications to temporarily force the NFC controller
to only do tag discovery. This will allow Android applications
to read and interact with devices that employ HCE.

Bug: 10360259
Change-Id: I709ead9a26f8e6ae8582cc295d82bd896e7c5bba
2013-08-27 14:32:53 -07:00
c5dd502056 am 8fce994c: am ac738a25: Merge "Hide stackId from prying eyes." into klp-dev
* commit '8fce994c8472a29197aa4c5dae070c7be518ad3f':
  Hide stackId from prying eyes.
2013-08-27 14:27:29 -07:00
ac738a25f8 Merge "Hide stackId from prying eyes." into klp-dev 2013-08-27 21:20:30 +00:00
aec1417ca9 Print APIs update.
1. Added scale to fit and scale to fill fitting modes.

2. Added APIs for a print app to specify which constraints imposed
   by the print attributes were satsified during a layout so they
   are not handled by the printer again, e.g. if the content is to
   be in landscape the the app generated such content the printer
   should rotate the content again.

3. Added some printer statuses.

4. Added a helper class that generates PDF documents with correct
   size based on the passed in print attributes.

5. Exposed a ctor for PageRange which was hidden by mistake and apps
   could not create page ranges. Added API for changing the printer
   status.

Change-Id: If1334a61d2d931027b98075f653018d456b1b768
2013-08-27 11:56:18 -07:00
e47193d8e1 Rename hideybars constant to SYSTEM_UI_FLAG_IMMERSIVE.
And add more colour to the docs.

Bug:10460791
Change-Id: I703d927101bb034ba6dd061e6afd3e1946440fe5
2013-08-27 14:53:21 -04:00
a6fd96c420 am 3bc13da4: am aeda265c: Merge "Remove or reduce visibility of deprecated methods" into klp-dev
* commit '3bc13da4814fa3020ada4707aee94156af0410fc':
  Remove or reduce visibility of deprecated methods
2013-08-27 11:31:16 -07:00
aeda265c4d Merge "Remove or reduce visibility of deprecated methods" into klp-dev 2013-08-27 18:23:18 +00:00
a07935f4a5 am c97ab7ea: am 6b8c69ed: Merge "Update AccessibilityNodeInfo API as per API council request" into klp-dev
* commit 'c97ab7ea992ff57835cf3be2805c71bcb7ac4658':
  Update AccessibilityNodeInfo API as per API council request
2013-08-27 11:18:49 -07:00
6b8c69edd2 Merge "Update AccessibilityNodeInfo API as per API council request" into klp-dev 2013-08-27 18:14:01 +00:00
7f6f45723a Remove or reduce visibility of deprecated methods
- Fix additional getInt() path, restores the location settings screen
functionality.

- Should fix "unresolved link" build breakages in
git_klp-dev-plus-aosp-without-vendor, which is much more persnickety than
klp-dev for some reason.

- Add warning that we may add additional location modes in the future.

- Finish fix for b/10461763 and b/10461474

Change-Id: Id7155e3a0d7526a377d446018ef3bdb057bad3a6
2013-08-27 10:53:15 -07:00
8997431aec am 713f4914: am fb3d7811: Merge "Camera2: Add CameraDevice#flush()" into klp-dev
* commit '713f4914bc5bd1e822192ba4fcf78909c943c95d':
  Camera2: Add CameraDevice#flush()
2013-08-27 10:30:46 -07:00
8b38815108 am a413551c: am 4a9c7fec: Merge "Address API council comments on location mode API council" into klp-dev
* commit 'a413551cf92254106a61aa024509dc9e5b72fdfe':
  Address API council comments on location mode API council
2013-08-27 10:30:35 -07:00
c244b774bd am bff25317: am 42aa4ad6: Merge "Address API Review for SettingInjectorService" into klp-dev
* commit 'bff253179e5c456b76e115418dbb481f98fcd2c7':
  Address API Review for SettingInjectorService
2013-08-27 10:30:28 -07:00
fb3d78118b Merge "Camera2: Add CameraDevice#flush()" into klp-dev 2013-08-27 16:49:04 +00:00
4a9c7fec66 Merge "Address API council comments on location mode API council" into klp-dev 2013-08-27 15:44:16 +00:00
cb8ed39b3f Update AccessibilityNodeInfo API as per API council request
bug:10461302

Change-Id: I9709a271ab3720e064b98c79c0950d811fe37b73
2013-08-27 08:26:13 -07:00
42aa4ad688 Merge "Address API Review for SettingInjectorService" into klp-dev 2013-08-27 14:35:43 +00:00
dc92854513 am 0b3adcdf: am b2cc1d54: Merge "Enables AT+ANDROID command in Bluetooth HFP." into klp-dev
* commit '0b3adcdfd30cd3b0eb25a3d7929ae0cecd608d74':
  Enables AT+ANDROID command in Bluetooth HFP.
2013-08-26 15:11:49 -07:00
98e154c039 am d0fcacd9: am 98d62123: Merge "Add CancellationSignal support to file operations." into klp-dev
* commit 'd0fcacd949cd8b42b37d238a4ba74e3c29325277':
  Add CancellationSignal support to file operations.
2013-08-26 15:11:01 -07:00
a324ac7875 Address API council comments on location mode API council
- Start fixing b/10461763

Change-Id: Ic5305bdca38329765a1de565c0a25da12e8ab19d
2013-08-26 14:40:23 -07:00
b2cc1d54aa Merge "Enables AT+ANDROID command in Bluetooth HFP." into klp-dev 2013-08-26 20:33:45 +00:00
2703052413 Hide stackId from prying eyes.
Member variable does not have to be publicly visible.

Fixes bug 10461556.

Change-Id: I9aeaf4f451738b1d6dc0289afb1deae6e8f7e5c2
2013-08-26 12:27:01 -07:00
4a7c49c81f Address API Review for SettingInjectorService
- Escape < and > in javadoc

- Constructor does not take log tag

- Start intent rename

- Comments for Status.summary and enabled

- Bonus fixes:

  - Start renaming STATUS_KEY to SUMMARY_KEY

  - Send message back even if getting the status fails so we don't have
  to wait for the fetch to time out

  - Add comment about setting activity being invoked when disabled

- Partial fix for b/10461474

Change-Id: I025e7e0782c2873a4eda20ab4793bc6145daf8db
2013-08-26 10:08:12 -07:00
98d6212327 Merge "Add CancellationSignal support to file operations." into klp-dev 2013-08-23 23:17:47 +00:00
8ebd52bf41 Camera2: Add CameraDevice#flush()
- For quickly clearing out all pending and in-progress captures

Bug: 9758581
Change-Id: Ie4123fcc4d4b648a11d4a6257c531f07182bab39
2013-08-23 14:20:35 -07:00
bd3b902567 Add CancellationSignal support to file operations.
Since ContentProvider file operations can end up doing substantial
network I/O before returning the file, allow clients to cancel their
file requests with CancellationSignal.

Ideally this would only be needed for openFile(), but ContentResolver
heavily relies on openAssetFile() and openTypedAssetFile() for common
cases.

Also improve documentation to mention reliable ParcelFileDescriptors
and encourage developers to move away from "rw" combination modes,
since they restrict provider flexibility.  Mention more about places
where pipes or socket pairs could be returned.

Improve DocumentsContract documentation.

Bug: 10329944
Change-Id: I49b2825ea433eb051624c4da3b77612fe3ffc99c
2013-08-23 11:27:25 -07:00
3d3e04eb04 am c60d6ab8: am d866f500: Merge "Add new API shouldOfferSwitchingToNextInputMethod" into klp-dev
* commit 'c60d6ab8256e2a11ea82773fcbd914dc2dda0b11':
  Add new API shouldOfferSwitchingToNextInputMethod
2013-08-23 02:35:56 -07:00
d866f5002a Merge "Add new API shouldOfferSwitchingToNextInputMethod" into klp-dev 2013-08-23 09:31:51 +00:00
7e458235ac Remove input flinger stubs. (DO NOT MERGE)
Bug: 10446930
Change-Id: I6c9fd490f2efd9c359c598eb2a18c4150b446564
2013-08-22 19:31:21 -07:00
922d41b6ef Enables AT+ANDROID command in Bluetooth HFP.
Adds another vendor-specific command AT+ANDROID in Bluetooth Hands-Free
Profile. And creates an API function that sends an unsolicited result
code +ANDROID .

Bug: 8736189
Change-Id: I4757c410d31b97511c92f66d71035eb929f9fd29
2013-08-23 01:17:07 +00:00