Commit Graph

41752 Commits

Author SHA1 Message Date
Dianne Hackborn
bf507a0cba am 68f35ec2: am dbec91c0: Implement issue #16330060: Inform ActivityManager about WebView...
* commit '68f35ec2d2f9950f57afa9900f16a3b29a8d55b0':
  Implement issue #16330060: Inform ActivityManager about WebView...
2014-07-17 18:22:17 +00:00
Sandeep Siddhartha
a25b93b226 am bb80d295: am aecd5383: Add recognition modes to the enrollment metadata
* commit 'bb80d295092220d204a74cca1d7d1c0fde93757b':
  Add recognition modes to the enrollment metadata
2014-07-17 18:22:07 +00:00
Alan Viverette
238673f33a am 4366255e: am bbbbb3b2: Add public attributes for TimePicker styling
* commit '4366255e3764c7e2db2221b58c9b438ac8fdc84d':
  Add public attributes for TimePicker styling
2014-07-17 18:21:59 +00:00
Sandeep Siddhartha
177f0fd208 am a2440a17: am 43bc655b: Add code for isKeyphraseActive and some logging to help debug issues
* commit 'a2440a17e796d04ceb3470783d28f6080ee9c7dc':
  Add code for isKeyphraseActive and some logging to help debug issues
2014-07-17 18:21:44 +00:00
Lorenzo Colitti
e1524a4896 am 84641420: am 1098531c: Disable logging in NetlinkTracker.
* commit '84641420220d2d11e7baa7ae6061d78f31d97c98':
  Disable logging in NetlinkTracker.
2014-07-17 18:21:31 +00:00
Chris Craik
b7f22787ef am 3e95764e: am b63869a6: Merge "Add accessibility text contrast setting" into lmp-dev
* commit '3e95764e68ea93918d455b8b2c08d9ff02dc36f8':
  Add accessibility text contrast setting
2014-07-17 18:21:26 +00:00
Vinit Deshpande
b42cf4ea56 am ff5ceb0d: am 0b4d73dd: Merge "Introduce RTT Manager" into lmp-dev
* commit 'ff5ceb0d89c549682b498522f052d61c776bff03':
  Introduce RTT Manager
2014-07-17 18:20:48 +00:00
Jeff Davidson
d66291503a am 62152268: Merge "Expose network scoring APIs to /system apps." into lmp-dev
* commit '62152268d51b8b7726a806e48750a810e23eab40':
  Expose network scoring APIs to /system apps.
2014-07-17 18:20:22 +00:00
Brian Colonna
1e97b542d9 am 6f6fcecb: Bug 16152902: Disabling FUL in keyguard and screen lock settings
* commit '6f6fcecb4e13e5cbfb836b66e49001e34bd0c10c':
  Bug 16152902: Disabling FUL in keyguard and screen lock settings
2014-07-17 18:17:55 +00:00
Fabrice Di Meglio
fcc5aaf486 am 6bbea8cf: Fix LocalePicker background
* commit '6bbea8cf4252839d0c6f2a3152f506a7b2b2d753':
  Fix LocalePicker background
2014-07-17 18:15:08 +00:00
Alan Viverette
6bf5ae966f am 8e97a200: Fix software dirty region, don\'t add insets to software windows
* commit '8e97a200ecf1985dcf2fd3a004b53e59640b3374':
  Fix software dirty region, don't add insets to software windows
2014-07-17 18:14:28 +00:00
Yigit Boyar
2c6cdd9500 am d8607b40: Merge "Change Animators to reset values when restarted if their target changes" into lmp-dev
* commit 'd8607b40b57332619f3be66ffa5250394acbc5f7':
  Change Animators to reset values when restarted if their target changes
2014-07-17 18:14:23 +00:00
John Reck
52d2b2df9d am c1d32f0c: Merge "Fix root RenderNode damage calculation" into lmp-dev
* commit 'c1d32f0c5c5832a3bbf923a92d62b2e434dfe70b':
  Fix root RenderNode damage calculation
2014-07-17 18:14:18 +00:00
Sailesh Nepal
909d1b5755 resolved conflicts for merge of 03e88771 to master
Change-Id: If55838968d008043f85a3cda1a2e0f76f357aec3
2014-07-17 11:05:42 -07:00
Christopher Tate
e2ba7a37fc am c92b1dd5: Merge "Always call finishBackup() if performFullBackup() succeeded" into lmp-dev
* commit 'c92b1dd5f3e06a7e43f4086b2db418a8334aa7d2':
  Always call finishBackup() if performFullBackup() succeeded
2014-07-17 16:45:23 +00:00
Fabrice Di Meglio
79b834078e am fd6eeda0: Fix bug #16309454 Broken recent button after dismissing set time dialog
* commit 'fd6eeda0f7f578735a9b2b6a36fb1f130993f488':
  Fix bug #16309454 Broken recent button after dismissing set time dialog
2014-07-17 16:45:01 +00:00
Jeff Davidson
46b6f2a8f4 am 8f406122: Remove obsolete remark from XXHDPI comment.
* commit '8f4061221469cde3d92b6f7dede5c8b10df1edc0':
  Remove obsolete remark from XXHDPI comment.
2014-07-17 16:44:56 +00:00
Barnaby James
48f3552093 Add intents for setting airplane and zen mode by voice only.
Change-Id: I28a262da86eb102d1bd12265f96db0efec5db203
2014-07-17 07:24:09 -07:00
ztenghui
3f55ce84ff am 7fdb6e06: am 6f5df881: Merge "Add more reverse support to AnimatedVD" into lmp-dev
* commit '7fdb6e0658855bb0a3ffe78c05bf509aa73aa1d7':
  Add more reverse support to AnimatedVD
2014-07-17 14:12:58 +00:00
ztenghui
ab36c677ba am 6f5df881: Merge "Add more reverse support to AnimatedVD" into lmp-dev
* commit '6f5df88108b7fb6b9a59ac36f448bd23b5397ef1':
  Add more reverse support to AnimatedVD
2014-07-17 14:02:46 +00:00
Dianne Hackborn
fee756ff91 Implement issue #16330060: Inform ActivityManager about WebView...
...state changes.

Add a new API to tell the activity manager about a new dependency
one process has on another package.  Start using it already for
when apps is Context.createPackageContext() to load code from another
app.

Also do some work on getting the monitoring of proc/uid states
in shape so it can be used by unundled code, along with an
AppImportanceMonitor class for doing so.

Some small fixes and additions to VoiceInteractionService.

Improve handling of unaccounted/overcounted battery use so that
they aren't shown to the user unless they are significant.

Change-Id: I22dd79a73f4e70103d3f8964494aebc8a31f971c
2014-07-16 22:50:31 -07:00
Sandeep Siddhartha
e6cd2476aa Add recognition modes to the enrollment metadata
This will be used by the Voice interaction service to determine what type of recognition may be run
on the DSP. e.g. If the DSP supports voice trigger only for the given keyphrase,
the voice interaction service may want to perform user identification at its end.

Also support keyphrase metadata for all keyphrases and locales.
In case the enrollment app supports open-ended keyphrases, it can leave the keyphrase text
to be empty
similarly, if the enrollment app supports all locales, it can leave the supported locales
attribute to be empty,

Change-Id: I782a17a877fc79ed569fa7c3a81697641182590b
2014-07-16 22:03:03 -07:00
Alan Viverette
5134478151 Add public attributes for TimePicker styling
BUG: 11218747
Change-Id: Ifdf981280ebe20a9066f219c9a4505d0d7486b2e
2014-07-17 04:36:11 +00:00
Sandeep Siddhartha
a433af6b73 Add code for isKeyphraseActive and some logging to help debug issues
Change-Id: I89f2090be5a5fe5f7c0da1648a0d46a093893fe2
2014-07-16 19:52:32 -07:00
Lorenzo Colitti
20ceb90373 Disable logging in NetlinkTracker.
This logging can get quite spammy in GoogleGuest, and there's
currently no reason to think it's necessary. Much of the same
information is available via "adb shell ndc monitor".

Bug: 16328180
Change-Id: I15a8348e261d6b69a4ef8bdaf8a2a431b1c2bc0d
2014-07-17 01:43:39 +00:00
Niels Egberts
6c472fe969 TtsSpan builders for each TtsSpan type.
The reason for separate classes for each type, instead of a more flat
structure is to enable easy discovery of the available arguments that
can be set. For L we'll have about 12 types with 30 arguments and
almost all of the arguments are type specific. In future releases
we'll introduce more arguments. With editors that have code completion
one can construct a span without having to consult the documentation.

For now it only contains Text and Cardinal types.

Change-Id: I94531e600133d9f4f59a4170cceef1ee7a360ca7
2014-07-17 12:19:42 +01:00
Brian Colonna
a0ee004abf Bug 16152902: Disabling FUL in keyguard and screen lock settings
This is the framework change needed to switch from Face Unlock as
a standard unlock mechanism to Face Unlock as a trustlet.  This
forces isBiometricWeakInstalled() to return false such that neither
keyguard nor Screen Lock Settings thinks it exists.  This means FUL
is no longer a screen lock option.

If Face Unlock was already enabled and someone updates to this build,
the screen lock automatically switches to the backup lock.  That
functionality was already built-in so everything would continue to
work if Face Unlock decided to disappear from someone's device.

Change-Id: I407f6e1d75bfe40c7142c2508c2d68867e02d858
2014-07-16 23:53:21 +00:00
Fabrice Di Meglio
4c23cb1aca Fix LocalePicker background
- use the background defined by the Theme

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I30f1146fbcb57088a62c999dce349d1f85510427
2014-07-16 23:44:15 +00:00
Jeff Davidson
58fba8b14b Merge "Expose network scoring APIs to /system apps." into lmp-dev 2014-07-16 23:37:00 +00:00
Jeff Davidson
7be8e9725f Expose network scoring APIs to /system apps.
Ideally, we'd only expose the methods that we intend unbundled apps to
call (e.g. not NetworkScoreManager#setActiveScorer, which should only
be called by Settings), but this isn't harmful in terms of permissions
as the APIs still check security appropriately.

Bug: 15833200
Change-Id: I2047515b41c8be0cf7cb51dd495fe72309c05f68
2014-07-16 17:24:46 -07:00
Vinit Deshpande
7686c061b7 Introduce RTT Manager
Change-Id: Ic9a16d587897b272f85cdb2b8c52b51bca060d18
2014-07-17 00:45:20 +00:00
Alan Viverette
a51cab9288 Fix software dirty region, don't add insets to software windows
BUG: 16324957
Change-Id: Ia99619b7c314fbfce60a5ef8ac16b54680332899
2014-07-16 22:16:36 +00:00
Chris Craik
889fc94ffa Merge "Add accessibility text contrast setting" into lmp-dev 2014-07-16 21:54:23 +00:00
Chris Craik
cce47eb580 Add accessibility text contrast setting
b/14624452

Adds a feature which draws all text (in the HW accelerated standard
path) in a high contrast mode. Text is drawn at full alpha, and either
white or black (depending on its original color) with a starkly
contrasted outline beneath it.

Change-Id: I943f624b6367de35367cced3b2a8298f2bc62377
2014-07-16 18:25:23 -07:00
Sailesh Nepal
001bbbb239 TTY: frameworks/base changes
This CL makes the following changes:
  1. New public APIs:
    - TelecommManager.getCurrentTtyMode: This is used to
      get current TTY mode. It's used by Telephony to set
      the phone state before calls are created (which is why
      it can't be a Conneciton API).
    - TelecommConstants.TTY_MODE_*: These are constants
      copied from Phone.java
    - TelecommConstants.ACTION_CURRENT_TTY_MODE_CHANGED: This
      action is fired when the current TTY mode changes.
      Apps can listen to this before and during a call.
      The old version of this was in TtyIntent.java which
      I deleted.

  2. New private API
    - TelecommManager.isTtySupported: This is used by
      Telephony to hide the TTY settings on devices
      that don't support TTY

  3. Various updates to use the constants renamed in this CL

Change-Id: I652b095af30cc2732a06829dc23492e5355660da
2014-07-16 21:14:58 +00:00
Fabrice Di Meglio
278387fb5f Fix bug #16309454 Broken recent button after dismissing set time dialog
- correct set and use the Canceled state

Change-Id: Id60ae14c493254193ee677b66388a64a49618273
2014-07-16 20:13:45 +00:00
Jeff Davidson
61a5a3f2c3 Remove obsolete remark from XXHDPI comment.
XXHDPI screens now make up 15% of all Android devices, so developers
should be encouraged to include assets at this density.

Change-Id: I9d845769233a71dd954b5f35246aabb774a1c40d
2014-07-16 13:10:18 -07:00
Narayan Kamath
2b3b2bc80f am baba92bd: Merge "Dexopt for Context.createPackageContext when code is included." into lmp-dev
* commit 'baba92bd1da887db7c3e834fe7d2a7081936aecf':
  Dexopt for Context.createPackageContext when code is included.
2014-07-16 19:16:40 +00:00
Yorke Lee
938a9ffd3d am af195ca0: Merge "Make ContactPreferences use SharedPreferences instead of System settings (1/5)" into lmp-dev
* commit 'af195ca07b7bf7452b140d7dfa226942bd947c47':
  Make ContactPreferences use SharedPreferences instead of System settings (1/5)
2014-07-16 19:07:37 +00:00
Narayan Kamath
fe0ebdddc1 am 093eaa8d: Temporary workaround for getApplicationInfo + multiArch.
* commit '093eaa8d7ac1dd8f84c07852f2566d8e129177f5':
  Temporary workaround for getApplicationInfo + multiArch.
2014-07-16 18:05:58 +00:00
Narayan Kamath
514fcafacd am 4adbb78f: Merge "Adjust nativeLibraryDir for package contexts of multiArch installs." into lmp-dev
* commit '4adbb78fa8330ea635d938af117b47a75512a504':
  Adjust nativeLibraryDir for package contexts of multiArch installs.
2014-07-16 18:05:54 +00:00
Narayan Kamath
caa7119294 Temporary workaround for getApplicationInfo + multiArch.
Google play services client libraries construct native paths
using pm.getApplicationInfo().nativeLibraryDir.

This is a temporary workaround until we've switched all code
over to pm.createPackageContext().getApplicationInfo() or
whatever API we decide on to surface correct multi-arch
lib paths.

bug: 16013931

Change-Id: Ib719cf6f31da9a29b76e942cd2e28bda1f19b264
2014-07-16 17:58:42 +00:00
Jason Monk
8929a5f91b am bc0f6147: Merge "Finalizing lock-to-app UX" into lmp-dev
* commit 'bc0f6147ddc6718a30d12b89d9a39e65c568ef28':
  Finalizing lock-to-app UX
2014-07-16 17:14:35 +00:00
Sandeep Siddhartha
24e119a24b am 8a121f48: Merge "Hook in startRecogniton call" into lmp-dev
* commit '8a121f484b64c7a4434dcad287d93532337e1d75':
  Hook in startRecogniton call
2014-07-16 17:05:04 +00:00
Jeff Sharkey
50bad3121d am 5ddccbd2: Merge "Add code cache directory for apps." into lmp-dev
* commit '5ddccbd263e50c6c2d3b63ea290e0db661a726f5':
  Add code cache directory for apps.
2014-07-16 17:00:30 +00:00
Yigit Boyar
dd223e612c Merge "Change Animators to reset values when restarted if their target changes" into lmp-dev 2014-07-16 16:25:13 +00:00
Yigit Boyar
8619f48fb3 Change Animators to reset values when restarted if their target changes
Bug: 15710503
Change-Id: Ib39bf0e13199978ffb389111c225beb30312c965
2014-07-16 14:39:25 -07:00
Christopher Tate
c295a44336 Merge "Always call finishBackup() if performFullBackup() succeeded" into lmp-dev 2014-07-16 16:25:13 +00:00
Christopher Tate
a176d22110 Always call finishBackup() if performFullBackup() succeeded
Even if we later get an error from sendBackupData() we need to give
the transport its teardown callback.  This simplifies the transport
logic considerably.

Change-Id: Ib8c0e210d4a876ee6b083a4d619dfccc462da4e5
2014-07-16 13:10:58 -07:00
Narayan Kamath
2631fda583 am b6c2cce1: am baba92bd: Merge "Dexopt for Context.createPackageContext when code is included." into lmp-dev
* commit 'b6c2cce1233ce77565a7980752876ec73f10c537':
  Dexopt for Context.createPackageContext when code is included.
2014-07-16 19:21:05 +00:00