Commit Graph

246497 Commits

Author SHA1 Message Date
Kevin Hufnagle
75951d7c86 docs: Fixed whitespace in documents referencing "Application"
element.

Several files associated with a future CL contain extra whitespace.
I've made a separate CL here to avoid inflating the "changed lines"
count within this future CL.

Change-Id: Ie8199abd2a61b77d0fb349435983050e0e06afc7
Abandoned-Change-Id: I92f75ba0ef08e10210434f824fd99caee3703b5e
2016-04-19 11:50:23 -07:00
Amith Yamasani
4244978621 Throw better exception when startVoiceActivity fails
Introduced new error codes so that Instrumentation can
include the correct message in the exception.

Bug: 28216630
Change-Id: I93ee77153cdad11fa208c74c28c6790db27c9753
2016-04-19 11:45:51 -07:00
Fyodor Kupolov
0d88d54c34 Call defuse even when restrictions bundle is empty
Bug: 28259217
Change-Id: I3e9ba60ee80d1fedef4844d264b312418c287be4
2016-04-19 11:37:22 -07:00
Seigo Nonaka
3de469a687 Merge "Delete emojis before and after ZWJ at the same time." into nyc-dev
am: 7ecd767

* commit '7ecd7671b75b2ae7c4d20928722b4a1d41bd62ff':
  Delete emojis before and after ZWJ at the same time.

Change-Id: Icd274fe183f211a5488169852f90c8ad23be6b6c
2016-04-19 18:36:11 +00:00
Raph Levien
7ecd7671b7 Merge "Delete emojis before and after ZWJ at the same time." into nyc-dev 2016-04-19 18:31:05 +00:00
Joe Onorato
d2bc2ba778 Add the wall clock time to dumpsys cpuinfo so it's easier to correlate with the logs.
Bug: 28113068
Change-Id: Ifa90192b0aa3f57ba6928f38199beb5b56bca7e6
2016-04-19 11:27:11 -07:00
Joe Onorato
1dbff801ae Add an event log for when the memfactor changes.
Bug: 28113068
Change-Id: I84902d5f7f811fd49fa85ff4847cf21b258b62c0
2016-04-19 11:27:10 -07:00
Joe Onorato
bee44ae8e5 Consolidate the HealthStats UI to only use milliseconds.
BatteryStats uses a mix of microseconds and milliseconds, and keeping
which one is which straight is difficult.  The internal bookkeeping
is left using us where it already does, for the extra precision. But
having the API be mixed will only make it harder for developers, and
lead them to make the same mistake that I did in the API where I
missed some conversions.

Bug: 28197858
Change-Id: I99114bae259b9bdd47ce5c22e724d87bbd63336d
2016-04-19 11:27:05 -07:00
Jason Monk
1fb3bde51b Merge "Increase contrast on edit button" into nyc-dev
am: 5cb0226

* commit '5cb0226e4c07f2ce151921d71141d82fd5ebb17a':
  Increase contrast on edit button

Change-Id: Ia004cd7853409c0883ec2248febe37c9e9f9c5bb
2016-04-19 18:25:34 +00:00
Jason Monk
5cb0226e4c Merge "Increase contrast on edit button" into nyc-dev 2016-04-19 18:19:31 +00:00
Dianne Hackborn
876ce78267 Merge "Work on issue #28221912: Starting service as foreground might..." into nyc-dev
am: 9c211a3

* commit '9c211a339689a2e54da3315ccdbf22add472c76a':
  Work on issue #28221912: Starting service as foreground might...

Change-Id: Id0001c009bd4fc70d0aa34647171763aa0990d08
2016-04-19 18:18:38 +00:00
Dianne Hackborn
2dda9c5adb Merge "Fix issue #28250286: Missing equals!" into nyc-dev
am: e896090

* commit 'e896090caf761afd8c443bcf4732e38e43b4baa9':
  Fix issue #28250286: Missing equals!

Change-Id: I8fed60bec2321500cb96c8d7936722899706688c
2016-04-19 18:18:36 +00:00
Jason Monk
aa2702feca Increase contrast on edit button
Change-Id: I2d7eefabe9becc93e83aa6d245c42797ee966543
Fixes: 28180748
2016-04-19 14:17:01 -04:00
Dianne Hackborn
9c211a3396 Merge "Work on issue #28221912: Starting service as foreground might..." into nyc-dev 2016-04-19 18:10:28 +00:00
Dianne Hackborn
e896090caf Merge "Fix issue #28250286: Missing equals!" into nyc-dev 2016-04-19 18:10:14 +00:00
Jeff Sharkey
65bf577579 Merge "Ignore user serial numbers in core-only mode." into nyc-dev
am: adfa806

* commit 'adfa806cfbd6ad51fe3ec8c4cea808ebd2967038':
  Ignore user serial numbers in core-only mode.

Change-Id: I461d11b28027773b080c6e996faf540f22c67204
2016-04-19 18:04:30 +00:00
Jeff Sharkey
adfa806cfb Merge "Ignore user serial numbers in core-only mode." into nyc-dev 2016-04-19 17:58:24 +00:00
Winson
0a461f0111 Ensure that the drag view is not dimmed.
- When picking up a task view to dock it, we should animate remove the
  dim on the task view so that when you drop it, there is no jump from
  the dimmed version to non-dimmed app.

Bug: 27154882
Change-Id: Ifa1493227593dd950e49650b69f178cef82bc82e
2016-04-19 10:51:12 -07:00
Pavel Zhamaitsiak
d42b900e30 Merge "Add wrappers for IConnectivityMetricsLogger functions" into nyc-dev
am: 6e08a62

* commit '6e08a629c4ed61c4cb1132576422189e03bda965':
  Add wrappers for IConnectivityMetricsLogger functions

Change-Id: I4815116617614b2090bbeeb876ff65294e1ed8cc
2016-04-19 17:50:42 +00:00
Bo Liu
52375d730b Merge "Expose DisplayListCanvas.drawGLFunctor to webview" into nyc-dev
am: 57b615c

* commit '57b615c3fd3f920523b2dd34041cf1e135f5c172':
  Expose DisplayListCanvas.drawGLFunctor to webview

Change-Id: I830405c78ee848334d8b1be6f13be5449d80de81
2016-04-19 17:44:18 +00:00
Pavel Zhamaitsiak
6e08a629c4 Merge "Add wrappers for IConnectivityMetricsLogger functions" into nyc-dev 2016-04-19 17:41:42 +00:00
Winson
863828763a Disallowing scrim activity from setting TaskDescription.
Bug: 28248314
Change-Id: Ifa2ed84a0a772ed3636ec4a8b94a165aebeb7049
2016-04-19 10:41:40 -07:00
Jeff Sharkey
214bea1b59 Ignore user serial numbers in core-only mode.
When booting in core-only mode, our data partition is a tmpfs which
doesn't support xattrs, so we can't set/enforce user serial numbers.

Bug: 28254840
Change-Id: Id83c551c7c603a4cd5043e06f7161441b2dfaa8b
2016-04-19 11:39:44 -06:00
Bo Liu
57b615c3fd Merge "Expose DisplayListCanvas.drawGLFunctor to webview" into nyc-dev 2016-04-19 17:39:17 +00:00
Jakub Pawlowski
c0e8ff323e OobData documentation
Bug: 27385555
Change-Id: Ie290914e4d2b9378c6dff3ae14d96d6f8b13ab9d
2016-04-19 17:36:12 +00:00
Samuel Tan
da3b2b7fd7 Merge "StateMachine: reset LogRecords.mOldestIndex in LogRecords.setSize" into nyc-dev
am: e749cd3

* commit 'e749cd3b15bb14e6dc4ff2724ec1ed56ba269b4c':
  StateMachine: reset LogRecords.mOldestIndex in LogRecords.setSize

Change-Id: I994e596e3d85daf89ac1ebb81a1856e57c22f2bc
2016-04-19 17:35:11 +00:00
Samuel Tan
e749cd3b15 Merge "StateMachine: reset LogRecords.mOldestIndex in LogRecords.setSize" into nyc-dev 2016-04-19 17:25:33 +00:00
Jeff Sharkey
25b3756110 Merge "Unlock should always wait for pending PRE_BOOT." into nyc-dev
am: 89fa73f

* commit '89fa73fd7abe0f87634d2914163a8fc79ba2f738':
  Unlock should always wait for pending PRE_BOOT.

Change-Id: I67f594584458beb08dc6fc9e61174759d2c143b5
2016-04-19 17:16:31 +00:00
Jeff Sharkey
ea54db6b48 Merge "Disable "defusable" logging for now." into nyc-dev
am: d3a25ad

* commit 'd3a25ad4b98d717673cb3a81ae1344ff90107d8c':
  Disable "defusable" logging for now.

Change-Id: I921c3f383a00ac8e8b5b1568b855420a8e191bf8
2016-04-19 17:16:29 +00:00
Steve McKay
1e92215278 Merge "Handle null uris in content changed events." into nyc-dev
am: 00c9815

* commit '00c9815d942265719de92a19e243c1c970929210':
  Handle null uris in content changed events.

Change-Id: Ic249a09d6cdbc04acab19e2b64a12f59faeff51f
2016-04-19 17:16:27 +00:00
Jeff Sharkey
89fa73fd7a Merge "Unlock should always wait for pending PRE_BOOT." into nyc-dev 2016-04-19 17:11:20 +00:00
Jeff Sharkey
d3a25ad4b9 Merge "Disable "defusable" logging for now." into nyc-dev 2016-04-19 17:10:56 +00:00
Steve McKay
00c9815d94 Merge "Handle null uris in content changed events." into nyc-dev 2016-04-19 17:10:25 +00:00
Eric Laurent
0991b3a620 Merge "AudioSystem: allow platforms no audio ports" into nyc-dev
am: 0b724f8

* commit '0b724f8770dffcda935d6ec5ea50fb93fb7b8891':
  AudioSystem: allow platforms no audio ports

Change-Id: Ic157385bfad7826e96562a7c2647c1dca26c0548
2016-04-19 17:09:53 +00:00
Siyamed Sinir
5ce80a03e7 Merge "Request re-layout after setText if layout width is 0" into nyc-dev
am: d01e6f9

* commit 'd01e6f90832e7b7d55218836aae227452080f9b8':
  Request re-layout after setText if layout width is 0

Change-Id: Ia2ad9975ecbc3ebf2b468f515fcbf82a9bc4bb2d
2016-04-19 17:09:52 +00:00
Eric Laurent
0b724f8770 Merge "AudioSystem: allow platforms no audio ports" into nyc-dev 2016-04-19 17:05:01 +00:00
Selim Cinek
f5b74b079c Fixed a rebase gone wrong with pageindicator
am: 20e84c7

* commit '20e84c750f7ef783344f9890764906e20b0df822':
  Fixed a rebase gone wrong with pageindicator

Change-Id: I08bfc4b3c0cb3a8159645c7ff6d017daa8db6c9e
2016-04-19 17:03:23 +00:00
Siyamed Sinir
d01e6f9083 Merge "Request re-layout after setText if layout width is 0" into nyc-dev 2016-04-19 17:00:15 +00:00
Selim Cinek
20e84c750f Fixed a rebase gone wrong with pageindicator
The return statement was lost.

Change-Id: Ica403337bf9dce2c0b1c2447a0aa4359f991ac0d
Fixes: 27927374
2016-04-19 16:52:59 +00:00
Felipe Leme
65a9c6760e Show "Android System" instead of "Shell" on notifications.
BUG: 26517701
Change-Id: If2543b8db0fdd913365df6f69cf26146d32d4b15
2016-04-19 09:49:18 -07:00
Alan Viverette
788504faf0 Merge "Use adjusted popup window position when calculating best-fit" into nyc-dev
am: 0529197

* commit '0529197e9df8837ac63b011937391ff29426e6b5':
  Use adjusted popup window position when calculating best-fit

Change-Id: Ib6688f23f3bf86519fcada8c274c2e2462e8d201
2016-04-19 16:47:16 +00:00
Alan Viverette
fbde0d8d85 Merge "Call OnTimeChangedListener on AM/PM change in clock-style TimePicker" into nyc-dev
am: a98cc8b

* commit 'a98cc8beb9af5678320b6fae8507dbe2da2c74dc':
  Call OnTimeChangedListener on AM/PM change in clock-style TimePicker

Change-Id: I04bc4a5acdc74a0a85e43002979b14cea55055f0
2016-04-19 16:47:15 +00:00
Alan Viverette
0529197e9d Merge "Use adjusted popup window position when calculating best-fit" into nyc-dev 2016-04-19 16:39:15 +00:00
Alan Viverette
a98cc8beb9 Merge "Call OnTimeChangedListener on AM/PM change in clock-style TimePicker" into nyc-dev 2016-04-19 16:39:09 +00:00
Jason Monk
a5964c4f58 Merge "Fix QS edit overanimating" into nyc-dev
am: 90a225d

* commit '90a225d46d5f674b144fb3942623797b0b537871':
  Fix QS edit overanimating

Change-Id: I43d3d7d0010fe0eaf4b7d76b7cc0537ef28f9441
2016-04-19 16:28:28 +00:00
Mihai Nita
43af6366f2 Framework: change the TTS text to use the current locale
Google TTS currently does not support language auto-switching.
Also, not all languages are available in TTS at all times.
This means that TTS cannot properly handle text in other languages / scripts
than the current language.
Languages with different scripts would not be read at all, and the others
would be read with "bad pronunciation", to the point of being unrecognizable.

This change is not a full fix, but makes things slightly better by using
the default locale for the contentDescription in the language / region lists.

This might be a bit unsettling, as the label will not match the sound.
The label will show "Deutsch" or "Русский" and text-to-speech will say "German"
or "Russian" (for English UI), or "Allemand" or "Russe" (if the UI is French).
Might also say nothing, if the current UI language has no text-to-speech engine.

But this is the best we can do, and better that what we get if we do nothing.

Bug: 28087937
Change-Id: I7390a063708647e022be29161c2f2bedc19896ae
2016-04-19 09:26:23 -07:00
Andrii Kulian
2bf9a05f08 Merge "Recreate activity with correct configuration" into nyc-dev
am: 5ac2da0

* commit '5ac2da04c1321e8620fc85afae7a168c01ce218b':
  Recreate activity with correct configuration

Change-Id: Ice3b3f64ef882ded3583cd7767741696e520c23b
2016-04-19 16:22:03 +00:00
Jason Monk
90a225d46d Merge "Fix QS edit overanimating" into nyc-dev 2016-04-19 16:20:48 +00:00
Andrii Kulian
5ac2da04c1 Merge "Recreate activity with correct configuration" into nyc-dev 2016-04-19 16:19:05 +00:00
Jason Monk
c72c8e35c8 Fix QS edit overanimating
Tell it when to animate, that way it can't animate too much.

Change-Id: I0acdd780e76a4a0b0d5ed5e2805c44dc59306fc1
Fixes: 27315295
2016-04-19 12:07:15 -04:00