OSDN Git Service

android-x86/frameworks-base.git
10 years agoPrint API updated.
Svetoslav [Tue, 3 Sep 2013 21:01:43 +0000 (14:01 -0700)]
Print API updated.

1. Removed the updatePrinters API on PrinterDiscoverySession.
   Now re-adding a printer updates it.

2. Added getTrackedPrinters() API to allow a print service to
   figure out which printers' state should be tracked by the
   service.

3. Removed the APIs on PrintDocumentInfo that describe the
   layout of the content as they are not needed. For example,
   if the print attributes passed in layout require landscape
   mode, the the app should just create a PDF page with the
   wider side up and draw its content in portrait. The printer
   will then rotate the page.

Change-Id: Idd72c6e9c129e8b17eef1236573a99773f8ff0a2

10 years agoMerge "Bug fixes in the printer dialog activity and fused printer loader." into klp-dev
Svetoslav Ganov [Tue, 3 Sep 2013 18:02:57 +0000 (18:02 +0000)]
Merge "Bug fixes in the printer dialog activity and fused printer loader." into klp-dev

10 years agoMerge "Crashes in TouchExplorer on two finger swipe." into klp-dev
Svetoslav Ganov [Tue, 3 Sep 2013 18:02:15 +0000 (18:02 +0000)]
Merge "Crashes in TouchExplorer on two finger swipe." into klp-dev

10 years agoMerge "Revert "Add permissions for the InCallUI Split."" into klp-dev
Santos Cordon [Tue, 3 Sep 2013 17:43:29 +0000 (17:43 +0000)]
Merge "Revert "Add permissions for the InCallUI Split."" into klp-dev

10 years agoRevert "Add permissions for the InCallUI Split."
Santos Cordon [Tue, 3 Sep 2013 17:42:04 +0000 (17:42 +0000)]
Revert "Add permissions for the InCallUI Split."

This reverts commit bf84eb5ed579d13b74c97b995299ca61cafedea6.

Change-Id: I40e311174898a741f5053501290833420355ad03

10 years agoMerge "Add doubletap swipe to scalegesturedetector" into klp-dev
Mindy Pereira [Tue, 3 Sep 2013 17:38:36 +0000 (17:38 +0000)]
Merge "Add doubletap swipe to scalegesturedetector" into klp-dev

10 years agoMerge "Change name back to CreateJavaInputStreamAdaptor." into klp-dev
Leon Scroggins III [Tue, 3 Sep 2013 17:37:10 +0000 (17:37 +0000)]
Merge "Change name back to CreateJavaInputStreamAdaptor." into klp-dev

10 years agoMerge "Revert "Enhancement for OnInfo callback on DRM Framework"" into klp-dev
Jeff Tinker [Tue, 3 Sep 2013 17:35:57 +0000 (17:35 +0000)]
Merge "Revert "Enhancement for OnInfo callback on DRM Framework"" into klp-dev

10 years agoMerge changes Ic710807d,I88dfcc8c into klp-dev
Kenny Root [Tue, 3 Sep 2013 17:28:40 +0000 (17:28 +0000)]
Merge changes Ic710807d,I88dfcc8c into klp-dev

* changes:
  Unhide functions to allow ECDSA support
  Add support for DSA and ECDSA key types

10 years agoMerge "HCE API review." into klp-dev
Martijn Coenen [Tue, 3 Sep 2013 17:25:01 +0000 (17:25 +0000)]
Merge "HCE API review." into klp-dev

10 years agoMerge "Public API for RemoteControlClient ratings and editable metadata" into klp-dev
Jean-Michel Trivi [Tue, 3 Sep 2013 17:19:55 +0000 (17:19 +0000)]
Merge "Public API for RemoteControlClient ratings and editable metadata" into klp-dev

10 years agoRevert "Enhancement for OnInfo callback on DRM Framework"
Jeff Tinker [Fri, 30 Aug 2013 23:04:34 +0000 (23:04 +0000)]
Revert "Enhancement for OnInfo callback on DRM Framework"

This reverts commit 6fd97b7d93c5eeaefb2695786b35d1672c88b0cf.

Fixes Fatal signal 6 (SIGABRT)" when playing or downloading a video
bug: 10542864

Change-Id: I85b84d6b602079571be1a7237c907716db9cdf54

10 years agoUnhide functions to allow ECDSA support
Kenny Root [Tue, 3 Sep 2013 16:45:55 +0000 (09:45 -0700)]
Unhide functions to allow ECDSA support

Bug: 10600582
Change-Id: Ic710807d7e771737521e0abd83af2f666ec1199c

10 years agoMerge "Add permissions for the InCallUI Split." into klp-dev
Santos Cordon [Tue, 3 Sep 2013 16:45:24 +0000 (16:45 +0000)]
Merge "Add permissions for the InCallUI Split." into klp-dev

10 years agoCrashes in TouchExplorer on two finger swipe.
Svetoslav Ganov [Tue, 3 Sep 2013 16:24:48 +0000 (09:24 -0700)]
Crashes in TouchExplorer on two finger swipe.

1. The logic for finding the active pointer was incorrect. The code was
   iterating over all pointer ids and taking the minimum, i.e. the pointer
   that first went down. The problem was that the down time for pointers
   that are not down was also considered (set to zero), thus sometimes we
   would consider the first pointer that went down to be a pointer that
   is not down at all. Now we are iterating only over the pointers that
   are down.

2. The batched events while waiting to see if the user is exploring or
   gesturing were added even if we were in touch exploration state at which
   point we do not have to batch. As a result we ended up having lefovers
   from a previous gesture when handling the delayed events and crash.

bug:10312546

Change-Id: I4728541ac12e4da4577d22e4314101dd169a52fb

10 years agoBug fixes in the printer dialog activity and fused printer loader.
Svetoslav Ganov [Tue, 3 Sep 2013 07:11:58 +0000 (00:11 -0700)]
Bug fixes in the printer dialog activity and fused printer loader.

1. Fused printers loader was not using the discovered printers to update the
    historical ones. Now if a historical printer is discovered we update its state
    with the discovered, i.e. most recent, information.

2. Fixed a bug in the destination adapter of the print job config dialog that
    was leading to a crash if all printers item is selected when there are no
    discovered printers.

3.  Updated the add printers asset in the all printers screen.

4. Historical printers were not persisted by the print dialog activity.

5. Reduced the number of printers we send per transation to avoid the binder
   transaction size limit. Added sending of printers in chunks in a place
   this was missing.

Change-Id: I88b54888360bc0e53b06bd260c2b832d0d6454b6

10 years agoChange name back to CreateJavaInputStreamAdaptor.
Leon Scroggins III [Tue, 3 Sep 2013 15:35:00 +0000 (11:35 -0400)]
Change name back to CreateJavaInputStreamAdaptor.

In order to fix open source builds, change WrapJavaInputStream's
name back to CreateJavaInputStreamAdaptor.

Remove FIXME in CopyJavaInputStream, and return a more generic type,
since the more specific type was only needed by a change in external/webkit,
which is being reverted since it depends on unreleased code.

Change-Id: I89b0431e357b509a2a0c17a624b31bd49d29070f

10 years agoAdd permissions for the InCallUI Split.
Santos Cordon [Tue, 13 Aug 2013 21:29:47 +0000 (14:29 -0700)]
Add permissions for the InCallUI Split.

Change-Id: Ic759d14acefcea746e0d8e86c0f006d4bc462386

10 years agoAdd support for DSA and ECDSA key types
Kenny Root [Fri, 16 Aug 2013 21:03:29 +0000 (14:03 -0700)]
Add support for DSA and ECDSA key types

(cherry picked from commit f64386fc26efeb245fd90fabaa47b8c8bf9b4613)

Bug: 10600582
Change-Id: I88dfcc8ca602f55fad54bd8bf043aee460c0de24

10 years agoMerge "System print service enabled after every system reboot" into klp-dev
Svetoslav Ganov [Tue, 3 Sep 2013 07:24:57 +0000 (07:24 +0000)]
Merge "System print service enabled after every system reboot" into klp-dev

10 years agoMerge "Filter roots based on incoming request." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 03:50:55 +0000 (03:50 +0000)]
Merge "Filter roots based on incoming request." into klp-dev

10 years agoMerge "New recents behavior to match spec." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 03:50:27 +0000 (03:50 +0000)]
Merge "New recents behavior to match spec." into klp-dev

10 years agoMerge "Instance state, fix sharing, Durable objects." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 03:50:10 +0000 (03:50 +0000)]
Merge "Instance state, fix sharing, Durable objects." into klp-dev

10 years agoMerge "Use Cursors directly when binding documents." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 03:50:00 +0000 (03:50 +0000)]
Merge "Use Cursors directly when binding documents." into klp-dev

10 years agoFilter roots based on incoming request.
Jeff Sharkey [Tue, 3 Sep 2013 00:19:40 +0000 (17:19 -0700)]
Filter roots based on incoming request.

When incoming request is for local-only content, or for ACTION_CREATE,
only include roots advertise those features.

Filters roots based on the allowed MIME types and the supported types
advertised by each root.  This supports displaying Images and Audio
roots only when requesting those content types.  Applies the same
filter when deciding which roots to query for recents.

Fixes advanced filtering instead of limiting to just devices. Update
sorting so that Recent always appears first. Add testing support for
LOCAL_ONLY.

Bug: 1059731710526535
Change-Id: Ic5ccf475c4fe93fd52b29388d369d7f6915c0c42

10 years agoMerge "Refactoring of DocumentsContract." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 00:07:17 +0000 (00:07 +0000)]
Merge "Refactoring of DocumentsContract." into klp-dev

10 years agoSystem print service enabled after every system reboot
Svetoslav Ganov [Mon, 2 Sep 2013 22:24:45 +0000 (15:24 -0700)]
System print service enabled after every system reboot

The system was overriding the user on every boot by turing of all system
print services, i.e. service that are on the system image. Now the system
print service are enabled by default only once per user, the user can later
disable them and the system does not override that. We now have a system
setting with the services we enabled once by default so we never do
default enabling again (unless device is wiped).

bug:10594775

Change-Id: Id3129ccfba95bf57375ea9fec0b5ca0e51bda199

10 years agoNew recents behavior to match spec.
Jeff Sharkey [Mon, 2 Sep 2013 22:07:28 +0000 (15:07 -0700)]
New recents behavior to match spec.

Updated behavior queries each documents root for recently modified
documents.  It uses a new variant of DirectoryLoader which limits the
maximum number of parallel queries to relieve memory pressure.  When
first started, it waits up to 500ms for everyone to finish, then
publishes whatever results are ready, and then refreshes results as
each straggler finishes.

New RootCursorWrapper that always blends in authority and rootId
columns, which are used for binding root details from blended cursors.

Bug: 1059359610329994
Change-Id: Icc0d4a2f1b6166edc72f78a4c88f444eeba6f2f0

10 years agoFix SynthesisRequest javadoc
Przemyslaw Szczepaniak [Mon, 2 Sep 2013 15:41:05 +0000 (16:41 +0100)]
Fix SynthesisRequest javadoc

Bug: 10548784
Change-Id: I76a89bb9accdeee00c60a668adbdd789b995cd92

10 years agoMerge "Improve the API document for supportsSwitchingToNextInputMethod" into klp-dev
satok [Mon, 2 Sep 2013 05:49:42 +0000 (05:49 +0000)]
Merge "Improve the API document for supportsSwitchingToNextInputMethod" into klp-dev

10 years agoInstance state, fix sharing, Durable objects.
Jeff Sharkey [Mon, 2 Sep 2013 01:41:04 +0000 (18:41 -0700)]
Instance state, fix sharing, Durable objects.

Remember instance state across configuration changes, and enable
rotation.  This remembers current modes and in-progress traversals.

Always finish action modes after launching an action.  Fix sharing
by always putting Uris in extras, and always wrap in a chooser.  Find
common MIME types when sharing multiple documents.  Fix downloads
launching by following directory MIME type change.

Introduce "Durable" which is like Parcelable, but can be used for
both byte[] storage and Parcel transport.  Make both DocumentInfo
and DocumentStack durable.

Disable recents until new behavior is implemented.

Bug: 1046023610446265105336741045634410456702
Change-Id: I4eaf2b0b4cde611c69a1e7b5f1586f6b02019b27

10 years agoUse Cursors directly when binding documents.
Jeff Sharkey [Sun, 1 Sep 2013 04:27:44 +0000 (21:27 -0700)]
Use Cursors directly when binding documents.

Instead of creating a DocumentInfo for every list item, bind the
adapter against Cursor directly.

Create new SortingCursorWrapper which performs sorting at query time
and keeps a O(1) mapping from sorted to unsorted positions in the
underlying Cursor.

Suppress extra loader passes that had been kicked off.  Use unstable
provider when querying to guard against broken providers.

Bug: 1056750610510851
Change-Id: I535814da6b17c38de04a1175e0afcc78c6b966ce

10 years agoRefactoring of DocumentsContract.
Jeff Sharkey [Sat, 31 Aug 2013 22:02:20 +0000 (15:02 -0700)]
Refactoring of DocumentsContract.

Combines related columns and constants onto the same class so they
are easier to discover.  Move back to surfacing roots with columns
so they are consistent with documents.

Advanced roots are represented with a flag instead of distinct
types.  Flags to indicate supporting of well-known media types,
instead of arbitrary an MIME filter.  Reintroduce well-formed rootId
to support recents.

Always use the expanded version of "documents" in constants, methods,
and argument names.

Refactor DocumentProvider method names to clearly distinguish if
a single item or multiple could be returned, and of which type.  Add
documentation to clearly define which methods have already been
overridden.

Bug: 1056750610567557
Change-Id: I981f26ab82f2b520a19aa1ce66f659de50d7fac0

10 years agoMerge "Status bar icons as expressions of white." into klp-dev
John Spurlock [Sat, 31 Aug 2013 14:59:31 +0000 (14:59 +0000)]
Merge "Status bar icons as expressions of white." into klp-dev

10 years agoam 468c60b3: (-s ours) am 00e4c672: am f85aa0fc: Merge "Telephony: SMS over IMS,...
Ed Tam [Sat, 31 Aug 2013 01:14:59 +0000 (18:14 -0700)]
am 468c60b3: (-s ours) am 00e4c672: am f85aa0fc: Merge "Telephony: SMS over IMS, DO NOT MERGE" into jb-mr2-dev

* commit '468c60b334321d5790b0b5bd962870939aac0ab2':
  Telephony: SMS over IMS, DO NOT MERGE

10 years agoStatus bar icons as expressions of white.
John Spurlock [Sat, 31 Aug 2013 00:53:26 +0000 (20:53 -0400)]
Status bar icons as expressions of white.

Bug:10502089
Change-Id: Id13badd6c729b79492aec5370dbb3dc2479008fd

10 years agoMerge "Update internal AutoScrollHelper to match support lib version" into klp-dev
Alan Viverette [Fri, 30 Aug 2013 23:58:08 +0000 (23:58 +0000)]
Merge "Update internal AutoScrollHelper to match support lib version" into klp-dev

10 years agoMerge "Use core-tests-support instead of core-tests" into klp-dev
Kenny Root [Fri, 30 Aug 2013 23:21:25 +0000 (23:21 +0000)]
Merge "Use core-tests-support instead of core-tests" into klp-dev

10 years agoUse core-tests-support instead of core-tests
Kenny Root [Thu, 29 Aug 2013 21:27:20 +0000 (14:27 -0700)]
Use core-tests-support instead of core-tests

The core-tests-support library is newly created. It doesn't have any
tests itself but some support for tests that need to use mocked classes
for testing. In this case, some tests are using TestKeyStore for SSL
testing in frameworks tests.

(cherry picked from commit c2d6728350f3ec80f9b4c8967794558e42516987)

Bug: 10092469
Change-Id: Ib38364c607de5a98eb242050eaaf52b22ab8ca57

10 years agoMerge "DO NOT MERGE. Remove service component for KLP." into klp-dev
Matthew Williams [Fri, 30 Aug 2013 21:39:15 +0000 (21:39 +0000)]
Merge "DO NOT MERGE. Remove service component for KLP." into klp-dev

10 years agoMerge "Update captioning APIs" into klp-dev
Alan Viverette [Fri, 30 Aug 2013 21:34:42 +0000 (21:34 +0000)]
Merge "Update captioning APIs" into klp-dev

10 years agoUpdate internal AutoScrollHelper to match support lib version
Alan Viverette [Fri, 30 Aug 2013 21:33:13 +0000 (14:33 -0700)]
Update internal AutoScrollHelper to match support lib version

BUG: 10547956
Change-Id: I7d5b1b9fb89ae8ff4294cc2dfd01e29b55ed3eba

10 years agoDO NOT MERGE. Remove service component for KLP.
Matthew Williams [Tue, 20 Aug 2013 22:32:20 +0000 (15:32 -0700)]
DO NOT MERGE. Remove service component for KLP.

1) As discussed, lack of internal clients -> remove SyncService
component from KLP. This CL reverts that addition.
2) Also includes javadoc cleanup of existing API.
3) Fix naming of allowMetered() -> disallowMetered() in API
4) Removed one-off sync in the future, as it doesn't make sense
for sync adapters.

Change-Id: I1b17094e6edafb2955cdfb99f39b44274fbe86f9

10 years agoMerge "Change IsMethodTracingActive to GetMethodTracingMode for frameworks." into...
Jeff Hao [Fri, 30 Aug 2013 21:10:40 +0000 (21:10 +0000)]
Merge "Change IsMethodTracingActive to GetMethodTracingMode for frameworks." into klp-dev

10 years agoMerge "EGL10.eglCreateWindowSurface should set producerControlledByApp" into klp-dev
Jesse Hall [Fri, 30 Aug 2013 21:09:12 +0000 (21:09 +0000)]
Merge "EGL10.eglCreateWindowSurface should set producerControlledByApp" into klp-dev

10 years agoam 00e4c672: am f85aa0fc: Merge "Telephony: SMS over IMS, DO NOT MERGE" into jb-mr2-dev
Ed Tam [Fri, 30 Aug 2013 21:06:47 +0000 (14:06 -0700)]
am 00e4c672: am f85aa0fc: Merge "Telephony: SMS over IMS, DO NOT MERGE" into jb-mr2-dev

* commit '00e4c6721b344eca1d8b0de0e82e5de6f4f21f16':
  Telephony: SMS over IMS, DO NOT MERGE

10 years agoam f85aa0fc: Merge "Telephony: SMS over IMS, DO NOT MERGE" into jb-mr2-dev
Ed Tam [Fri, 30 Aug 2013 21:04:45 +0000 (14:04 -0700)]
am f85aa0fc: Merge "Telephony: SMS over IMS, DO NOT MERGE" into jb-mr2-dev

* commit 'f85aa0fc12edccf529dbaf0340372bf3a19bc4be':
  Telephony: SMS over IMS, DO NOT MERGE

10 years agoMerge "Telephony: SMS over IMS, DO NOT MERGE" into jb-mr2-dev
Ed Tam [Fri, 30 Aug 2013 20:50:35 +0000 (20:50 +0000)]
Merge "Telephony: SMS over IMS, DO NOT MERGE" into jb-mr2-dev

10 years agoEGL10.eglCreateWindowSurface should set producerControlledByApp
Jesse Hall [Fri, 30 Aug 2013 20:49:14 +0000 (13:49 -0700)]
EGL10.eglCreateWindowSurface should set producerControlledByApp

Bug: 10521699
Change-Id: Ief3f01edf7dabc7996b7af1a756dfd00f0987f1a

10 years agoMerge "Attempt to fix missing clock bug" into klp-dev
Jim Miller [Fri, 30 Aug 2013 19:55:38 +0000 (19:55 +0000)]
Merge "Attempt to fix missing clock bug" into klp-dev

10 years agoMerge "Synchronize access to single supplicant path" into klp-dev
Vinit Deshapnde [Fri, 30 Aug 2013 19:48:12 +0000 (19:48 +0000)]
Merge "Synchronize access to single supplicant path" into klp-dev

10 years agoSynchronize access to single supplicant path
Vinit Deshapnde [Fri, 30 Aug 2013 19:31:25 +0000 (12:31 -0700)]
Synchronize access to single supplicant path

Both wlan0 and p2p0 state machines are accessing the supplicant socket
simultaneously; and may get responses of each other's command. This
change introduces synchronization between these two processes.

Bug: 10375978
Change-Id: I0ac0b2771311b642affc353958cc9ba2e5dd5716

10 years agoMerge "Remove WebViewClassic specific test code" into klp-dev
Jonathan Dixon [Fri, 30 Aug 2013 19:15:41 +0000 (19:15 +0000)]
Merge "Remove WebViewClassic specific test code" into klp-dev

10 years agoMerge "Fixed b/10512887." into klp-dev
Zhentao Sun [Fri, 30 Aug 2013 19:11:28 +0000 (19:11 +0000)]
Merge "Fixed b/10512887." into klp-dev

10 years agoHCE API review.
Martijn Coenen [Fri, 30 Aug 2013 18:14:46 +0000 (11:14 -0700)]
HCE API review.

Keeping some of the old stuff @hide until all
clients have upgraded.

Bug: 10550349
Change-Id: Id5de7ab74c9b38c179fd20bd4746d95b7df8f033

10 years agoChange IsMethodTracingActive to GetMethodTracingMode for frameworks.
Jeff Hao [Thu, 29 Aug 2013 18:19:39 +0000 (11:19 -0700)]
Change IsMethodTracingActive to GetMethodTracingMode for frameworks.

Bug: 9968521

Change-Id: Ic63340e0d2fef18f27fdfabdd056ac5304c3d54f
(cherry picked from commit ffbe799f3824f4be705ca726988355d3943a9004)

10 years agoMerge "Fix bug #10549094 KLP API Review: android.util.LayoutDirection" into klp-dev
Fabrice Di Meglio [Fri, 30 Aug 2013 18:00:19 +0000 (18:00 +0000)]
Merge "Fix bug #10549094 KLP API Review: android.util.LayoutDirection" into klp-dev

10 years agoMerge "DO NOT MERGE Printing API changes for supporting better page layout" into...
Selim Gurun [Fri, 30 Aug 2013 17:09:22 +0000 (17:09 +0000)]
Merge "DO NOT MERGE Printing API changes for supporting better page layout" into klp-dev

10 years agoAdd a few SystemUI xxhdpi stragglers.
John Spurlock [Fri, 30 Aug 2013 15:29:50 +0000 (11:29 -0400)]
Add a few SystemUI xxhdpi stragglers.

Bug: 10316062
Change-Id: I1307d7188e8326407c562a1f65f100e6a3dca5ed

10 years agoDO NOT MERGE Printing API changes for supporting better page layout
Selim Gurun [Thu, 29 Aug 2013 19:01:27 +0000 (12:01 -0700)]
DO NOT MERGE Printing API changes for supporting better page layout

Bug: 10507857
Change-Id: I3120ebfd11716259b9a83312b95a6a3f98a23d89

10 years agoImprove signal assets against tranparent bkgrnd.
John Spurlock [Fri, 30 Aug 2013 11:08:57 +0000 (07:08 -0400)]
Improve signal assets against tranparent bkgrnd.

And update ringer icons, restoring their previous optical bounds.

Bug:10546772
Change-Id: If05a1cd674453b496d25dddfe185783abec93f5e

10 years agoMerge "Fix for 10530176 - CookieSyncManager must be created by WebView c'tor" into...
Ben Murdoch [Fri, 30 Aug 2013 09:03:58 +0000 (09:03 +0000)]
Merge "Fix for 10530176 - CookieSyncManager must be created by WebView c'tor" into klp-dev

10 years agoMerge "Add debug and remove SocketTimeoutException." into klp-dev
Wink Saville [Fri, 30 Aug 2013 03:30:51 +0000 (03:30 +0000)]
Merge "Add debug and remove SocketTimeoutException." into klp-dev

10 years agoMerge "Disable hotword detection on low-memory devices" into klp-dev
Jim Miller [Fri, 30 Aug 2013 02:12:26 +0000 (02:12 +0000)]
Merge "Disable hotword detection on low-memory devices" into klp-dev

10 years agoDisable hotword detection on low-memory devices
Jim Miller [Fri, 30 Aug 2013 01:58:21 +0000 (18:58 -0700)]
Disable hotword detection on low-memory devices

Change-Id: If21f852af36a8f6dea17f3a87b22f39db3d1d6e8

10 years agoFix bug #10549094 KLP API Review: android.util.LayoutDirection
Fabrice Di Meglio [Fri, 30 Aug 2013 01:05:02 +0000 (18:05 -0700)]
Fix bug #10549094 KLP API Review: android.util.LayoutDirection

- use constant class instead of an interface
- make it final

Change-Id: I1bde76eb84cd92427e4e1fc2483cdecec429ae99

10 years agoRemove unused status bar help and obsolete resources.
John Spurlock [Fri, 30 Aug 2013 00:47:03 +0000 (20:47 -0400)]
Remove unused status bar help and obsolete resources.

Bug:10502089
Change-Id: I813244c4d5535256a56b242b92e6373edbbaba93

10 years agoMerge "Turn off debugging in SyncManager" into klp-dev
Matthew Williams [Fri, 30 Aug 2013 00:24:11 +0000 (00:24 +0000)]
Merge "Turn off debugging in SyncManager" into klp-dev

10 years agoMerge "Cleanup API typo" into klp-dev
Jason Sams [Fri, 30 Aug 2013 00:03:35 +0000 (00:03 +0000)]
Merge "Cleanup API typo" into klp-dev

10 years agoCleanup API typo
Jason Sams [Fri, 30 Aug 2013 00:00:37 +0000 (17:00 -0700)]
Cleanup API typo

bug 10548782

Change-Id: I3654b7d1f8ea10eb51006804248cc2a7d20eabb0

10 years agoFixed b/10512887.
Zhentao Sun [Thu, 29 Aug 2013 21:43:35 +0000 (14:43 -0700)]
Fixed b/10512887.

This is an issue caused by multi-threading. If geofence provider service
is connected and disconnected immediately, the ServiceWatcher can return a
null service handle to the private thread used by GeofenceProxy, and
this can cause NPE and system crash.
This CL also fixed a hidden race conditions bug where mGeofenceHardware
is not synchronized between two threads.

Change-Id: I824642cd638fbb1e6799a5a1220b047ebc2556a1

10 years agoAdd debug and remove SocketTimeoutException.
Wink Saville [Thu, 29 Aug 2013 23:42:44 +0000 (16:42 -0700)]
Add debug and remove SocketTimeoutException.

Bad merge from jb-mr2 to klp, the SocketTimeoutException
in isCaptivePortal should not be present. Also add debug
for bug 9972012. The SocketTimeoutException is a possible
cause of 9972012 but the logs from post #24 it was not
caused by a timeout, so this is not a fix.

Bug: 9972012
Change-Id: I290518832f8258d4682821815834f5621245b643

10 years agoAdd doubletap swipe to scalegesturedetector
Mindy Pereira [Wed, 21 Aug 2013 22:59:36 +0000 (15:59 -0700)]
Add doubletap swipe to scalegesturedetector

Change-Id: I070b09ed7295e0c3e07c6dffcdaba20226f7c2a3

10 years agoMerge "Don't show roaming icon for specific operators" into klp-dev
Robert Greenwalt [Thu, 29 Aug 2013 23:17:49 +0000 (23:17 +0000)]
Merge "Don't show roaming icon for specific operators" into klp-dev

10 years agoMerge "Print spooler security and some new print service facing APIs." into klp-dev
Svetoslav Ganov [Thu, 29 Aug 2013 22:59:08 +0000 (22:59 +0000)]
Merge "Print spooler security and some new print service facing APIs." into klp-dev

10 years agoPrint spooler security and some new print service facing APIs.
Svetoslav Ganov [Wed, 28 Aug 2013 21:37:54 +0000 (14:37 -0700)]
Print spooler security and some new print service facing APIs.

1. Updated the security mode of the print spooler. Now the spooler
   is not signed with the system key, it is not a privileged app so if
   it gets compromised (PDF rendering is a potential attack vector)
   it cannot access dangerous permissions. Also only the system
   can bind to the spooler.

2. Added APIs for asking a print service to start and stop tracking
   a given printer. This is need for the case when the user selects
   the printer and the print service should do a best effort to keep
   the system updated for the current state of the printer.

3. Added APIs for putting a print job in a blocked state. A print
   service would report the print job as blocked if for some reason
   the printer cannot proceed, e.g. 99 pages are printed but there
   is no paper for the last one. The user has to add more paper
   and the print service can resume the job.

4. Changed the read/write APIs to use ParcelFileDescriptor instead
   of FileDescriptor since the latter does not have a clean API for
   detaching the wrapped Linux file descriptor when one wants to
   push it to native.

5. Added API for getting the size of the printed document so the
   print service can avoid handling big filed over cellular network
   or ask the user if needed.

6. Now the print services that are preinstalled on the system image
   are automatically enabled.

Change-Id: Ia06c311d3d21cabb9e1368f13928e11cd0030918

10 years agoMerge "GridLayout changes for API council" into klp-dev
Adam Powell [Thu, 29 Aug 2013 22:38:24 +0000 (22:38 +0000)]
Merge "GridLayout changes for API council" into klp-dev

10 years agoTurn off debugging in SyncManager
Matthew Williams [Thu, 29 Aug 2013 20:41:15 +0000 (13:41 -0700)]
Turn off debugging in SyncManager

Bug: 10549076
Change-Id: I63ad8af5fbe8736eb7ca8307a4beef5310a1c10c

10 years agoam ee9d38ff: am 40765a4a: am 2ef3952d: cherrypick from jb-mr2-docs docs: Android...
quddusc [Thu, 29 Aug 2013 22:16:01 +0000 (15:16 -0700)]
am ee9d38ff: am 40765a4a: am 2ef3952d: cherrypick from jb-mr2-docs docs: Android training for Activity testing. Change-Id: I7167732c849d5a4a36c808cc852ddfcdc8e60bd7

* commit 'ee9d38ff24358774d194108128e99f09d08ddf8e':
  cherrypick from jb-mr2-docs docs: Android training for Activity testing. Change-Id: I7167732c849d5a4a36c808cc852ddfcdc8e60bd7

10 years agoMerge "Merge commit '270226b0' into manualmerge" into klp-dev
Wink Saville [Thu, 29 Aug 2013 22:10:51 +0000 (22:10 +0000)]
Merge "Merge commit '270226b0' into manualmerge" into klp-dev

10 years agoGridLayout changes for API council
Adam Powell [Thu, 29 Aug 2013 21:56:51 +0000 (14:56 -0700)]
GridLayout changes for API council

* Hide set/getPrinter methods. A change/addition like this should
  happen for all views if it happens, not just for one specific view.

* Follow Android style guidelines for fields.

Bug 10549037

Change-Id: I1823d7bbbd8bcc678c5be2358ca23a8dc6dbfd15
(cherry picked from commit 916159461bf17e13c245a709935a0d1133e0ed91)

10 years agoMerge commit '270226b0' into manualmerge
Wink Saville [Thu, 29 Aug 2013 21:57:08 +0000 (14:57 -0700)]
Merge commit '270226b0' into manualmerge

* commit '270226b0':
  Add support for handling mobile provisioning networks.

Conflicts:
core/java/android/net/CaptivePortalTracker.java
core/java/android/net/ConnectivityManager.java
core/java/android/net/IConnectivityManager.aidl
core/java/android/net/MobileDataStateTracker.java
core/res/AndroidManifest.xml
services/java/com/android/server/ConnectivityService.java

Change-Id: I3925004011bb1243793c4c1b963d923dc2b00cb5

10 years agoMerge "Improve Intent disambig dialog behavior" into klp-dev
Amith Yamasani [Thu, 29 Aug 2013 21:45:04 +0000 (21:45 +0000)]
Merge "Improve Intent disambig dialog behavior" into klp-dev

10 years agoMerge "Unhide USAGE_IO_INPUT functions" into klp-dev
Jason Sams [Thu, 29 Aug 2013 21:24:28 +0000 (21:24 +0000)]
Merge "Unhide USAGE_IO_INPUT functions" into klp-dev

10 years agoMerge "Reset activity's "return to home" flag on relaunch" into klp-dev
Craig Mautner [Thu, 29 Aug 2013 21:14:30 +0000 (21:14 +0000)]
Merge "Reset activity's "return to home" flag on relaunch" into klp-dev

10 years agoMerge "Add an API for querying HCE service selection mode." into klp-dev
Martijn Coenen [Thu, 29 Aug 2013 21:01:16 +0000 (21:01 +0000)]
Merge "Add an API for querying HCE service selection mode." into klp-dev

10 years agoUnhide USAGE_IO_INPUT functions
Jason Sams [Thu, 29 Aug 2013 20:30:59 +0000 (13:30 -0700)]
Unhide USAGE_IO_INPUT functions

Change-Id: I9c1a7e5d65adee133b99b9a94729ab0b3d5a097f

10 years agoAdd an API for querying HCE service selection mode.
Martijn Coenen [Thu, 29 Aug 2013 02:23:41 +0000 (19:23 -0700)]
Add an API for querying HCE service selection mode.

This allows applications to differentiate between
the case where another app is the default, or the
case where the selection mode is "Ask every time".

Also, parse new requireDeviceUnlock attribute in
ApduServiceInfo.

Bug: 10262585
Change-Id: Icac508fe00054132574731532c05a1138edb24f5

10 years agoMerge "Add requireDeviceUnlock attribute for NFC HCE." into klp-dev
Martijn Coenen [Thu, 29 Aug 2013 19:56:00 +0000 (19:56 +0000)]
Merge "Add requireDeviceUnlock attribute for NFC HCE." into klp-dev

10 years agoReset activity's "return to home" flag on relaunch
Craig Mautner [Thu, 29 Aug 2013 19:24:56 +0000 (12:24 -0700)]
Reset activity's "return to home" flag on relaunch

When relaunching an activity re-evaluate the flag that determines
whether to return to the next activity on the stack or to the home
activity upon return.

Fixes bug 10545580.

Change-Id: I5868ce1b494afffcc5afc22abe3b65aa339827bb

10 years agoUpdate captioning APIs
Alan Viverette [Thu, 29 Aug 2013 19:23:48 +0000 (12:23 -0700)]
Update captioning APIs

CaptioningManager is now a first-class service in Context and can
have listeners added to it to monitor changes.

BUG: 1026060310461210
Change-Id: I2df5b2997537bb343d902b7ace3343ad483f3717

10 years agoDon't show roaming icon for specific operators
Sungmin Choi [Fri, 19 Jul 2013 04:36:29 +0000 (13:36 +0900)]
Don't show roaming icon for specific operators

bug:9896815
bug:10100304
bug:10097969
bug:10101601

Conflicts:
core/res/res/values/config.xml

Change-Id: I6165f42b2a3d7f4bbd16c97f7a2b8760a688e2d4

10 years agoMerge "media: ImageReader throws OutOfResourcesException when out of buffers" into...
Igor Murashkin [Thu, 29 Aug 2013 18:59:10 +0000 (18:59 +0000)]
Merge "media: ImageReader throws OutOfResourcesException when out of buffers" into klp-dev

10 years agoam 40765a4a: am 2ef3952d: cherrypick from jb-mr2-docs docs: Android training for...
quddusc [Thu, 29 Aug 2013 18:57:52 +0000 (11:57 -0700)]
am 40765a4a: am 2ef3952d: cherrypick from jb-mr2-docs docs: Android training for Activity testing. Change-Id: I7167732c849d5a4a36c808cc852ddfcdc8e60bd7

* commit '40765a4a5300914e8c7ce7ed6397cec7ab8d78a1':
  cherrypick from jb-mr2-docs docs: Android training for Activity testing. Change-Id: I7167732c849d5a4a36c808cc852ddfcdc8e60bd7

10 years agoMerge "uicc : add config_stkNoAlphaUsrCnf to config.xml" into klp-dev
Vineeta Srivastava [Thu, 29 Aug 2013 18:41:27 +0000 (18:41 +0000)]
Merge "uicc : add config_stkNoAlphaUsrCnf to config.xml" into klp-dev

10 years agoPublic API for RemoteControlClient ratings and editable metadata
Jean-Michel Trivi [Mon, 26 Aug 2013 22:28:29 +0000 (15:28 -0700)]
Public API for RemoteControlClient ratings and editable metadata

A rating for RemoteControlClient content is:
  - a value between 0 and 100
  - or a value indicating there is no rating
 For a same piece of content, a rating can come from:
  - the user
  - "others" (i.e. not the user), to provide an average rating
 Rating styles are:
  - heart (a toggle)
  - thumb up / down
  - stars (with a configurable maximum number of stars)

For editable metadata, add:
  - methods to control which keys can be edited,
  - interface for an application to receive new values for a key.

Rating by user is editable metadata.

Bug 8440498

Change-Id: Ia9f61e750772658051cea1ac7c316187717f0f58

10 years agouicc : add config_stkNoAlphaUsrCnf to config.xml
duho.ro [Wed, 10 Jul 2013 03:01:06 +0000 (12:01 +0900)]
uicc : add config_stkNoAlphaUsrCnf to config.xml

Per 3GPP specification 102.223,
if the alpha identifier is not provided by the UICC,
the terminal MAY give information to the user.
set to false if we need to show user confirmation
when alpha identifier is not provided by the UICC.

Change-Id: Iece01f3775baf2c6438776f899ed53b1f1fb942f

Conflicts:
core/res/res/values/config.xml

10 years agoam 2ef3952d: cherrypick from jb-mr2-docs docs: Android training for Activity testing...
quddusc [Thu, 29 Aug 2013 18:12:44 +0000 (11:12 -0700)]
am 2ef3952d: cherrypick from jb-mr2-docs docs: Android training for Activity testing. Change-Id: I7167732c849d5a4a36c808cc852ddfcdc8e60bd7

* commit '2ef3952d8e62b71baca176b3e17315a37facd34a':
  cherrypick from jb-mr2-docs docs: Android training for Activity testing. Change-Id: I7167732c849d5a4a36c808cc852ddfcdc8e60bd7

10 years agoMerge "More SystemUI asset updates." into klp-dev
John Spurlock [Thu, 29 Aug 2013 18:03:58 +0000 (18:03 +0000)]
Merge "More SystemUI asset updates." into klp-dev

10 years agoMore SystemUI asset updates.
John Spurlock [Thu, 29 Aug 2013 17:56:31 +0000 (13:56 -0400)]
More SystemUI asset updates.

White close handles, a few missed xx items.

Bug:10502089
Change-Id: I788f3698249e72c3df3d039c68b438998db1b978