42927 Commits

Author SHA1 Message Date
Zhijun He
e8aae8a122 Merge "Camera2: Update tonemap curve definitions." into klp-dev 2013-08-21 18:44:06 +00:00
Zhijun He
3ffd70554f Camera2: Update tonemap curve definitions.
This updates android.tonemap.curveGreen and android.tonemap.curveBlue
definitions.
Also update android.sensor.info.physicalSize type.

Bug: 10394966
Change-Id: I23156ad0cd67fa59500a1c803068e392514756d4
2013-08-21 11:12:04 -07:00
Eino-Ville Talvala
0125ba70bb Merge "Camera2: Convert camera device errors to exceptions" into klp-dev 2013-08-21 18:05:49 +00:00
Alan Viverette
a2e88ef896 Merge "Move forwarding code to ListPopupWindow, add drag-to-open in Spinner" into klp-dev 2013-08-21 17:56:00 +00:00
Alan Viverette
5feb0ad1d2 Merge "Use MULTI_LINE and OPENS_POPUP accessibility properties" into klp-dev 2013-08-21 17:55:49 +00:00
Igor Murashkin
f6121f38c0 Merge "camera2: add sensor.temperature optional key. clear up some metadata definitions" into klp-dev 2013-08-21 17:53:18 +00:00
Matthew Xie
e530c41b57 Merge "Protect a bunch of broadcast intents" into klp-dev 2013-08-21 17:51:02 +00:00
Lorenzo Colitti
fd589c1d94 Merge "Notify IP address changes to interface observers." into klp-dev 2013-08-21 17:47:13 +00:00
Adam Powell
41a5de94b0 Add xxhdpi drawables
Change-Id: I16d27db7fc6a01710c4e6bde5d0e0d7cf3a14aba
2013-08-21 17:39:23 +00:00
Eino-Ville Talvala
5afd3e91b8 Camera2: Convert camera device errors to exceptions
Bug: 10360518
Change-Id: I1752cecf55269c2c9f22962660c0b3fc236138fa
2013-08-21 10:37:04 -07:00
Chris Craik
dc70afaeab Merge "Add inPremutiplied option to BitmapFactory.Options, functionality in Bitmap" into klp-dev 2013-08-21 17:22:24 +00:00
Lorenzo Colitti
10fa8c0626 Merge "Make BaseNetworkObserver available to core code" into klp-dev 2013-08-21 17:20:40 +00:00
Lorenzo Colitti
4d3d5f1f9e Merge "Modify LinkProperties address update methods." into klp-dev 2013-08-21 17:13:50 +00:00
Mathew Inwood
6a99a8145c Merge "Remove android.provider.Applications" into klp-dev 2013-08-21 17:12:05 +00:00
Lorenzo Colitti
b8aa06c783 Merge "Add a string constructor to LinkAddress." into klp-dev 2013-08-21 17:11:00 +00:00
Mathew Inwood
e14380a798 Remove android.provider.Applications
ApplicationsProvider is going away since it's no longer needed. Remove
the related constants also.

Depends on change I6ee638a3d2b65f092d6f90410156d7cd24436914 in
packages/provider/ApplicationsProvider.

Bug: 10407790
Change-Id: Ib3188612a8713266a77d59d514113ed5d61b0810
2013-08-21 17:04:05 +01:00
John Spurlock
b06b8b0267 Merge "Improve transient bar transitions." into klp-dev 2013-08-21 13:36:36 +00:00
Alan Viverette
d3927bd035 Merge "Allow recycling of Preferences in com.android.* packages" into klp-dev 2013-08-21 01:58:55 +00:00
Chris Craik
1abf5d6242 Add inPremutiplied option to BitmapFactory.Options, functionality in Bitmap
bug:2248948

Change-Id: I8fdd649332667598504a1076d5a447572bd53086
2013-08-20 18:29:33 -07:00
Matthew Xie
6b8a6a6e05 Protect a bunch of broadcast intents
All the changed intents are restricted. Only Bluetooth Process can
broadcast/send them.
bug 7622253

Change-Id: I098664bf266ac44b7904f8f79b1804d5130f5cd5
2013-08-20 18:07:25 -07:00
Alan Viverette
791b37e0d9 Allow recycling of Preferences in com.android.* packages
Refactors hasSpecifiedLayout to canRecycleLayout for readability's
sake. All boolean references to the method have been inverted.

BUG: 10079104
Change-Id: Ie6beda9f0b837f889a6cc6a80377349e98cc4883
2013-08-20 17:34:19 -07:00
Svetoslav Ganov
5cdaf8c3e5 Merge "Fix build" into klp-dev 2013-08-20 23:58:13 +00:00
Svetoslav Ganov
3bf7976e78 Fix build
Change-Id: Iff815dd264008c005995ab8a95b442dad7aca18e
2013-08-20 16:40:57 -07:00
Jason Monk
ff796e5a24 Merge "Change PacProcessor to Android Service" into klp-dev 2013-08-20 23:35:26 +00:00
Alan Viverette
59bbba7c37 Merge "Add implicit parent dependency for Preferences" into klp-dev 2013-08-20 23:28:16 +00:00
Christopher Tate
439c9f5bf3 Merge "Make "low ram device" a readonly system property" into klp-dev 2013-08-20 22:59:39 +00:00
Selim Gurun
22df87b669 Merge "Added the callback signal." into klp-dev 2013-08-20 22:41:53 +00:00
Selim Gurun
fc3f4ee8a0 Added the callback signal.
Bug:10190508

Change-Id: I52b327e0724938e1de7ce7550d26563364ff1589
2013-08-20 15:18:31 -07:00
Igor Murashkin
d5ff06a2ce camera2: add sensor.temperature optional key. clear up some metadata definitions
Change-Id: I1fabdf383b303ea52d73a055b83a0c4a1bca3f95
2013-08-20 15:15:06 -07:00
Jason Monk
9ced3cd9d6 Change PacProcessor to Android Service
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
2013-08-20 17:36:39 -04:00
Christopher Tate
2f61f91491 Make "low ram device" a readonly system property
This lets components outside the Zygote / Android resource regime
know whether this is considered a "low ram" device.

Set the property [ro.config.low_ram] to "true" if the device is to be
considered low-ram.  Any other property string (or its absence) will
be interpreted as meaning this is a normal larger-ram device.  The
"true" string must be all lower case.

Bug 10131789

Change-Id: I15332d169b4aa4eaa0a6c1952787af0b03d23a6b
2013-08-20 14:35:56 -07:00
Andy McFadden
59210de17c Merge "Avoid crashing in unlockCanvasAndPost" into klp-dev 2013-08-20 21:27:07 +00:00
Matthew Xie
ec850cd6c6 Merge "Update comments" into klp-dev 2013-08-20 21:18:30 +00:00
John Du
b7b7d7a05c Update comments
bug 10152994

Change-Id: I05bbd917ebd0d140e0894f8bf7e43d0fc77378c8
2013-08-20 14:03:28 -07:00
Fabrice Di Meglio
841cd8609b Merge "Fix bug #10409069 Spinner Drawable is not mirrored in RTL mode" into klp-dev 2013-08-20 20:51:02 +00:00
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
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
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
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
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
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