110724 Commits

Author SHA1 Message Date
Svetoslav
d30921672c Merge "Implemented advanced printer selection and API refactoring." into klp-dev 2013-08-20 20:42:05 +00:00
Matthew Xie
2365745855 Merge "Change abortReliableWrite(BluetoothDevice) to abortReliableWrite()" into klp-dev 2013-08-20 19:47:29 +00:00
John Spurlock
5b9145bf99 Improve transient bar transitions.
1. If app clears transient flag w/ a gesture, the touch-outside
listener would always win, causing an unsightly hide + immediate
reshow.  Instead, give the app some time to clear the flag, then
perform a smooth transition in place.

2. When the transient bars are hidden, we do not know ahead of time
which background will be used on reshow (if transient bars are
revealed, the background is semi-transparent, if transient bars
are cleared, the background is opaque).  Window manager is responsible
for showing windows, but sysui is responsible for setting the view
background.  Therefore, we need some level of coordination between
the two in this case.  Introduce two new non-public sysui flags
that represent the window manager's request to reshow the hidden
bars, but do not reshow until sysui acknowledges (by clearing the flag).
This gives sysui whatever time is necessary to prepare itself for
reshow, avoiding unsightly blip from opaque -> transparent during
the enter animation.

3. When both system bars are hidden, any low-profile changes are
moot.  Avoid unsightly low-profile animations during bar reshow
by suppressing the flag in this case.

4. Improve transient bar home -> launcher transition by cancelling
the -> opaque animation.  This also fixes a bug where hitting
home from the transient bar would leave you with a semi-transparent
bar in a non-transient state.

Bug:10284800
Change-Id: I238210561d8d5f70c1a517283b986c9105a1ec75
2013-08-20 15:37:03 -04:00
Fabrice Di Meglio
b002febec5 Fix bug #10409069 Spinner Drawable is not mirrored in RTL mode
- add missing android:autoMirrored="true" on corresponding StateList

Change-Id: Iea6930089f33061f2cf0ae83739bb8b3356f1e1b
2013-08-20 12:34:29 -07:00
Jason Monk
433ba46fcc Fix ProxyHandler to only run when needed
Changes ProxyHandler service to only be active when needed for PAC services.

Bug: 10260877
Change-Id: If42e53e805488fd08381baa96409ba3027661c70
2013-08-20 15:27:51 -04:00
Tom O'Neill
fd95299415 Fix build: remove obsolete TODO
Change-Id: Ie8ef50450a8c415deba9b71607bec89e72db9227
2013-08-20 11:54:02 -07:00
Maggie Benthall
1cd230a552 Merge "Add methods for managing CAs to DevicePolicyManager(Service)" into klp-dev 2013-08-20 18:35:08 +00:00
Maggie Benthall
da51e68e58 Add methods for managing CAs to DevicePolicyManager(Service)
Guard install/uninstall by enforcing that the caller have the new system-only permission MANAGE_CA_CERTIFICATES.
Also include API methods for asking whether there are any User CA certs
installed, or if one by a particular name is installed in the keystore.

CA certs will be installed via KeyChain into the TrustedCertificateStore.

Bug: 8232670

Change-Id: I17b47a452e72eb4fe556dc6db823a46c6e854be8
2013-08-20 14:30:36 -04:00
Tim Murray
cf8e6778c2 Merge "Handle updates to C++ API." into klp-dev 2013-08-20 18:27:01 +00:00
Chong Zhang
ea18a8db65 Merge "MediaPlayer: add listener for subtitle data" into klp-dev 2013-08-20 18:25:05 +00:00
Andy McFadden
ed55c8db1c Avoid crashing in unlockCanvasAndPost
It's possible to update the native surface pointer while the
surface is locked (via lockCanvas).  This leads to a surprise when
the surface is unlocked.  Avoid the surprise by tracking the
locked surface separately.

Bug 10289713

Change-Id: I84346c952be859bbd91ceae7df07b91dabe0948e
2013-08-20 11:23:17 -07:00
Chong Zhang
a3132d975b Merge "MediaPlayer.TrackInfo: add getFormat() method" into klp-dev 2013-08-20 18:23:12 +00:00
Tom O'Neill
f23993fb52 Merge "Add the API to set and read the location mode" into klp-dev 2013-08-20 18:13:09 +00:00
Lorenzo Colitti
5c7daac2e3 Notify IP address changes to interface observers.
1. Add addressUpdated and addressRemoved methods to
   INetworkManagementEventObserver. (The -Updated method is not
   called -Added because it gets called for both adds and
   changes.) Update all its callers in the tree.
2. Make NetworkManagementService parse IP address notifications
   from NetlinkHandler and call the address{Removed,Updated} on
   its observers.

Bug: 10232006
Change-Id: Ieb185dbba052bdbff03caafc0cf5397a7f04dc6d
2013-08-20 21:29:05 +09:00
Lorenzo Colitti
df86a9f2e9 Make BaseNetworkObserver available to core code
Currently BaseNetworkObserver is in frameworks/base/services, but
there is code in frameworks/base/core that could use it. This
code typically extends INetworkManagementEventObserver.stub
because BaseNetworkObserver is not available.

Move BaseNetworkObserver to frameworks/base/core without changing
its package name, and use it to simplify two callers. The third
caller, Tethering, is much larger, and I'm not sure it's
appropriate to change it.

Bug: 10232006
Change-Id: Ifc0f2e619e3424e27e35730c048a1cc523df345e
2013-08-20 21:16:38 +09:00
Lorenzo Colitti
4faa027df0 Modify LinkProperties address update methods.
1. Make addLinkAddress a no-op if the address already exists.
2. Make addLinkAddress, addStackedLink and removeStackedLink
   return a boolean indicating whether something changed.
3. Add a removeLinkAddress method (currently there is no way of
   removing an address).
3. Move hasIPv6Address from ConnectivityService to
   LinkProperties, where it belongs.

Bug: 9625448
Bug: 10232006
Change-Id: If641d0198432a7a505e358c059171f25bc9f13d5
2013-08-20 21:16:37 +09:00
Lorenzo Colitti
6eb8a62a26 Add a string constructor to LinkAddress.
This will allow us to do new LinkAddress("2001:db8::1/64").

Bug: 10232006
Change-Id: If479bdbab16826afe9d82732215141841c282299
2013-08-20 14:19:20 +09:00
Yu Shan Emily Lau
74596aaa75 Merge "Add the checking for the camcorder profile." into klp-dev 2013-08-20 02:36:53 +00:00
Yu Shan Emily Lau
c8d0756776 Add the checking for the camcorder profile.
Not all the devie have camera. Only run the
recording test when the camcorder profile is
not null.

Change-Id: Ib38df363fe5e6049b72e97ae229964fb65882269
2013-08-19 19:03:26 -07:00
Eric Laurent
9f78d309dc Merge "AudioSystem: new audioflinger restart detection" into klp-dev 2013-08-20 01:33:27 +00:00
Eric Laurent
dfb881f96a AudioSystem: new audioflinger restart detection
Add a specific method to AudioSystem for AudioService to poll
for AudioFlinger service restart instead of relying on current
callback mechanism which is flaky.

Bug: 9693068.
Change-Id: Id21d142a22b257205700201978cce1cb8b15180d
2013-08-19 18:26:21 -07:00
Lorenzo Colitti
743218d7a1 Merge "Display signal strength on data-only SIMs." into klp-dev 2013-08-20 01:17:31 +00:00
Tom O'Neill
1f48b78e99 Add the API to set and read the location mode
- This will be more future-proof than the current GPS/NLP API

Change-Id: I9defe505e1372d9b601c3190eb49bd71604f04d1
2013-08-19 18:14:56 -07:00
Eric Laurent
51d9652d45 Merge "Revert "Fix media server restart detection mechanism"" into klp-dev 2013-08-20 01:11:50 +00:00
Eric Laurent
539719a7af Revert "Fix media server restart detection mechanism"
This reverts commit ca35e4823459189dd57ec5472caf3a617d03b568.
2013-08-19 17:44:30 -07:00
Michael Wright
b7b2d4b490 Expose API to query devices for supported keys
Change-Id: I29f230e19c6f851b4b72b2fc8dd41f5abcba4631
2013-08-19 17:06:03 -07:00
Jeff Brown
194c140c34 Merge changes Id3815fe8,I90a85921 into klp-dev
* changes:
  Define AudioSource.REMOTE_SUBMIX.
  Remove setRemoteSubmixOn method.
2013-08-19 23:57:11 +00:00
Joe Fernandez
974e5975d3 am cf3aff67: am d1037efe: am 9d237204: Merge "Android 4.3 Platform Google APIs r2 system image Release Notes" into jb-mr2-docs
* commit 'cf3aff672ce9d7240de1e2e3cc98f21f833957ec':
  Android 4.3 Platform Google APIs r2 system image Release Notes
2013-08-19 16:55:10 -07:00
Joe Fernandez
cf3aff672c am d1037efe: am 9d237204: Merge "Android 4.3 Platform Google APIs r2 system image Release Notes" into jb-mr2-docs
* commit 'd1037efe7edcc202c84cfd8a74c4593d1d03ea2d':
  Android 4.3 Platform Google APIs r2 system image Release Notes
2013-08-19 16:53:00 -07:00
Joe Fernandez
d1037efe7e am 9d237204: Merge "Android 4.3 Platform Google APIs r2 system image Release Notes" into jb-mr2-docs
* commit '9d237204da9b000c5debfa1f5650d13a545bb7c8':
  Android 4.3 Platform Google APIs r2 system image Release Notes
2013-08-19 16:49:44 -07:00
Joe Fernandez
9d237204da Merge "Android 4.3 Platform Google APIs r2 system image Release Notes" into jb-mr2-docs 2013-08-19 23:47:24 +00:00
Alan Viverette
058ac7cfe5 Use MULTI_LINE and OPENS_POPUP accessibility properties
BUG: 10391326
Change-Id: Ib2deeeef401802b6dde646e14ee5367141469a58
2013-08-19 16:44:30 -07:00
Joe Fernandez
312d29ed3d Android 4.3 Platform Google APIs r2 system image Release Notes
Google APIs System image update with Google Play Services 3.2.25

Change-Id: Iac6987a9dcb55bd971da9ca57c5a5dae0c357be5
2013-08-19 16:43:57 -07:00
Jeff Brown
64dfb604e7 Define AudioSource.REMOTE_SUBMIX.
Add an API to allow applications to record from the remote
submix when they have the required permissions.

Bug: 10265163
Change-Id: Id3815fe82a6713e058ce4b8ab6128a898481df7e
2013-08-19 16:42:07 -07:00
Alan Viverette
02f5680363 Add implicit parent dependency for Preferences
Also removes unused dependency change listener interface.

BUG: 10117838
Change-Id: I03f0eb37e7ba69942f7997a8b32adb38a3dee0bd
2013-08-19 16:32:56 -07:00
Craig Mautner
007751276c Merge "Notify ViewRootImpl when it's safe to modify Canvas." into klp-dev 2013-08-19 23:13:47 +00:00
John Du
48f8b5dbf6 Change abortReliableWrite(BluetoothDevice) to abortReliableWrite()
BluetoothGatt.abortReliableWrite() should not take a BluetoothDevice
parameter. Instead, it should use mDevice instance variable.
bug 10152994

Change-Id: I7fc79b9011cf878414128cc9f1696e5ccc597056
2013-08-19 16:01:24 -07:00
Craig Mautner
bc57cd1b24 Notify ViewRootImpl when it's safe to modify Canvas.
When Activity.convert{To|From}Translucent() is called the
ViewRootImpl is now notified when it is safe to convert the Canvas
from translucent to opaque and back to translucent. This will make
it possible to save resources when compositing opaque layers.

Fixes bug 10349536.

Change-Id: I7282aee1d54601fb00611d20be204bf164d873f6
2013-08-19 15:47:42 -07:00
Eino-Ville Talvala
b6c38e9de1 Camera2: Remove redundant Keys classes
Also update tests accordingly

Bug: 10345522
Change-Id: I8c7d17cdfbda6faba09134745a96089bf1b70cb7
2013-08-19 20:37:37 +00:00
Svetoslav
269403b032 Implemented advanced printer selection and API refactoring.
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
2013-08-19 13:24:11 -07:00
Tom O'Neill
184e75146c Warn that SettingInjectorService must be fast
- Move UPDATE_INTENT to SettingInjectorSErvice

Change-Id: I9c8f8dc0878647a051cb852721b3436e9d55b391
2013-08-19 13:13:21 -07:00
Martijn Coenen
b6e8943933 Merge "NFC: Allow HostApduService to indicate transaction unhandled." into klp-dev 2013-08-19 20:11:09 +00:00
Jeff Sharkey
6b73eb28d7 Merge "Request more documents when EXTRA_HAS_MORE." into klp-dev 2013-08-19 19:58:56 +00:00
Jeff Sharkey
f7e2a2e963 Merge "Management actions, invalidate caches." into klp-dev 2013-08-19 19:55:20 +00:00
Alan Viverette
92d2a31807 Merge "Remove duplicate sealed node checks, add missing checks" into klp-dev 2013-08-19 19:50:29 +00:00
Alan Viverette
df39cb9b05 Remove duplicate sealed node checks, add missing checks
Change-Id: Icbe79ba4b74776f845b43f261624d0dbeda4250b
2013-08-19 12:28:04 -07:00
Dirk Dougherty
cb13399c1b am 2d9ee707: am 364fe3a8: am b6bc020d: doc change: Samples browsing first changes: Samples dir and file starters.
* commit '2d9ee70703cb52a16d726eb177f6f4e0be4f93e2':
  doc change: Samples browsing first changes: Samples dir and file starters.
2013-08-19 12:14:17 -07:00
Vinit Deshapnde
4d0145add1 Merge "Expose WifiManager.setTdlsEnabled public API" into klp-dev 2013-08-19 19:14:03 +00:00
Eino-Ville Talvala
f55916bd31 Merge changes I6d125624,I549a9211 into klp-dev
* changes:
  Camera2: Fixed issue with HashSet not being initialized
  Camera2: Documentation fixes, mostly capitalization mistakes
2013-08-19 19:12:53 +00:00
Dirk Dougherty
2d9ee70703 am 364fe3a8: am b6bc020d: doc change: Samples browsing first changes: Samples dir and file starters.
* commit '364fe3a856e7bd0c0a35724c2f42d381d8616370':
  doc change: Samples browsing first changes: Samples dir and file starters.
2013-08-19 12:12:05 -07:00