9848 Commits

Author SHA1 Message Date
Adam Powell
cfd6e9dfd0 Merge "Add alternate intents and refinement callbacks to ChooserActivity" into mnc-dev 2015-05-06 21:09:20 +00:00
John Spurlock
401943053f Volume a11y: Rename introduction 'confirm' button to 'close'.
For the benefit of screen readers.

Bug: 20813824
Change-Id: I776cf75d3c0f2e2d5b67bcbad476a28f9ef37c5f
2015-05-06 16:53:21 -04:00
Seigo Nonaka
06bdf9c6a6 Merge "Always show auxiliary subtypes from NavBar keyboard icon." into mnc-dev 2015-05-06 20:31:19 +00:00
Seigo Nonaka
80ff4ed6bb Always show auxiliary subtypes from NavBar keyboard icon.
The auxiliary subtypes should be listed if the input method picker is
opened from NavBar keyboard icon.  However there is only
IMM#showInputMethodPicker() API to open input method picker and this is
also used from LockScreen or Settings UI.  Auxiliary subtypes should not
be listed there(Id7cf5d122).  Thus framework shows auxiliary subtypes
based on IMMS#mInputShown and LockScreen state, but it is not a perfect
solution.  If a physical keyboard is connected, the soft input may be
gone.  As the result, auxiliary subtypes won't be listed even if it is
opened from NavBar keyboard icon.

To fix this issue, this CL introduces IMM#showInputMethodPicker(boolean)
to be able to decide showing auxiliary subtypes by caller.
Note that IMM#showInputMethodPicker(boolean) is still hidden with @hide.
There is no public API change in this CL.

Bug: 20763994

Change-Id: I1e50ee42838a1bf64a612da4904aa93458d44ea4
2015-05-06 20:29:05 +00:00
Adam Powell
2ed547e55f Add alternate intents and refinement callbacks to ChooserActivity
Allow a calling app to supply an array of additional Intents to the
system ChooserActivity.

The chooser will present a merged list of targets that can handle any
of the Intents supplied, including both the standard EXTRA_INTENT as
well as any of the intents supplied in EXTRA_ALTERNATE_INTENTS. These are
treated as ordered; EXTRA_INTENT is considered the first/primary
Intent and EXTRA_ALTERNATE_INTENTS are sorted most important first.

Targets are queried for all supplied Intents. If the same component is
returned for more than one Intent, the target is associated with the
most important Intent that matched.

This allows calling apps to supply several different payloads for an
action depending on what the intended targets are able to support. For
example, an app performing ACTION_SEND may supply image/jpeg data to
compatible targets or a hosted web link to targets that only support
text/plain. The user will have the opportunity to pick from a single
merged list of choices using the best available payload, and will not
be bothered with the implementation details of how the payload will be
delivered to the recipient.

If the calling app wishes to provide further disambiguation or
refinement after the user makes a choice, for example to let the user
choose which of the source intents to send from the primary or
alternates, show a progress dialog as a full-resolution version of a
photo is downloaded from the server before being sent along or while
reticulating splines, the caller can supply an IntentSender to
ACTION_CHOOSER including the extra EXTRA_REFINEMENT_INTENT_SENDER.
This should be the IntentSender obtained from a PendingIntent pointing
at an activity to launch to perform the refinement.

The refinement activity should report that it is finished by obtaining
the ResultReceiver from EXTRA_RESULT_RECEIVER. Available intents to
send to the selected target will be contained in EXTRA_INTENT and
EXTRA_ALTERNATE_INTENTS.

To complete the refinement and send the result along to the chosen
target, the refinement activity should select one of the supplied
intents and send it to the ResultReceiver in a Bundle with the key
EXTRA_INTENT and the result code RESULT_OK. To cancel the refinement,
and let the user select another choice, send RESULT_CANCEL.

While refinement activities cannot modify the filterEquals-affecting
fields of the Intent they return, they may modify extras to provide
additional or altered details to the final recipient. These extras
will be filled into the Intent sent to the final target.

Change-Id: I7ad4739eadd1a0e307675847ccf47ea948918a3a
2015-05-06 13:23:36 -07:00
Chris Wren
9260cb7ffe Merge "count panel open method" into mnc-dev 2015-05-06 18:34:47 +00:00
Chris Wren
49f06f5f0d count panel open method
open panel
  open with two fingers
  open via peek
  pull down to open QS
  tap to open QS

Bug: 20262922
Change-Id: I7eaa8a6de75867035c64a3ac939cec86daaab913
2015-05-06 12:57:55 -04:00
Selim Cinek
6da881ba7d Merge "Fixed a measuring bug when the panel was collapsed" into mnc-dev 2015-05-05 23:55:00 +00:00
Selim Cinek
1e139e8684 Merge "Enforcing the touchslop now when flinging open before intercepting" into mnc-dev 2015-05-05 23:54:22 +00:00
Selim Cinek
1690ec8e72 Merge "Fixed a bug where the notifications would jump when going to the full shade" into mnc-dev 2015-05-05 23:54:04 +00:00
Selim Cinek
6329bbceeb Merge "The voice assist may now be launched above the lockscreen" into mnc-dev 2015-05-05 23:52:35 +00:00
Selim Cinek
81e36fe7c2 Fixed a measuring bug when the panel was collapsed
This lead to the dismissView and other views being measured with
height 0 and therefore harm performance and animations.

Bug: 20665047
Change-Id: I985c40948994b409cea5ac7c34a711ce243c62f1
2015-05-05 14:53:09 -07:00
Selim Cinek
173f2d0fad Enforcing the touchslop now when flinging open before intercepting
This could lead to clicks on notifications not being recognized when opening.
Bug: 19228079
Change-Id: I02c856dd885c8e9bb228a5b20e975e27dba60d12
2015-05-05 14:53:09 -07:00
Selim Cinek
8d5727f6e9 Fixed a bug where the notifications would jump when going to the full shade
Change-Id: I811f3cd543f0e69d06bfe692435c579b7844173e
2015-05-05 14:53:08 -07:00
Selim Cinek
e70d653523 The voice assist may now be launched above the lockscreen
A possibility was introduced to launch voice assist over
the lockscreen using the left keyguard affordance.

Change-Id: Ic4618d24256b65441a50d77d0ef59b0ec99b6ead
2015-05-05 14:52:52 -07:00
Chris Craik
356b177709 Merge "Cleanup properties" into mnc-dev 2015-05-05 21:30:08 +00:00
Pavel Zhamaitsiak
b2e3b74418 Merge "WiFi Calling: Show different operator name string in Data usage dialog." into mnc-dev 2015-05-05 21:05:49 +00:00
Adrian Roos
2b0eaffc62 Merge "Hide lockscreen contents from a11y while bouncer is showing" into mnc-dev 2015-05-05 21:05:36 +00:00
Pavel Zhamaitsiak
5504d39b7f WiFi Calling: Show different operator name string in Data usage dialog.
Bug: 19950657
Change-Id: I9999d58e78154ed2d6d824973c40011875de15ef
(cherry picked from lmp-mr1-wfc-dev)
2015-05-05 13:59:28 -07:00
John Spurlock
d5304020b2 Merge "Volume A11y: Prevent auto-dismiss when feedback enabled." into mnc-dev 2015-05-05 20:43:54 +00:00
John Spurlock
5adeabc61d Volume A11y: Prevent auto-dismiss when feedback enabled.
- Prevent the volume dialog from timing out when feedback is enabled.
 - Use the a11y events as an additional user activity signal.
 - Add content descriptions for the dialog icon buttons.

Bug: 20172022
Change-Id: Id5cd29d9cee27fded2fc8a029913cfcc2b68c152
2015-05-05 14:53:13 -04:00
Chris Craik
2507c34d91 Cleanup properties
bug:19967854

Separate properties from Caches, into static, RenderThread-only class.

Also rewrites the means for java to set properties to correctly handle
threading, and adds an override for profile bars so that SysUi doesn't clutter
the screen with them.

Change-Id: I6e21a96065f52b9ecc49d1a126244804ba106fa9
2015-05-05 10:36:09 -07:00
Prerepa Viswanadham
d1808401ca Merge changes from topic 'mwd-merge-050415' into mnc-dev
* changes:
  Merge commit 'b6f59f4' into master_merge
  Merge commit 'f6db0ce' into master_merge
  Merge commit '17455a3' into master_merge
  Merge commit 'b4d5b32' into master_merge
  Merge commit 'a1a2fa7' into master_merge
  Merge commit '8dfdb98' into master_merge
  Merge commit 'eba66c3' into master_merge
2015-05-05 01:06:38 +00:00
Chris Wren
42d5dd4690 eliminate notification clicker garbage.
Bug: 9739772
Change-Id: If05079cb0f956e03f26c7780c318452f73c3e849
2015-05-04 17:03:48 -04:00
Andrew Flynn
ae499d19eb Merge "SystemUI Carrier Network Change unit tests" into mnc-dev 2015-05-04 14:43:20 +00:00
Andrew Flynn
5e75147806 SystemUI Carrier Network Change unit tests
- Includes unit tests for verifying mobile data indicators.
- Found one bug where dark mode icon wasn't showing properly when
  different from light mode icon.
- Comment out failing test
  NetworkControllerSignalTest#testSetCurrentSubscriptions

Bug: 20288155
Change-Id: Ib3c9ba224c4187cab35d6bfa68f6bd4c489cf98e
2015-05-04 10:25:09 -04:00
Geoff Mendal
3f2f2cbbd6 Import translations. DO NOT MERGE
Change-Id: I1ece3421339dabd55a0c586e9ffd961cf7e3de56
Auto-generated-cl: translation import
2015-05-04 07:11:09 -05:00
Lorenzo Colitti
0fdf7eee67 Merge "Add a status bar icon for Ethernet." into mnc-dev 2015-05-04 01:01:51 +00:00
Geoff Mendal
480798d878 Import translations. DO NOT MERGE
Change-Id: I982c3b51da747b06c157c947ca441dc641acb5d5
Auto-generated-cl: translation import
2015-05-01 23:16:15 -05:00
Lorenzo Colitti
d46bb58fa6 Add a status bar icon for Ethernet.
Bug: 20613953
Change-Id: I52970b4f5fb6429876d1a2eb195a834c9e020021
2015-05-02 10:43:31 +09:00
Mady Mellor
aaf32f69d6 Provide a way for a stylus to access the quick settings menu
You can access quick settings with a 2 finger drag, this change allows a
stylus to access quick settings using press either stylus button + drag.

Bug: 19916487
Change-Id: I3887f12980fc1be3d5a966ad8cc67abe93545a2a
2015-05-01 17:06:50 -07:00
Jorim Jaggi
0629a5d524 Merge "Rename supportsAssistGesture to supportsAssist" into mnc-dev 2015-05-01 20:34:22 +00:00
Jorim Jaggi
5f560d0562 Rename supportsAssistGesture to supportsAssist
Bug: 20642759
Change-Id: Idddc786980244cc94570d04fd414540bbad60448
2015-05-01 13:33:38 -07:00
Chris Wren
b1ad8e9ea0 Merge changes from topic 'tron' into mnc-dev
* changes:
  remove unused edge border dimension.
  log clear all button
2015-05-01 18:46:42 +00:00
Benjamin Franz
a7cba44a22 Merge "Improve Accessibility behaviour in recents" into mnc-dev 2015-05-01 17:56:18 +00:00
Chris Wren
9c4ba332e9 remove unused edge border dimension.
Change-Id: I9f763aa130b76179d98288601f023038f086756b
2015-05-01 11:09:39 -04:00
Chris Wren
9763d42c7b log clear all button
Bug: 20089768
Change-Id: I96d64c387b6085025df76c4aaf7ff9d7bdf51799
2015-05-01 11:09:26 -04:00
John Spurlock
1694c4ed65 am 7ea13e85: am e08e3940: am 24ea865f: Merge "Volume l10n: Increase charlimits on zen submode strings." into mnc-dev
* commit '7ea13e85b3e6b40992a919c40f6cf52569124679':
  Volume l10n: Increase charlimits on zen submode strings.
2015-04-30 19:13:14 +00:00
John Spurlock
e08e39402c am 24ea865f: Merge "Volume l10n: Increase charlimits on zen submode strings." into mnc-dev
* commit '24ea865f0fd3b1ceafb3786bbed20ea345bc5cc0':
  Volume l10n: Increase charlimits on zen submode strings.
2015-04-30 18:40:20 +00:00
John Spurlock
24ea865f0f Merge "Volume l10n: Increase charlimits on zen submode strings." into mnc-dev 2015-04-30 18:31:59 +00:00
John Spurlock
f6ed7249cf Volume l10n: Increase charlimits on zen submode strings.
Bug: 20713756
Change-Id: Ib8f65997bfbd2c5a042bc02ff13ef9d5c8f90ecb
2015-04-30 14:29:33 -04:00
Robin Lee
644ff2f9d0 am ef25597a: SystemUI strings: prospective VPN strings for apps
* commit 'ef25597acfb15b1f4f501fbdcbafd1b6fa8cc9c6':
  SystemUI strings: prospective VPN strings for apps
2015-04-30 17:51:12 +00:00
Robin Lee
ef25597acf SystemUI strings: prospective VPN strings for apps
Bug: 20516964
Change-Id: Ifaeb388896145fd71ff9aa9fab6e2b04af807631
(cherry picked from commit 63539bd5fac53d90adff35df340562a1926d610e)
2015-04-30 17:38:29 +00:00
Robin Lee
7279af5969 Merge "SystemUI strings: prospective VPN strings for apps" 2015-04-30 17:38:16 +00:00
Robin Lee
63539bd5fa SystemUI strings: prospective VPN strings for apps
Bug: 20516964
Change-Id: Ifaeb388896145fd71ff9aa9fab6e2b04af807631
2015-04-30 18:37:15 +01:00
Benjamin Franz
b7a42fda31 Improve Accessibility behaviour in recents
Currently accessibility services use the activity label that is also
displayed in recents, which can be very confusing as it does not
represent necessarily represent the app that the recent item is
running. To improve this we use a combination of the application label
and the activity label. The application label is also badged to
distinguish between different users.

Bug: 19688800
Change-Id: Ibead6c87767649aa11cf2fe086924a4b69bf187c
2015-04-30 17:40:26 +01:00
Jeff Sharkey
15cbbd5e4b am 21a30889: am 1df4dca2: am 9e98dce6: Merge "Returning to wizard, split move events." into mnc-dev
* commit '21a30889485020bf885ca20e209ed85c6e7d4ea5':
  Returning to wizard, split move events.
2015-04-30 01:21:08 +00:00
Jeff Sharkey
1df4dca298 am 9e98dce6: Merge "Returning to wizard, split move events." into mnc-dev
* commit '9e98dce6ad7b4dd1ec4beda8a9af4ecd4efcf027':
  Returning to wizard, split move events.
2015-04-30 00:48:10 +00:00
Jeff Sharkey
50a0545479 Returning to wizard, split move events.
Finish wiring up notifications to jump back into in-progress wizard
flow, using moveId as identifier.

Split move events back into separate creation and progress events,
and pass details as bundle to pass extra stuff like UUID.  Null
package still means moving primary storage.

Add explicit "volume forgotten" event for PackageManager to clean
up internal state with.

Plumb through internal path reported by vold, and bring back FUSE
bypass rewriting optimization.

Bug: 19993667
Change-Id: I0f43edbba36c58c5cd33550022c54c4eb9f01a48
2015-04-29 17:24:12 -07:00
John Spurlock
f26b6e46b0 am acaac2be: am 914967ab: am b351db72: Merge "Volume: dismiss volume UI to avoid HUNs." into mnc-dev
* commit 'acaac2be628266d0ac7fee158517bac17f10e85a':
  Volume: dismiss volume UI to avoid HUNs.
2015-04-29 23:39:41 +00:00