33545 Commits

Author SHA1 Message Date
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
Lorenzo Colitti
fd589c1d94 Merge "Notify IP address changes to interface observers." into klp-dev 2013-08-21 17:47:13 +00: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
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
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
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
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
Alan Viverette
058ac7cfe5 Use MULTI_LINE and OPENS_POPUP accessibility properties
BUG: 10391326
Change-Id: Ib2deeeef401802b6dde646e14ee5367141469a58
2013-08-19 16:44:30 -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
Martijn Coenen
b6e8943933 Merge "NFC: Allow HostApduService to indicate transaction unhandled." into klp-dev 2013-08-19 20:11:09 +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