111141 Commits

Author SHA1 Message Date
Selim Gurun
22df87b669 Merge "Added the callback signal." into klp-dev 2013-08-20 22:41:53 +00:00
David Christie
448baa08d0 Switch QuickSettings to new LocationMode setting api.
Change-Id: Ie3981741ae422562e9c703b76d10278f285739c6
2013-08-20 15:22:33 -07: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
Sandeep Siddhartha
46b57ce3a1 am aed96e1b: Merge "Add hotword detection in insecure keyguard" into klp-dev
* commit 'aed96e1b2bedc9db82462cde37a811a0e7aee05f':
  Add hotword detection in insecure keyguard
2013-08-20 14:44:20 -07:00
Sandeep Siddhartha
aed96e1b2b Merge "Add hotword detection in insecure keyguard" into klp-dev 2013-08-20 21:41:44 +00: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
272f8bba47 am 59210de1: Merge "Avoid crashing in unlockCanvasAndPost" into klp-dev
* commit '59210de17c840bb60fc1c623250df8f39ebba132':
  Avoid crashing in unlockCanvasAndPost
2013-08-20 14:29:06 -07:00
Andy McFadden
59210de17c Merge "Avoid crashing in unlockCanvasAndPost" into klp-dev 2013-08-20 21:27:07 +00:00
Matthew Xie
6a088c4c0f am ec850cd6: Merge "Update comments" into klp-dev
* commit 'ec850cd6c60a4ab6c3a08df603e3c9ca3150a9fc':
  Update comments
2013-08-20 14:22:34 -07:00
Matthew Xie
ec850cd6c6 Merge "Update comments" into klp-dev 2013-08-20 21:18:30 +00:00
Sandeep Siddhartha
f4d922b2d9 Add hotword detection in insecure keyguard
- This talks to a service that's implemented by the Search app
- The AIDL interface may be moved to the framework in a later CL

Change-Id: I26553e46f7d17ba4ac7a952c871b28b261cba975
2013-08-20 14:17:02 -07:00
Jason Monk
3a8acf0a5a am b7ac0d02: Merge "Fix ProxyHandler to only run when needed" into klp-dev
* commit 'b7ac0d02d666fb3483b42c291cd3a193d7ca8154':
  Fix ProxyHandler to only run when needed
2013-08-20 14:15:33 -07:00
Jason Monk
b7ac0d02d6 Merge "Fix ProxyHandler to only run when needed" into klp-dev 2013-08-20 21:13:24 +00:00
John Du
b7b7d7a05c Update comments
bug 10152994

Change-Id: I05bbd917ebd0d140e0894f8bf7e43d0fc77378c8
2013-08-20 14:03:28 -07:00
Fabrice Di Meglio
264ec5053f am 841cd860: Merge "Fix bug #10409069 Spinner Drawable is not mirrored in RTL mode" into klp-dev
* commit '841cd8609b10f6683c258bc9afac362198b41ccd':
  Fix bug #10409069 Spinner Drawable is not mirrored in RTL mode
2013-08-20 13:53:22 -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
be88e35d61 am d3092167: Merge "Implemented advanced printer selection and API refactoring." into klp-dev
* commit 'd30921672ca3022107ce63f750b0f35ab224af4b':
  Implemented advanced printer selection and API refactoring.
2013-08-20 13:46:16 -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
74f5c5d37f am 23657458: Merge "Change abortReliableWrite(BluetoothDevice) to abortReliableWrite()" into klp-dev
* commit '2365745855ac4725949ebe9bae72fdc0613bb94f':
  Change abortReliableWrite(BluetoothDevice) to abortReliableWrite()
2013-08-20 12:50:38 -07: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
eeab4fc9e3 am fd952994: Fix build: remove obsolete TODO
* commit 'fd95299415b0d013ee3c8b79e1398cb85cfa684f':
  Fix build: remove obsolete TODO
2013-08-20 12:05:49 -07:00
Tom O'Neill
fd95299415 Fix build: remove obsolete TODO
Change-Id: Ie8ef50450a8c415deba9b71607bec89e72db9227
2013-08-20 11:54:02 -07:00
Maggie Benthall
cd3e6f9907 am 1cd230a5: Merge "Add methods for managing CAs to DevicePolicyManager(Service)" into klp-dev
* commit '1cd230a552bcc4196b546321b670e084e643c8d5':
  Add methods for managing CAs to DevicePolicyManager(Service)
2013-08-20 11:38:37 -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
Tim Murray
816f3058bd am cf8e6778: Merge "Handle updates to C++ API." into klp-dev
* commit 'cf8e6778c28319b6c5357a43831ebf1a41b56e96':
  Handle updates to C++ API.
2013-08-20 11:30:38 -07: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
Chong Zhang
ce063ca19b am ea18a8db: Merge "MediaPlayer: add listener for subtitle data" into klp-dev
* commit 'ea18a8db653a0846187aba6116936b3738fa3f33':
  MediaPlayer: add listener for subtitle data
2013-08-20 11:27:05 -07:00
Chong Zhang
1cb4d42c56 am a3132d97: Merge "MediaPlayer.TrackInfo: add getFormat() method" into klp-dev
* commit 'a3132d975b218b3d973711ebf347da3c433a9afb':
  MediaPlayer.TrackInfo: add getFormat() method
2013-08-20 11:27:02 -07: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
19eefb2033 am f23993fb: Merge "Add the API to set and read the location mode" into klp-dev
* commit 'f23993fb52bd88c8512588c8a2cb0a53fecb2cf2':
  Add the API to set and read the location mode
2013-08-20 11:16:03 -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
Yu Shan Emily Lau
9f9d48ce76 am 74596aaa: Merge "Add the checking for the camcorder profile." into klp-dev
* commit '74596aaa75ee648ca6593e98e94e76aa5a34ba4a':
  Add the checking for the camcorder profile.
2013-08-19 19:39:04 -07: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
d2bb835dd8 am 9f78d309: Merge "AudioSystem: new audioflinger restart detection" into klp-dev
* commit '9f78d309dc99668d5b06ca18af8b854be44cedfc':
  AudioSystem: new audioflinger restart detection
2013-08-19 18:36:28 -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
7515809107 am 743218d7: Merge "Display signal strength on data-only SIMs." into klp-dev
* commit '743218d7a121c02b0648f167e360518266e38419':
  Display signal strength on data-only SIMs.
2013-08-19 18:20:16 -07:00