182368 Commits

Author SHA1 Message Date
Geoff Mendal
b144b73b28 Import translations. DO NOT MERGE
Change-Id: I93795f27d5f3a2152730e6c2399e30727936f6a3
Auto-generated-cl: translation import
2015-02-16 06:57:31 -08:00
Piotr Jastrzebski
cc34625cb7 am 07aaff33: am 58524b2a: am e7e92381: Merge "Register DDM handlers at the beginning of main method."
* commit '07aaff33ef0e61dfbb15188c5aae0624dc9524a9':
  Register DDM handlers at the beginning of main method.
2015-02-16 13:06:08 +00:00
Piotr Jastrzebski
07aaff33ef am 58524b2a: am e7e92381: Merge "Register DDM handlers at the beginning of main method."
* commit '58524b2aa620ae1ea709ae48b8b8598548cc7202':
  Register DDM handlers at the beginning of main method.
2015-02-16 12:59:37 +00:00
Piotr Jastrzebski
58524b2aa6 am e7e92381: Merge "Register DDM handlers at the beginning of main method."
* commit 'e7e923818096a8a046ad183e932454428218c867':
  Register DDM handlers at the beginning of main method.
2015-02-16 12:52:59 +00:00
Piotr Jastrzebski
e7e9238180 Merge "Register DDM handlers at the beginning of main method." 2015-02-16 12:47:08 +00:00
Robin Lee
f6901eb9e2 Merge "Device Policy API to choose a private key silently" 2015-02-16 10:47:51 +00:00
Wale Ogunwale
421d6ad191 Merge "Adjust activity display metrics based on stack configuration." 2015-02-15 20:20:08 +00:00
Jeff Sharkey
9f64d5c6c4 Reference lint rule numbers, more rules.
When reporting lint errors/warnings, reference the relevant
underlying rule.  Also adds a few more lint rules, and removes a few
aggressive checks.

Change-Id: I1bdadf5fd4df9cd28bb7dfe1c7bb1f9055398315
2015-02-14 17:06:06 -08:00
Yohei Yukawa
8f3b76cb0c am 83c804be: Merge "Prevent duplicated registration of OnComputeInternalInsetsListener" automerge: efd9abb
automerge: 32acf75

* commit '32acf753e8989766f67fd5300d3eb467f707cc79':
  Prevent duplicated registration of OnComputeInternalInsetsListener
2015-02-14 15:21:50 +00:00
Yohei Yukawa
32acf753e8 am 83c804be: Merge "Prevent duplicated registration of OnComputeInternalInsetsListener" automerge: efd9abb
* commit '83c804be9c1f33ff4bafbfd60218751a00c7d2b9':
  Prevent duplicated registration of OnComputeInternalInsetsListener
2015-02-14 15:17:17 +00:00
Yohei Yukawa
83c804be9c Merge "Prevent duplicated registration of OnComputeInternalInsetsListener"
automerge: efd9abb

* commit 'efd9abb7dfd8d5015e73ab52b4f9b7854df4b02c':
  Prevent duplicated registration of OnComputeInternalInsetsListener
2015-02-14 15:11:37 +00:00
Yohei Yukawa
efd9abb7df Merge "Prevent duplicated registration of OnComputeInternalInsetsListener" 2015-02-14 15:08:07 +00:00
Wale Ogunwale
7c72668f19 Adjust activity display metrics based on stack configuration.
Apps normally use context.getResources().getDisplayMetrics()
or getWindowManager().getDefaultDisplay() to get information
about the screen dimensions. Not all the screen space is available
for apps in a multi-window environment, so we limit the dimensions
of the display object exposed to the app to that of the containing
stack.

Bug: 19225079
Bug: 19354838
Change-Id: I8dc3a6c9b99ecedcca28fc4ddaba9f31feb4f871
2015-02-13 21:12:47 -08:00
Filip Gruszczynski
e9f7536cc4 am f1df1970: am 88a9a2a4: Merge "Support for faster brightness response to light changes." into lmp-mr1-modular-dev
* commit 'f1df1970db523f60d6ac7850fba93ae98a46163b':
  Support for faster brightness response to light changes.
2015-02-14 02:36:05 +00:00
Filip Gruszczynski
f1df1970db am 88a9a2a4: Merge "Support for faster brightness response to light changes." into lmp-mr1-modular-dev
* commit '88a9a2a46eb77ea340175f5d272433f4de1b6f93':
  Support for faster brightness response to light changes.
2015-02-14 02:27:19 +00:00
Filip Gruszczynski
88a9a2a46e Merge "Support for faster brightness response to light changes." into lmp-mr1-modular-dev 2015-02-14 02:21:42 +00:00
Alan Viverette
91d415d863 Clear focus from previously focused view in EBT helper
Change-Id: I1bd70e345fb7e8a2a1a621c20912b8325a3cd142
2015-02-13 17:23:05 -08:00
Alan Viverette
44219ef3d1 Remove tab dividers
Bug: 19370157
Change-Id: Id8b5c461dd9e9cfbe6feca33d5bcd2184c5e51ba
2015-02-13 15:18:24 -08:00
Alan Viverette
2c193dad82 Merge "Implement latest Material focus states spec" 2015-02-13 23:07:29 +00:00
Alan Viverette
3c7dd22e28 Implement latest Material focus states spec
- Remove some dependencies on legacy styles
- Add resources for highlight alphas
- Update tab indicator text and background
- Update list selector and activated background
- Update text highlight color to use themed CSL

Bug: 19370157
Change-Id: I873cb4c509ceeb1e8d48d8af30030c3842f6034a
2015-02-13 15:01:19 -08:00
Eric Laurent
7139fdc001 Merge "AudioService: persist volume of ring stream when ringer mode changed" 2015-02-13 22:38:22 +00:00
Alan Viverette
93dcc45e3c Merge "Add attribute for controlling ripple radius" 2015-02-13 20:53:13 +00:00
Dianne Hackborn
682c8e509b Merge "Update voice interaction layer for new UI design." 2015-02-13 20:16:04 +00:00
Dianne Hackborn
ae6688b096 Update voice interaction layer for new UI design.
Can switch from a pure overlay at the top of the screen,
to interactive mode with the voice UI drawing at the bottom
and pushing its target activity up like an IME.

Add mechanism to get assist data to the voice interaction UI.

Add some basic visualization of the assist data, outlining
where on the screen we have text.

Add a test ACTION_ASSIST handler, which can propagate the
assist data it gets to the voice interaction session so
you can see what kind of data we are getting from different
apps.

Change-Id: I18312fe1601d7926d1fb96a817638d60f6263771
2015-02-13 11:27:57 -08:00
Alan Viverette
88d44d4ada Add attribute for controlling ripple radius
Sets up the action bar item and control styles to use a 20dp radius
ripple to match latest Material spec.

Bug: 19370157
Change-Id: I87cba01076ee83937a6bfd36fc7dc188e1eb4672
2015-02-13 11:11:12 -08:00
Chet Haase
50dd4c1c59 Merge "Add ClipReveal window transition for application launch" 2015-02-13 19:02:15 +00:00
Chet Haase
10e23ab61b Add ClipReveal window transition for application launch
Issue #19362772 Better material launch animations

Change-Id: Ic94fde910b6b5554ee954dfbbf374949f9eb189d
2015-02-13 11:00:55 -08:00
Alan Viverette
ff8dbfea75 Merge "Add missing accessor to CompoundDrawable, clean up javadoc" 2015-02-13 18:51:44 +00:00
John Spurlock
45cc62a33e Merge "NLS: Add a public signal value for an undefined filter value." 2015-02-13 18:35:50 +00:00
Raph Levien
8ff773a3c8 Merge "Fix EditText RenderNode invalidation bugs" 2015-02-13 18:06:14 +00:00
Filip Gruszczynski
d81ecd12ce Support for faster brightness response to light changes.
Bug: 18572096

Change-Id: Ic9448db672b036779d16883f3476249cea45d97a
2015-02-13 09:40:15 -08:00
Fyodor Kupolov
bc26d2eafd Merge "RegisteredServicesCache now saves files to a user-specific dir" 2015-02-13 17:05:11 +00:00
John Spurlock
b25334ca3c Merge "Allow sysui-managed remote volume controllers." 2015-02-13 14:50:50 +00:00
John Spurlock
8310410365 NLS: Add a public signal value for an undefined filter value.
We have three possible defined values for getInterruptionFilter().
i.e. All/Priority/None.

However, this value is only returned to listeners once connected,
otherwise we return 0, an undefined value.

This change gives a name to this undefined value to make it clear
that callers should not infer any meaning from it.

INTERRUPTION_FILTER_UNKNOWN = 0;

Bug: 19288429
Change-Id: I8ae94d1723289ca5714800906f9bf4e7e8111813
2015-02-13 09:27:15 -05:00
Piotr Jastrzebski
da74a628f5 Register DDM handlers at the beginning of main method.
Compiler initializes RuntimeInit during compilation and stores an
initialized version of the class in oat file. Same thing happens to
DdmServer which handles DDM packets in JDWP thread started during JVM
creation. This means that after the creation of JVM all
DDM packets are handled by DdmServer.dispatch and since it's already
initialized during compilation it has all framework related handlers
already registered. If a packet arrives before AndroidRuntime.startReg
is called then framework native methods are not yet registered and the
processing of the packet fails with UnsatisfiedLinkError.

To fix this problem the registration of framework related DDM handlers
is moved to the beginning of ZygoteInit.main and RuntimeInit.main. This
means that the handlers won't be registered until main method is called
and that's guaranteed to be after AndroidRuntime.startReg is called. It
also guarantees that DDM packets will be properly handled as soon as
Java code is executed.

Bug: 18081539.
Change-Id: I9c674f53f3f62d58c46886e0b60698182e08f0c3
2015-02-13 13:32:25 +00:00
Narayan Kamath
d6d468ed9b Merge "Remove code that sets user.* system properties." 2015-02-13 12:33:52 +00:00
Narayan Kamath
4e9343f559 am a511eea8: (-s ours) am aee7f64c: am b4a5c04c: Merge "Remove code that sets user.* system properties."
* commit 'a511eea83b0209729e4b42e219f233f818a6d9e7':
  Remove code that sets user.* system properties.
2015-02-13 12:19:13 +00:00
Narayan Kamath
a511eea83b am aee7f64c: am b4a5c04c: Merge "Remove code that sets user.* system properties."
* commit 'aee7f64c10ffd2135dc98f7a540836ad7a32438b':
  Remove code that sets user.* system properties.
2015-02-13 12:09:31 +00:00
Narayan Kamath
aee7f64c10 am b4a5c04c: Merge "Remove code that sets user.* system properties."
* commit 'b4a5c04c305a04a876728397dec7cc809e26b823':
  Remove code that sets user.* system properties.
2015-02-13 12:04:36 +00:00
Narayan Kamath
5bb57e8543 Remove code that sets user.* system properties.
This has been disallowed by the SELinux for several years now,
so can safely be removed. Given that saveLocaleLocked is
simplified quite a bit, we can now inline into its only caller.

bug: 18910417

(cherry picked from commit 70e8f6600de8a2b9cbb17cd919b14a4609fc68bd)

Change-Id: Ib2888ea22ffca6f4b402efd5780f89c924cd1570
2015-02-13 12:01:46 +00:00
Narayan Kamath
b4a5c04c30 Merge "Remove code that sets user.* system properties." 2015-02-13 11:57:39 +00:00
Narayan Kamath
70e8f6600d Remove code that sets user.* system properties.
This has been disallowed by the SELinux for several years now,
so can safely be removed. Given that saveLocaleLocked is
simplified quite a bit, we can now inline into its only caller.

bug: 18910417

Change-Id: I18251f77e4a25a0e7ecda8e85a9b3fcdc2dc7b05
2015-02-13 11:57:08 +00:00
Narayan Kamath
f129af204c Merge "Move apache specific portions of android.net.http to external/apache-http." 2015-02-13 09:51:44 +00:00
Svetoslav
0a3dd9c9e0 am 04057e5d: am 5136791b: am 599c1042: Accessibility: Ensure fresh accessilbity focused and input focused nodes. automerge: 27ad2e9
* commit '04057e5d14030ef54c522b2372019cf2858083e9':
  Accessibility: Ensure fresh accessilbity focused and input focused nodes.
2015-02-13 03:57:05 +00:00
Svetoslav
04057e5d14 am 5136791b: am 599c1042: Accessibility: Ensure fresh accessilbity focused and input focused nodes. automerge: 27ad2e9
* commit '5136791b3429d1964b9202fb7caad52719408a61':
  Accessibility: Ensure fresh accessilbity focused and input focused nodes.
2015-02-13 03:49:40 +00:00
John Spurlock
cdb57aeb0e Allow sysui-managed remote volume controllers.
- Relax restriction on audio service calls that assume the volume
  ui is systemui, allow calls from a blessed component app.
- Blessed component app service saved in secure settings.
- SystemUI mediates requests to replace the volume dialog, prompts
  the user on activation.
- Show a low pri ongoing notification when the volume dialog is
  being replaced, to allow user restoration at any time.
- Replace the controller management code in VolumeUI to use a
  ServiceMonitor, backed by the new blessed app component setting.
- Add proper zen-related noman client wrappers, make avail to the
  registered volume controller.
- Everything is still @hidden, no api impact.

Bug: 19260237
Change-Id: Ie1383f57659090318a7eda737fdad5b8f88737d4
2015-02-12 22:48:37 -05:00
Svetoslav
5136791b34 am 599c1042: Accessibility: Ensure fresh accessilbity focused and input focused nodes. automerge: 27ad2e9
* commit '599c1042896564906935bc688bbb85515a6dfa45':
  Accessibility: Ensure fresh accessilbity focused and input focused nodes.
2015-02-13 03:43:29 +00:00
Svetoslav
599c104289 Accessibility: Ensure fresh accessilbity focused and input focused nodes.
automerge: 27ad2e9

* commit '27ad2e95b40fd0ca76de384695498ea114d627ca':
  Accessibility: Ensure fresh accessilbity focused and input focused nodes.
2015-02-13 03:37:00 +00:00
Jeff Brown
c2ac80c57f am f80fa0b5: am 6c477a29: am ec403e8f: Merge "Call startInput on return from sleep mode"
* commit 'f80fa0b5d9b5567731dc19b4b5fc73816c131910':
  Call startInput on return from sleep mode
2015-02-13 02:17:56 +00:00
Jeff Brown
f80fa0b5d9 am 6c477a29: am ec403e8f: Merge "Call startInput on return from sleep mode"
* commit '6c477a29bfc604f6dbf90e0d4ac5c99bc0ed2ff7':
  Call startInput on return from sleep mode
2015-02-13 02:11:43 +00:00