summaryrefslogtreecommitdiffstats
path: root/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* Enable samples browsing in builds.Dirk Dougherty2013-10-301-4/+6
| | | | Change-Id: Ic47ef693dd5b2cd4010e68a600cae3b88d426bd2
* Doc change: add new list of browseable samples and sample groups.Dirk Dougherty2013-10-291-15/+71
| | | | Change-Id: I5f0c6899a34ada9f8dfc492f849c9e03203bc920
* Hide the print dialog if the printing activity is destroyed.Svetoslav Ganov2013-10-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. For an app to print it creates a PrintDocumentAdapter implementation which is passed to the print dialog activity. If the activity that created the adapter is destroyed then the adapter, which may rely on the activity state, may be in an invalid state. For example, an app creates an adapter and calls print resuting in the app activity and the print dialog activity being stacked. Now the user rotates the device which triggers the recreating of the activity stack (assume the app does not handle rotation). The recreated print dialog activity receives the intent that originally created it with containing the adapter that was constructed in the context of the old, now destroyed, app activity instance. To handle this we are limiting an app to be able to print only from and activity and when this activity is destroyed we mark the adapter as invalid which will result in hiding the print dialog activity. Note that if the app process is killed we already handle this in the print dialog activiy by registering a death recipient on the adapter binder. 2. In the PrintManager.PrintDocumentAdapterDelegate some of the state is accessed only on the main thread and some from miltiple threads. The code was trying to avoid locking for state that is not accessed by multiple threads but this is error prone and the benefit does not justify the complexity and added fragility. Now grabbing a lock all the time. 3. The PrintJobConfigActivity waits for it to bind to the print spooler service before instantiating its print controller and editor. However, these can be accessed by invoking some of the activity cycle callbacks. This change is adding null checks for the case where the activity callbacks are called before the binding to the spooler is completed. bug:11242661 Change-Id: Id906b3170e4f0a0553772dfa62686f06fdca0eaf
* Refactor how the print dialog activity is started.Svetoslav2013-10-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Before the print job activity was started asyncronously with respect to the print call on to the print manager. This was creating a situation where the starting activity may finish before the print dialog appears which may lead to an orphaned print document adapter with no data to print (as the UI is is gone), or strange behaviors where the print dialog starts on as a separate task. To address this the pending intent for starting the print dialog is not started by the print spooler since we cannot call into it synchronously as we have to start its process and bind to the spooler service which leads to jankyness in the client app. Now the pending intent is created by the print manager service in the synchronous print call so from an app's perspective calling print starts the activity. The side effect of this design is that the print dialog activity may start before the system is bound to the spooler service. In such a case the print activity cannot start poking the print spooler state as the system registers callback to observe the spooler state. To address this the print spooler activity disables the UI and also binds to the spooler service which happenes immediately after it is started. As soon as the print dialog binds to the service it starts the UI. 2. Fixed an bug in the printer adapter of the print dialog that was leading to a crash if the only item in the adater is the all pritners option and it is selected. 3. Piping the package name that started the printing so we can pass it to the storage UI as a hint to open the last location the app used. bug:11127269 Change-Id: Ia93820bdae0b0e7600a0930b1f10d9708bd86b68
* update version number for doc stampScott Main2013-10-041-1/+1
| | | | Change-Id: I881510209a56204a464df082840d2dde56312303
* add -since flag for api level 19 to filter javadocsScott Main2013-10-031-0/+1
| | | | Change-Id: I96e7e31f93b1e3c3877a342b84fb069bda5d92e3
* Merge "Add android.provider.Telephony to public API." into klp-devJake Hamby2013-09-301-0/+1
|\
| * Add android.provider.Telephony to public API.Jake Hamby2013-09-241-0/+1
| | | | | | | | | | | | | | | | Add directory containing android/provider/Telephony.java to build. Add unhidden Telephony fields and classes to api/current.txt. Bug: 10653081 Change-Id: Ib4ba66e09be5320d35257fcf481db58f840fdc53
* | Adding hidden APIs for observing the print jobs state.Svetoslav Ganov2013-09-251-0/+1
|/ | | | | | | | This is needed for implementing the print job settigns UI. bug:10935736 Change-Id: I63b42cbf4ce6a259fa1af47fa368b148ca5621c1
* Merge "Guarantee that PAC Local Proxy owns Port" into klp-devJason Monk2013-09-131-0/+2
|\
| * Guarantee that PAC Local Proxy owns PortJason Monk2013-09-131-0/+2
| | | | | | | | | | | | | | | | | | This changes the PAC support to not broadcast the Proxy information until the Local Proxy has started up and successfully bound to a port so that the local proxy information can be guaranteed to be owned by the proxy. Bug: 10459877 Change-Id: I175cd3388c758c55e341115e4a8241884b90d633
* | am 834ba474: am 4c6cde54: am 89579294: Merge "Pass whitelist of sample ↵Dirk Dougherty2013-09-121-1/+9
|\ \ | | | | | | | | | | | | | | | | | | groups to doclava." into jb-mr2-docs * commit '834ba47485a5fb55c89d8f22b826bdb26049f6d6': Pass whitelist of sample groups to doclava.
| * \ am 4c6cde54: am 89579294: Merge "Pass whitelist of sample groups to ↵Dirk Dougherty2013-09-121-1/+9
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | doclava." into jb-mr2-docs * commit '4c6cde545c5d2e76d9ba8ef926399463369da7e7': Pass whitelist of sample groups to doclava.
| | * | Pass whitelist of sample groups to doclava.Dirk Dougherty2013-09-121-1/+9
| | | | | | | | | | | | | | | | Change-Id: I36f3e3426115cc296531cf41d20ab07a4d429b19
* | | | Merge "Add consumer IR framework" into klp-devAlexander Ray2013-09-111-0/+1
|\ \ \ \
| * | | | Add consumer IR frameworkErik Gilling2013-09-111-0/+1
| | |_|/ | |/| | | | | | | | | | Change-Id: I786c00db0cce61ef75e4edc24e90f2cdcba6dbfb
* | | | Remove HotwordRecognition APIsSandeep Siddhartha2013-09-111-2/+0
|/ / / | | | | | | | | | | | | | | | | | | - and its usage from Keyguard Bug: 10708010 Change-Id: Ic4a695a1d0e9312706a3b4ff01e59e2567b6ad9c
* | | am 76fcf6c7: am 07c9bcc3: am 4ef51c3c: Merge "Add a few more samples to ↵Dirk Dougherty2013-09-041-3/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | browser." into jb-mr2-docs * commit '76fcf6c73e7dda99ec80e6da616bee26c2a088e6': Add a few more samples to browser.
| * | am 07c9bcc3: am 4ef51c3c: Merge "Add a few more samples to browser." into ↵Dirk Dougherty2013-09-041-3/+8
| |\ \ | | |/ | | | | | | | | | | | | | | | jb-mr2-docs * commit '07c9bcc3a60a8860b65aa43badd8ab1f1858522b': Add a few more samples to browser.
| | * Add a few more samples to browser.Dirk Dougherty2013-09-041-3/+8
| | | | | | | | | | | | Change-Id: Iac7acc22a8dd71950b32e2c35c82f53abc34168a
* | | Reader mode NFC API: move to callback model.Martijn Coenen2013-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using intents for reader mode doesn't work well for 2 reasons: 1) Intents are used to resolve, but in reader mode we already know where to resolve to. Additionally, dispatching an intent causes additional latency. 2) Using intents with foreground dispatch was tricky; for every call to onNewIntent() with a new tag, there was a call to onPause(), which effectively disabled reader mode again, causing a discovery loop. Instead, let the app register a callback, and call that when we discover a new tag. Also, add new flag to disable platform sounds, and to change the presence check delay. Bug: 10360259 Change-Id: I8373543d6cf2f7ca73c9b3e42bb8b51e3ac48cac
* | | Merge "Add Service API to perform Hotword recognition" into klp-devSandeep Siddhartha2013-08-271-0/+2
|\ \ \
| * | | Add Service API to perform Hotword recognitionSandeep Siddhartha2013-08-261-0/+2
| | | | | | | | | | | | | | | | Change-Id: I855330b255a12cce309aa11e0b7cde5b8e061043
* | | | Print UI bug fixing and printer discovery refactoring.Svetoslav Ganov2013-08-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Added support for selecting a printer from the all printers activity that is not in the initial printer selection drop down. The user initially sees a sub set of the printers in the drop down and the last option is to see all printers in a separate activity. Some of the printers in the all printers activity are not shown in the initial drop down. 2. Refactored printer discovery by adding (private for now) printer discovery app facing APIs. These APIs are needed to support multiple printer selection activities (print dialog and all printers activities) and also the settings for showing all printers for a service. Now multiple apps can request observing for printers and there is a centralized mediator that ensures the same printer discovery session is used. The mediator dispatches printer discovery specific requests to print services. It also aggregates discovered printers and delivers them to the interested apps. The mediator minimizes printer discovery session creation and starting and stopping discovery by sharing the same discovery session and discovery window with multiple apps. Lastly, the mediator takes care of print services enabled during discovery by bringing them up to the current discovery state (create discovery session and start discovery if needed). The mediator also reports disappearing of the printers of a service removed during discovery and notifies a newly registered observers for the currnet printers if the observers are added during an active printer discovery session. 3. Fixed bugs in the print UI and implemented some UX tweaks. Change-Id: I4d0b0c5a6c6f1809b2ba5dbc8e9d63ab3d48f1ef
* | | | am 978ec174: am de525b44: am 2a4f71df: Merge "Temporarily disable sample ↵Dirk Dougherty2013-08-221-4/+4
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | code html generation in docs builds." into jb-mr2-docs * commit '978ec174fbbbda4a844178f645e83365861a0d4c': Temporarily disable sample code html generation in docs builds.
| * | am de525b44: am 2a4f71df: Merge "Temporarily disable sample code html ↵Dirk Dougherty2013-08-221-4/+4
| |\ \ | | |/ | | | | | | | | | | | | | | | generation in docs builds." into jb-mr2-docs * commit 'de525b442f6a0a467074ab216543c3372786139e': Temporarily disable sample code html generation in docs builds.
| | * Temporarily disable sample code html generation in docs builds.Dirk Dougherty2013-08-211-4/+4
| | | | | | | | | | | | Change-Id: Ibcf0e4d5ab63968211528f528cc5bee914d7a556
* | | Merge "Change PacProcessor to Android Service" into klp-devJason Monk2013-08-201-1/+1
|\ \ \
| * | | Change PacProcessor to Android ServiceJason Monk2013-08-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This switches the PacProcessor over to an Android Service. The service is bound and unbound by the PacManager, which also adds it to the ServiceManager, allowing for Context-Free access by the PacProxySelector in all DVMs. bug:10182711 Change-Id: Id1ff7660be56e8976cdcccd76e041feb47a17a61
* | | | Merge "Implemented advanced printer selection and API refactoring." into klp-devSvetoslav2013-08-201-2/+0
|\ \ \ \
| * | | | Implemented advanced printer selection and API refactoring.Svetoslav2013-08-191-2/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Added past printer history tracking and merging favorite printers with discovered printers. 2. Added save as PDF support. 3. Added all printers activity with search capability and optional add printers chooser (if any print service provides add printers activity) 4. Refactored the printer discovery session APIs. Now one session can have multiple window discovery windows and the session stores the printers found during past discovery periods. 5. Merged the print spooler and the print spooler service - much simpler and easier to maintain. Change-Id: I4830b0eb6367e1c748b768a5ea9ea11baf36cfad
* | | | am 2d9ee707: am 364fe3a8: am b6bc020d: doc change: Samples browsing first ↵Dirk Dougherty2013-08-191-94/+93
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | changes: Samples dir and file starters. * commit '2d9ee70703cb52a16d726eb177f6f4e0be4f93e2': doc change: Samples browsing first changes: Samples dir and file starters.
| * | am 364fe3a8: am b6bc020d: doc change: Samples browsing first changes: ↵Dirk Dougherty2013-08-191-94/+93
| |\ \ | | |/ | | | | | | | | | | | | | | | Samples dir and file starters. * commit '364fe3a856e7bd0c0a35724c2f42d381d8616370': doc change: Samples browsing first changes: Samples dir and file starters.
| | * doc change: Samples browsing first changes: Samples dir and file starters.Dirk Dougherty2013-08-191-94/+93
| | | | | | | | | | | | Change-Id: I6cc8c03bf4c2bcc771d4531619db5b3acd62601f
* | | Merge "Add support in the platform for Flp Geofencing." into klp-devdestradaa2013-08-131-0/+1
|\ \ \
| * | | Add support in the platform for Flp Geofencing.destradaa2013-08-131-0/+1
| | | | | | | | | | | | | | | | Change-Id: I0fb0e276d3a06322697bb5d46323779aca1f78c5
* | | | Merge "Add support for batched wifi scans." into klp-devRobert Greenwalt2013-08-131-0/+2
|\ \ \ \ | |/ / / |/| | |
| * | | Add support for batched wifi scans.Robert Greenwalt2013-08-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | bug:9301872 Change-Id: I5a7edfdbd2b78a65119d11acad491eae350c0870
* | | | Merge "Refinement of the print service APIs." into klp-devSvetoslav Ganov2013-08-111-1/+2
|\ \ \ \
| * | | | Refinement of the print service APIs.Svetoslav Ganov2013-08-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Factored out the printer discovery APIs of a print service in a dedicated session object that is created by the print service on demand. This ensures that added/removed/updated printers from one session do not interfere with another session. 2. Updated the app facing APIs to pass in a document info along with a printed file. Also exposed the print file adapter so apps that create a temporary file for printing can intercept when it is read by the system so the file can be deleted. 3. Updated the print service documentation. Change-Id: I3473d586c26d8bda1cf7e2bdacb441aa9df982ed
* | | | | Bluetooth MAP profile - sms and mms support initial check-inMatthew Xie2013-08-091-0/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | bug:10116530 Change-Id: I57d022005bcff5bc3e56438a81ac92566f957744
* | | | Add FlpHal layer to support Location Batching.destradaa2013-08-081-0/+5
|/ / / | | | | | | | | | Change-Id: Ia3a57d869dfb3f067a1b95fa66d54f311ddcfdc3
* | | Add PAC File support for proxy configurationJason Monk2013-08-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PAC (Proxy auto-config) files contain a single javascript function, FindProxyForURL(url, host). It gets called to determine what proxy should be used for a specific request. This adds PAC support to the system. The ProxyProperties has been modified to hold the PAC file when one is present. The Proxy method setHttpProxySystemProperty has been modified to insert a PacProxySelector as the default ProxySelector when it is required. This new ProxySelector makes calls to the ConnectivityService to parse the PAC file. The ConnectivityService and the WifiConfigStore have been modified to support saving the extra PAC file data. The ConnectivityService now has a class attached (PacProxyNative) that interfaces to the native calls for PAC files. The parsing of the PAC file is handled by libpac (which is being added to external/) which utilizes libv8 to parse the javascript. As a fallback to applications that don't use the java ProxySelector, the proxy is setup to point to a local proxy server that will handle the pac parsing. bug:10182711 Change-Id: I5eb8df893c632fd3e1b732385cb7720ad646f401
* | | Start adding IPC calls to retrieve proc stat data.Dianne Hackborn2013-08-071-0/+1
| | | | | | | | | | | | | | | | | | | | | Also fix a bug where we were not correctly unparcelling service duration data. Change-Id: Ie9113b2e3a747622441b1939ffc45edb5803a10f
* | | Merge "NFC: Host-based card emulation APIs."Martijn Coenen2013-08-031-0/+1
|\ \ \
| * | | NFC: Host-based card emulation APIs.Martijn Coenen2013-08-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - New INfcCardEmulation interface to allow apps to interface with card emulation system. - New BIND_NFC_SERVICE permission to prevent malicious apps from binding to card emulation services. - ApduServiceInfo is now in the framework. - Added constants to Settings.Secure for storing defaults. - Modified XML grammar a bit. Change-Id: I56b3fa6b42eb5dc132c91c1386ab1e6bac779059
* | | | am 30483952: am 1d7516a7: am ec6f327e: update sizes/sums for tools 22.0.5 ↵Scott Main2013-07-301-1/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | release also update platform version number for doc builds * commit '30483952528469c612c61c7370e99db9e40b3262': update sizes/sums for tools 22.0.5 release also update platform version number for doc builds
| * | | am 1d7516a7: am ec6f327e: update sizes/sums for tools 22.0.5 release also ↵Scott Main2013-07-301-1/+1
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | 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
| | * | update sizes/sums for tools 22.0.5 releaseScott Main2013-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | also update platform version number for doc builds Change-Id: Ib3e644c3bfe618137516398aebf3f778ebdd1e81
* | | | Camera2 API: Rename package to android.hardware.camera2Eino-Ville Talvala2013-07-301-2/+2
| |_|/ |/| | | | | | | | Change-Id: I77b7939e199f9fe8e12a59393c24cff08097448c