Commit Graph

2676 Commits

Author SHA1 Message Date
Abhijith Shastry
f69a5717db Merge "Update canCurrentUserBlockNumbers permissions javadoc." into nyc-dev 2016-03-18 01:13:08 +00:00
Abhijith Shastry
3c8cd6acd7 Update canCurrentUserBlockNumbers permissions javadoc.
BUG: 27719849
Change-Id: I70ca39b572a8ae3349f6e162655e301ad2aaabb0
2016-03-17 17:03:39 -07:00
Seigo Nonaka
d403151f3d Stop layout reset by setting empty locale list.
Do not call Configuration.setLocales(empty LocaleList) if the locale
list is empty since Configuration.setLocales calls setLayoutDirection
which resets the layout to LTR.

Bug: 27411138
Change-Id: I7fa9693cdb7ed90267f074812c26ea50314ad839
2016-03-17 21:18:53 +09:00
Eric Laurent
495defd74f Merge "AudioService: do not persist mic mute and master mute" into nyc-dev 2016-03-16 21:09:31 +00:00
Anna Galusza
bc2849449b Merge "Remove Intent to start screen reader tutorial. Reverts ag/867242. Bug: 27218687" into nyc-dev 2016-03-16 17:07:49 +00:00
Eric Laurent
c02324864f AudioService: do not persist mic mute and master mute
Master mute and mic mute are fully managed by user restrictions so there
is no need to persist their states.

Bug: 27486437
Change-Id: I7e58d1ddf409f6c80af371c7f5a5f305ee996386
2016-03-15 18:21:48 -07:00
Steve McKay
168e464812 Add FLAG_PARTIAL. Partial files can't be copied.
This allows us to exclude in-progress downloads from copy.
Will update Downloads in a followup CL to flag active downloads.

Bug: 27526321
Change-Id: I50d1db5cfb69bc6b47e10cc0f520a51e3d3cb43e
2016-03-15 16:51:23 -07:00
Anna Galusza
00958ac380 Remove Intent to start screen reader tutorial. Reverts ag/867242.
Bug: 27218687

Change-Id: I5709f4393b2f1467757140c306c30aa88dfcc7f4
2016-03-15 18:14:26 +00:00
Tyler Gunn
876dbfb476 Add API support for multi-endpoint.
This CL includes changes required to support multi-endpoint (see the
design doc linked off the bug).

Main changes include:
- support for indicating if a call/connection is "external" to the device.
- support for indicating if an external call can be pulled from the
remote device to the local device.
- API used to initiate a pull of a call external to the current device to
the current device.
- Made the "connection event" API public (was previously @hide); this will
be used to support passing some error events involving pulling calls to
the incall ui.
- Added new InCallService metadata which will be used to determine if an
InCallService wants to be informed of external calls.
- New disconnect causes which will be used to expose the fact that a
multi-endpoint call was answered elsewhere and that a call ended because
it was pulled to another device.
- New call log call types to indicate if calls were answered elsewhere
or pulled to another device.

Bug: 27458894
Change-Id: I423f64ff965b5e50194635a51868c327782db2a1
2016-03-14 23:26:34 +00:00
Aga Wronska
8800f2d314 Merge "Display file names in Media libraries in grid mode" into nyc-dev 2016-03-11 01:23:20 +00:00
Aga Wronska
09c07bdf37 Display file names in Media libraries in grid mode
Bug: 26829518
Change-Id: If9e2f331df0233ef114c4147ffbc16214558b5ce
2016-03-10 15:56:43 -08:00
Steve McKay
6ce903d7b7 Delete downloads activity.
Delete "MANAGE_ROOT" activity.
Add intent filter for "BROWSE_DOWNLOADS".
Open by default on Downloads directory.

Bug: 27563427
Change-Id: I1f85dc17a0bc94b439a272847e4ab3bb347ead23
2016-03-10 11:34:03 -08:00
Makoto Onuki
4362a66dba ShortcutManaegr: load config from settings, also...
support "cmd override-config" and "cmd reset-config" to help CTS.

Bug 27548047

Change-Id: Id6c9e6f41a2238856dd3470d88d88d0e7e686f26
2016-03-09 15:17:29 -08:00
Tony Mak
41371b5fe0 Merge "Update comment about enterprise contact id and lookup key" into nyc-dev 2016-03-09 10:05:27 +00:00
Abhijith Shastry
e3e686cff8 Document that emergency numbers will not be blocked by the platform.
BUG: 27534486
Change-Id: Idd339ca16e2b754112fc5d0966a7cf76d9990c98
2016-03-08 16:55:01 -08:00
Tony Mak
935dafeed4 Update comment about enterprise contact id and lookup key
Bug: 27146678
Change-Id: I232f96cd9980df6f7a005458d90cd98b990609ee
2016-03-08 14:39:41 +00:00
Chris Wren
be3696d425 Merge "rename the asisstant service for the ranker" into nyc-dev 2016-03-08 14:13:45 +00:00
Daichi Hirono
d517e6aeed Merge "Add a new key to Settings.Global to obtain the number of boot." into nyc-dev 2016-03-08 02:06:39 +00:00
Ruben Brunk
e24b9a6cfa Add a VR listener service.
Bug: 22855417
Bug: 26724891
Bug: 27364145

- Add an API for VrListenerService, which is bound/unbound
  from the framework when the system VR mode changes.
- Allow only a single bound VrListenerService at a time.
- Monitor allowed VrListenerService implementations from
  VrManagerService and evict services as needed when packages,
  users, or settings change.
- Remove previous VR functionality in NotificationListenerService.
- Add component target to Activity#setVrMode to allow
  explicit selection of the running VrListenerService from
  the current VR activity.

Change-Id: I776335f4441be0e793d3126f2d16faf86a8c621a
2016-03-07 15:54:12 -08:00
Chris Wren
e0ba7eb365 rename the asisstant service for the ranker
Bug: 22960980
Change-Id: Ibe57933303a488b01c43a7621a488d425d6f707d
2016-03-07 16:50:27 -05:00
Daichi Hirono
82ab9801eb Add a new key to Settings.Global to obtain the number of boot.
BUG=26212981

Change-Id: I5ca51ca624a30dc2d96e547a85a712e273af1931
2016-03-07 12:45:19 +09:00
Michal Karpinski
bf8f1cc3c0 Merge "Rework of remote bugreports UX" into nyc-dev 2016-03-04 09:52:32 +00:00
Steve McKay
7542f751e3 Make COLUMN_CAPACITY_BYTES public.
So providers can tell us total capacity.

Change-Id: Id990c417fcae4c6beee3e09dcb633b22e875e08f
2016-03-03 13:35:30 -08:00
Steve McKay
eef85e0c02 Merge "Show proper icons for SD and USB attached storage." into nyc-dev 2016-03-03 19:39:18 +00:00
Steve McKay
ba23e54d26 Show proper icons for SD and USB attached storage.
Use USB icon for MTP devices.

Bug: 26883880
Change-Id: I8ce85ffc915a012dca79a5de1cc7c74361776792
2016-03-03 10:58:36 -08:00
Michal Karpinski
ba24409033 Rework of remote bugreports UX
New notifications, that open dialogs.

Bug: 26226230
Change-Id: I50f9ab23b6c6d03892889d9081cabb0a3d858f91
2016-03-03 17:06:14 +00:00
Renat Aksitov
8351ff25a1 Merge "Voice Messaging Intent API." into nyc-dev 2016-03-02 23:47:25 +00:00
Ido Ofir
51e06e011d Merge "checking additional metadata and completed categories before displaying suggested actions in settings." into nyc-dev 2016-03-02 21:30:36 +00:00
Steve McKay
7c4395804e Always show intern storage.
Only show debug root when devel mode is enabled.
Remove all traces of "advanced".

Bug: 27297398

Change-Id: Ie7e8be282531bd245351d56ababa8ca625c10fd2
2016-03-02 10:47:59 -08:00
Ido Ofir
d193c6729f checking additional metadata and completed categories before displaying
suggested actions in settings.

Bug: 27271616
Change-Id: I855bc03337b04c5ff685c102f44dfc0d6638592b
2016-03-02 09:58:59 -08:00
Abhijith Shastry
575a9492bb Updates to BlockedNumberContract from API review.
Javadoc updates are also included.

BUG: 27364137
Change-Id: Id99b5c0fadd2a62a33217b44c7f30dd2f3beb9be
2016-02-29 15:44:05 -08:00
Renat Aksitov
72ddba19a8 Voice Messaging Intent API.
Adding missing items to the "integration with the Contacts Provider" section.

Change-Id: I8ec8bdb356c27fbdb3575bcaf853bb834a8e77d2
2016-02-27 17:59:00 -08:00
Seigo Nonaka
bd5cbdd638 Make system locale persistent.
Configuration values are not persistent.
To make system locale persistent, use Settings.System entry.

During start up, the configuration is filled from Settings.
When the system locale is changed by Settings, the locale list in
configuration is copied to Settings value.

Bug: 26732134
Change-Id: If57e13cc4179ff6299c71b4ab030f9d856748dea
2016-02-25 15:34:23 +09:00
Phil Burk
8dcdaaf11f Merge "Settings: add ENCODED_SURROUND_OUTPUT" into nyc-dev 2016-02-24 23:49:18 +00:00
Phil Burk
deaa8d94fd Settings: add ENCODED_SURROUND_OUTPUT
Support AUTO, ALWAYS or NEVER preference for using AC3 and DTS.

Bug: 24541671
Change-Id: I423969882d18d99ce93bea57d10bdb1da7063b7a
Signed-off-by: Phil Burk <philburk@google.com>
2016-02-24 13:24:54 -08:00
Gustav Sennton
074d630f9e Merge "Add fallback packages to be enabled iff no webview packages are valid" into nyc-dev 2016-02-24 19:00:36 +00:00
Fyodor Kupolov
598255ae02 Merge "Disable switching users until user 0 is unlocked" into nyc-dev 2016-02-24 00:51:11 +00:00
Jeff Sharkey
1ce5c28ba5 Merge "Offer to cache ringtones in system DE storage." into nyc-dev 2016-02-23 20:57:46 +00:00
Jeff Sharkey
413573ac59 Offer to cache ringtones in system DE storage.
Ringtones often live on shared media, which is now encrypted with CE
keys and not available until after the user is unlocked.  To improve
the user experience while locked, cache the default ringtone,
notification sound, and alarm sound in a DE storage area.

Bug: 26730753
Change-Id: Ie6ad7790af4c87dd25759df3ed017e3b91a2fb87
2016-02-23 13:27:00 -07:00
Fyodor Kupolov
07140f7ffd Disable switching users until user 0 is unlocked
Switching with user0 locked can be re-enabled by setting
allow_user_switching_when_system_user_locked flag to a non-zero value

Bug: 26933989
Change-Id: I0958058f1cc8a059db9c20930e07183c14c8460a
2016-02-23 11:58:54 -08:00
Gustav Sennton
c83e3fa35a Add fallback packages to be enabled iff no webview packages are valid
This patch makes it possible to declare a WebView package as a fallback
which means that the package will be enabled iff there exist no other
valid and enabled (and available-by-default) webview packages.

The enabled-state of a fallback package is updated at boot and if a
webview package is changed (it it's been up/downgraded or has had its
enabled-state changed).

This patch also adds 'webviewupdate' shell commands for enabling and
disabling this mechanism.

Bug: 26375524, 26375860
Change-Id: I151915e5d6d932697dab10aeb593687e6b9c817e
2016-02-23 14:17:14 +00:00
Toby Sargeant
cf7518f78a Merge "add @SystemApi to WEBVIEW_MULTIPROCESS to enable it to be used in WebView glue" into nyc-dev 2016-02-23 10:35:09 +00:00
Abhijith Shastry
4478fdc3f2 Rename suppressal to suppression.
BUG: 26989170
Change-Id: Iafa21b885f7df7f5ec5e46f3fad095cf1a531cfc
2016-02-22 16:07:14 -08:00
Tobias Sargeant
adfded1072 add @SystemApi to WEBVIEW_MULTIPROCESS to enable it to be used in WebView glue
Change-Id: Ib6431c4e4c2bcbcfc6f986f97fcf58ad5fa3dbc7
2016-02-22 14:03:20 +00:00
Dianne Hackborn
b2117d15d1 Implement lenient background check option.
Which really means, make background check much more
strict, with an option to revert to the more lenient
behavior.

In this strict version, an app can't have services
started or receive broadcasts at any point when it is
not foreground.  Also, it doesn't matter the importance
of a caller trying to start a service, it only depends
on the state of the app whose service is being started.

A new activity shell command allows you to control
whether to use the strict or lenient behavior.

Change-Id: I7f5a50b52881b5c8f9d8b6c8c622d3652a769fd7
2016-02-19 16:51:25 -08:00
Jason Monk
76c67aa361 Add QS long-press -> Settings
Bug: 27269699
Change-Id: I861cb65dbb6609d9c95d5341f5f5aebc3cc519f3
2016-02-19 16:42:50 -05:00
Jason Monk
ea168d229d Merge changes Ie427a2d8,I213f1f76 into nyc-dev
* changes:
  SysUI Tuner: UI cleanup and grouping
  SysUI Tuner: Night mode v3
2016-02-19 18:50:05 +00:00
Toby Sargeant
a7000fa864 Merge "add developer setting for multiprocess webview" into nyc-dev 2016-02-19 09:14:56 +00:00
Abhijith Shastry
5042001350 Merge "Make BlockSuppressalStatus constructor public so that it can be constructed by the provider." into nyc-dev 2016-02-19 00:21:16 +00:00
Abhijith Shastry
a4e836c174 Make BlockSuppressalStatus constructor public so that it can be constructed by the provider.
BUG: 26989170
Change-Id: I9fae7fc03b34b4081c7096eb13fa38737b52efe6
2016-02-18 16:15:58 -08:00