186967 Commits

Author SHA1 Message Date
Dianne Hackborn
d59a5d59df Various fixes and improvements...
Issue #19912529: VI: VoiceInteractor callback ClassCastException

Fix to use correct argument.

Issue #19912636: VI: Documentation for VoiceInteractionSession.onBackPressed

Added documentation.

Issue #19912703: VI: VoiceInteractionSession NPE on Abort Request

Maybe fix this -- don't crash if there is no active session.

Issue #19953731: VI: Add value index to...
...android.app.VoiceInteractor.PickOptionRequest.Option

There is now an optional index integer that can be associated with
every Option object.

Issue #19912635: VI: Behavior of startActivity when in voice...
...interaction is unexpected

We now forcibly finish the current voice interaction task whenever
another activity takes focus from it.

Issue #20066569: Add API to request heap dumps

New ActivityManager API to set the pss limit to generate heap
dumps.

Also added app ops for assist receiving structure and screenshot
data, so that we can track when it does these things.

Change-Id: I688d4ff8f0bd0b8b9e3390a32375b4bb7875c1a1
2015-04-04 17:36:05 -07:00
Quddus Chong
cef55cde1c am b3c310b6: am ba386b55: am f2c2be78: am d9e2c05d: am 0c3b894c: am 91070dc4: Merge "docs: Added training docs for UI testing frameworks (Espresso, UI Automator)." into lmp-docs
* commit 'b3c310b60dfab11b9b8d41b00ae06a82090f3d14':
  docs: Added training docs for UI testing frameworks (Espresso, UI Automator).
2015-04-03 21:49:43 +00:00
Quddus Chong
b3c310b60d am ba386b55: am f2c2be78: am d9e2c05d: am 0c3b894c: am 91070dc4: Merge "docs: Added training docs for UI testing frameworks (Espresso, UI Automator)." into lmp-docs
* commit 'ba386b55d6c5a8e19023e93bc281d282951371a7':
  docs: Added training docs for UI testing frameworks (Espresso, UI Automator).
2015-04-03 21:39:58 +00:00
Quddus Chong
ba386b55d6 am f2c2be78: am d9e2c05d: am 0c3b894c: am 91070dc4: Merge "docs: Added training docs for UI testing frameworks (Espresso, UI Automator)." into lmp-docs
* commit 'f2c2be78ba26793c05dab7c77c84566265bb6668':
  docs: Added training docs for UI testing frameworks (Espresso, UI Automator).
2015-04-03 21:29:44 +00:00
Joe LaPenna
7c167023ed am 97a73606: am e59f4260: am 1f956e42: Merge "Make burn in protection updates happen on the minute." into lmp-mr1-modular-dev
* commit '97a7360660dc6473286a12d72eecff277e6182e1':
  Make burn in protection updates happen on the minute.
2015-04-03 21:29:09 +00:00
Andrew Lee
73576b22bc Merge "Protect against null ITelephony to fix crash." 2015-04-03 21:24:07 +00:00
Nancy Chen
8bd4f7b3d1 Merge "Include the source package in the voicemail URI." 2015-04-03 21:23:38 +00:00
Quddus Chong
f2c2be78ba am d9e2c05d: am 0c3b894c: am 91070dc4: Merge "docs: Added training docs for UI testing frameworks (Espresso, UI Automator)." into lmp-docs
* commit 'd9e2c05dbf6c6f418b08a8465f1ed8f051015b41':
  docs: Added training docs for UI testing frameworks (Espresso, UI Automator).
2015-04-03 21:19:15 +00:00
Joe LaPenna
97a7360660 am e59f4260: am 1f956e42: Merge "Make burn in protection updates happen on the minute." into lmp-mr1-modular-dev
* commit 'e59f426050f693b62bb5471fca5fb8b7ea2af8ea':
  Make burn in protection updates happen on the minute.
2015-04-03 21:13:30 +00:00
Andrew Lee
896a1e650c Protect against null ITelephony to fix crash.
Bug: 20066803
Change-Id: I4336e979dab3a4b1b3d53078af572ff3f822377a
2015-04-03 14:09:29 -07:00
Quddus Chong
d9e2c05dbf am 0c3b894c: am 91070dc4: Merge "docs: Added training docs for UI testing frameworks (Espresso, UI Automator)." into lmp-docs
* commit '0c3b894c2c18b226f58af98569f21bcb4a593b14':
  docs: Added training docs for UI testing frameworks (Espresso, UI Automator).
2015-04-03 21:08:49 +00:00
Ben Kwa
c8adb235b9 Merge "Enable directory selection. Add an IntentService to copy files." 2015-04-03 21:06:30 +00:00
Ye Wen
1dbed5170e Merge "Return pending intent to service caller if MmsService can't be connected" 2015-04-03 21:03:53 +00:00
Joe LaPenna
e59f426050 am 1f956e42: Merge "Make burn in protection updates happen on the minute." into lmp-mr1-modular-dev
* commit '1f956e424320b22255f293e9b6d7d0b30b19a79f':
  Make burn in protection updates happen on the minute.
2015-04-03 21:03:33 +00:00
Chris Craik
523735d8cc Merge "Delete pre-glop path" 2015-04-03 21:02:14 +00:00
Elliott Hughes
dda35c37ea am 66d94512: am dbb5f5d6: am efcbaec1: Merge "Only Windows doesn\'t have %zd."
* commit '66d9451273c4a3775b6b63a0e4b7027bd2eae65d':
  Only Windows doesn't have %zd.
2015-04-03 20:58:25 +00:00
Quddus Chong
0c3b894c2c am 91070dc4: Merge "docs: Added training docs for UI testing frameworks (Espresso, UI Automator)." into lmp-docs
* commit '91070dc419b9b60843094ecc02f95b38c784208a':
  docs: Added training docs for UI testing frameworks (Espresso, UI Automator).
2015-04-03 20:57:44 +00:00
Joe LaPenna
1f956e4243 Merge "Make burn in protection updates happen on the minute." into lmp-mr1-modular-dev 2015-04-03 20:55:01 +00:00
Elliott Hughes
66d9451273 am dbb5f5d6: am efcbaec1: Merge "Only Windows doesn\'t have %zd."
* commit 'dbb5f5d6c4186e919fa51c019d56ea5fa8ff8b96':
  Only Windows doesn't have %zd.
2015-04-03 20:49:38 +00:00
Ben Kwa
d99109fca8 Enable directory selection. Add an IntentService to copy files.
Change-Id: I0bec0224aa1b52766664c23f77d60affec702111
2015-04-03 13:49:24 -07:00
Quddus Chong
91070dc419 Merge "docs: Added training docs for UI testing frameworks (Espresso, UI Automator)." into lmp-docs 2015-04-03 20:47:46 +00:00
Elliott Hughes
dbb5f5d6c4 am efcbaec1: Merge "Only Windows doesn\'t have %zd."
* commit 'efcbaec14135c42f81e2a8f645584cf7cf542a02':
  Only Windows doesn't have %zd.
2015-04-03 20:40:52 +00:00
Ye Wen
61c8d238c2 Return pending intent to service caller if MmsService can't be connected
If MmsService can not be connected, broker throws a runtime exception
which does not return to service caller via PendingIntent. MMS app would
wait forever for the return of sent/downloaded PendingIntent. This
change makes sure PendingIntent is always returned so MMS app can be
unblocked.

b/19732709

Change-Id: I694a0fc29bb431b48c7077e7a323844709ae695f
2015-04-03 13:37:42 -07:00
Alex Klyubin
b7f9aca713 am ba88b692: am e2e5b88e: am 64b0062a: Merge "Load fewer classes when AndroidKeyStore provider is installed."
* commit 'ba88b692f1a489de308dcf5b5420a23166a94487':
  Load fewer classes when AndroidKeyStore provider is installed.
2015-04-03 20:33:29 +00:00
Amith Yamasani
85757fceb7 Turn off a debug flag
Change-Id: I5d7edc2838341754dd092410e6e21787a3454834
2015-04-03 13:31:18 -07:00
Amith Yamasani
092f038d50 Merge "Throttle jobs for idle apps" 2015-04-03 20:26:43 +00:00
Alex Klyubin
ba88b692f1 am e2e5b88e: am 64b0062a: Merge "Load fewer classes when AndroidKeyStore provider is installed."
* commit 'e2e5b88e3ad2d18cde31f55a750e76d3d1b25185':
  Load fewer classes when AndroidKeyStore provider is installed.
2015-04-03 20:21:52 +00:00
Amith Yamasani
b0ff32245c Throttle jobs for idle apps
First pass at delaying jobs from apps that are idle.

TODO: Throttle syncs
TODO: Provide a periodic point at which apps are checked for idleness.

Apps that switch to foreground process state are tracked by UsageStats
as an INTERACTION event that affects the last-used timestamp.

JobScheduler's logic for when an app is ready is trumped by the idleness
of the app, and only if the battery is not charging. When charging state
changes, we update the idle state of all the tracked jobs.

android package is whitelisted.

Bug: 20066058
Change-Id: I0a0acb517b100a5c7b11e3f435f4141375f3451f
2015-04-03 13:20:19 -07:00
Elliott Hughes
efcbaec141 Merge "Only Windows doesn't have %zd." 2015-04-03 20:16:24 +00:00
Alex Klyubin
e2e5b88e3a am 64b0062a: Merge "Load fewer classes when AndroidKeyStore provider is installed."
* commit '64b0062a373102f83837faade20b469685758139':
  Load fewer classes when AndroidKeyStore provider is installed.
2015-04-03 20:10:36 +00:00
ztenghui
df62ab4833 Merge "Add group scaling factor into stroke width." 2015-04-03 20:09:02 +00:00
John Spurlock
689dd8fb5b Merge "Zen: Changes to support new priority settings." 2015-04-03 20:07:56 +00:00
John Spurlock
33350cf90c Merge "Volume: Port safety warning over to new dialog." 2015-04-03 20:07:31 +00:00
Chris Craik
828407356d Delete pre-glop path
bug:19014311

Change-Id: I06376b6f625455892d8eafe2727b78025a64c4bf
2015-04-03 13:01:18 -07:00
Alex Klyubin
dbcec13d64 resolved conflicts for merge of b068f162 to master
Change-Id: I5bc234e1da047880d3437a861ff93474a9797e18
2015-04-03 13:01:09 -07:00
Elliott Hughes
b12f2410c7 Only Windows doesn't have %zd.
Change-Id: I0e4b0fdc61641c5ecb724fd096bd2315dcf8ed4a
2015-04-03 12:56:45 -07:00
Chad Brubaker
ecf2b4f550 am 54d583c1: am e797eb2e: am 377885e1: Merge "Mark all test keys as no auth required"
* commit '54d583c148fd14034afc751ad70ab772de55eb92':
  Mark all test keys as no auth required
2015-04-03 19:55:38 +00:00
Alex Klyubin
7c9e4be67a am c869ac1b: am ec029e55: am b292e49b: Merge "Obtain SPI without using Reflection."
* commit 'c869ac1b7d163282ffdebf4ce9b32c479766f52d':
  Obtain SPI without using Reflection.
2015-04-03 19:55:22 +00:00
John Spurlock
fc746f8ac5 Zen: Changes to support new priority settings.
Bug: 20064962
Change-Id: Iac3444c0a55830d5e5459e26c2172d974db600d6
2015-04-03 15:55:13 -04:00
Alex Klyubin
64b0062a37 Merge "Load fewer classes when AndroidKeyStore provider is installed." 2015-04-03 19:47:17 +00:00
Adam Lesinski
f100252f66 Merge "AAPT2 statically link libz on Windows builds" 2015-04-03 19:45:45 +00:00
Alex Klyubin
6def5afcbc Load fewer classes when AndroidKeyStore provider is installed.
This avoids loading all AndroidKeyStore crypto SPI classes when the
AndroidKeyStore provider is instantiated and installed. This provider
is installed early on during the initialization of each app. Most apps
don't need these classes loaded.

Bug: 18088752
Change-Id: Ib43c9dd6a7d434b128916e0f9c8652ba61df0d47
2015-04-03 12:45:16 -07:00
Adam Lesinski
feefeb4f30 AAPT2 statically link libz on Windows builds
Change-Id: I2abf47273173c470c04e00a54aa619fe1ce0e745
2015-04-03 12:44:40 -07:00
Alex Klyubin
b068f162a4 am 376b23e6: am 08963653: Merge "Rename KeymasterException to KeyStoreException."
* commit '376b23e6fdda35cc6fa61ea9a3c10d109fe2d601':
  Rename KeymasterException to KeyStoreException.
2015-04-03 19:43:43 +00:00
Chad Brubaker
54d583c148 am e797eb2e: am 377885e1: Merge "Mark all test keys as no auth required"
* commit 'e797eb2eea885f086465e47efc464adcd0d7acea':
  Mark all test keys as no auth required
2015-04-03 19:43:38 +00:00
Alex Klyubin
c869ac1b7d am ec029e55: am b292e49b: Merge "Obtain SPI without using Reflection."
* commit 'ec029e551641982294d9b346b741c84d2510d670':
  Obtain SPI without using Reflection.
2015-04-03 19:43:33 +00:00
Adam Lesinski
fd2b4674ec Merge "Fix windows build of AAPT2" 2015-04-03 19:33:53 +00:00
Fabrice Di Meglio
96bba82ac4 Merge "Add private flag PRIVATE_FLAG_HAS_DOMAIN_URLS to ApplicationInfo" 2015-04-03 19:33:41 +00:00
Alex Klyubin
376b23e6fd am 08963653: Merge "Rename KeymasterException to KeyStoreException."
* commit '08963653fc9434d2f50d3c8e64c757138efd102e':
  Rename KeymasterException to KeyStoreException.
2015-04-03 19:33:27 +00:00
Chad Brubaker
e797eb2eea am 377885e1: Merge "Mark all test keys as no auth required"
* commit '377885e1e6a4efc727060cca241fea29114315d5':
  Mark all test keys as no auth required
2015-04-03 19:33:21 +00:00