Commit Graph

1804 Commits

Author SHA1 Message Date
Jeff Sharkey
3e5991c1eb am 21de56a9: Add directory selection to DocumentsProvider.
* commit '21de56a94668e0fda1b8bb4ee4f99a09b40d28fd':
  Add directory selection to DocumentsProvider.
2014-04-23 07:15:32 +00:00
Jeff Sharkey
21de56a946 Add directory selection to DocumentsProvider.
Introduce new ACTION_PICK_DIRECTORY that allows users to grant access
to an entire document subtree.  Instead of requiring grants for each
individual document, this leverages new prefix URI permission grants
by defining new "via"-style URIs:

content://com.example/via/12/document/24/

This references document 24 by using a prefix grant given for
document 12.  Internally, we use isChildDocument() to enforce that
24 is actually a descendant (child, grandchild, etc) of 12.  Since
this is an optional API, providers indicate support with
Root.FLAG_SUPPORTS_DIR_SELECTION.

Extend DocumentsUI to support picking directories.  Expose
createDocument() API to work with returned directories.

Offer to canonicalize via-style URIs into direct URIs, generating
exact permission grants along the way.  Override openAssetFile()
to pass through CancellationSignal.  Move testing code into ApiDemos.

Bug: 10607375
Change-Id: Ifffc1cff878870f8152eb6ca0199c5d014b9cb07
2014-04-22 22:18:21 -07:00
Ruchi Kandoi
3286df9e08 am 62b8a498: Adds Content Observer for the Low power mode in developer options.
* commit '62b8a49856cc0822905dcb7a213f082b92fa69e3':
  Adds Content Observer for the Low power mode in developer options.
2014-04-22 21:03:44 +00:00
Ruchi Kandoi
62b8a49856 Adds Content Observer for the Low power mode in developer options.
Change-Id: Ibed319e734340dfd5348dbeb8fe20c01b1adaac5
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2014-04-22 20:55:31 +00:00
John Spurlock
4f3693de49 am 860107a2: Merge "Do not disturb: persist user config."
* commit '860107a2cced79f4a19542bfd19676367951ee49':
  Do not disturb: persist user config.
2014-04-22 15:09:53 +00:00
John Spurlock
056c519df1 Do not disturb: persist user config.
Load and store user configuration for do not disturb.  Separate
out service-related aspects into new helper.  Make config availble
over NoMan for settings.

Implement phone + message based filtering (package whitelist for now).

Implement automatic enter/exit zen mode overnight scheduler.

Bug:14211946
Change-Id: Ib28aab0e4c5c9a5fd0b950b2884b1ab618fdfeca
2014-04-22 11:01:24 -04:00
Ricardo Cervera
c50a14e91a am 92f4a346: am fa711a33: am d09e1bff: am ed5b8c06: am 6aeea454: Merge "docs: Added the play from search intent. Bug: 13473141." into klp-docs
* commit '92f4a3465ea2521523b5659f8006097e07a9be58':
  docs: Added the play from search intent. Bug: 13473141.
2014-04-18 02:07:44 +00:00
Ricardo Cervera
92f4a3465e am fa711a33: am d09e1bff: am ed5b8c06: am 6aeea454: Merge "docs: Added the play from search intent. Bug: 13473141." into klp-docs
* commit 'fa711a33be265d1fcd08efd850085615ec66dd89':
  docs: Added the play from search intent. Bug: 13473141.
2014-04-18 02:03:14 +00:00
Ricardo Cervera
a3b13847b0 docs: Added the play from search intent. Bug: 13473141.
Change-Id: Icf483b5e0446e064b32a782717408484d5806859
2014-04-17 12:31:18 -07:00
Jeff Davidson
754e3802cd am 4c37b79c: Merge "Class for managing the active scorer application."
* commit '4c37b79cc9c3af57be4ca7f9ff40bceaad948d95':
  Class for managing the active scorer application.
2014-04-16 21:34:26 +00:00
Jeff Davidson
dd6fd1e62b Class for managing the active scorer application.
Allows listing all possible scorer apps, getting the active scorer
app, setting the active scorer app, and determining whether a given
UID is for the active scorer.

Note that setting a default scorer with a system image will be handled
separately - the plan here is to add a read-only build property
containing a package name to use as the scorer out of the box.
When NetworkScorerService is initialized, it will check a provisioning
bit; if that bit isn't set, it will set the current scorer to the
package specified in this build property (if any) and set the
provisioning bit to true.

Bug: 13769362
Change-Id: I18c0b2ba2aceccc88b70c3611a49149e0bf17ecf
2014-04-16 14:17:01 -07:00
Jae Seo
225ef788e3 am 72139a92: Merge "Add a contract class for the TV content provider"
* commit '72139a92ab7b4e7f986f57a3ac4134fd6c404968':
  Add a contract class for the TV content provider
2014-04-14 21:35:40 +00:00
Jae Seo
72139a92ab Merge "Add a contract class for the TV content provider" 2014-04-14 21:31:16 +00:00
Fabrice Di Meglio
e3cd5f03af am 1c3f4092: Merge "SearchIndexablesProvider - support for querying for non indexable data keys"
* commit '1c3f409284b47312c1c7e5d36283df9a05d29dfb':
  SearchIndexablesProvider - support for querying for non indexable data keys
2014-04-14 19:14:13 +00:00
Fabrice Di Meglio
97babb1e9a SearchIndexablesProvider - support for querying for non indexable data keys
SearchIndexablesProvider should be able to send a list of data keys that
should not be indexed (mainly depending on some condition/state from the
device)

- update the contract by adding a new query named queryNonIndexableKeys(...)

Change-Id: Ie720825050acb600dca8ac8fed96fa4f59c3af71
2014-04-11 18:45:44 -07:00
Fabrice Di Meglio
a0790d3f8e am efb40a0d: Merge "Update Javadoc for SearchIndexablesContract"
* commit 'efb40a0dba8874297b4dcf6a41e5d741c7f721e9':
  Update Javadoc for SearchIndexablesContract
2014-04-12 00:31:48 +00:00
Fabrice Di Meglio
a8e8f3f647 Update Javadoc for SearchIndexablesContract
- fix typo and update some comment

Change-Id: Id001290aa367ee2b8b0d6d9ca9098710e760ad31
2014-04-11 17:24:02 -07:00
Fabrice Di Meglio
02f80877e2 am 296832e0: Merge "Fix constructors for SearchIndexableData and SearchIndexableResource"
* commit '296832e0e5ac007aecd5824dede840d1f403ced0':
  Fix constructors for SearchIndexableData and SearchIndexableResource
2014-04-11 22:26:23 +00:00
Fabrice Di Meglio
773a56bbf4 Fix constructors for SearchIndexableData and SearchIndexableResource
- fix locale initialization
- fix constructor chain

Change-Id: Id072574cca79fd49013e0b796b98a12d0bb8459f
2014-04-11 15:15:34 -07:00
Fabrice Di Meglio
d7b8c5a8c2 am 62499493: Merge "Add toString() for SearchIndexableData and SearchIndexableResource"
* commit '624994930adea1158011ff5c8ea1f8bfd700fe0e':
  Add toString() for SearchIndexableData and SearchIndexableResource
2014-04-11 18:21:27 +00:00
Fabrice Di Meglio
71b3975c8a Add toString() for SearchIndexableData and SearchIndexableResource
Change-Id: Ie85e0382705e5edb4be50b32370212d470f172d9
2014-04-10 19:24:15 -07:00
Fabrice Di Meglio
3654de0b02 am 03fee276: Merge "Update SearchIndexablesContract"
* commit '03fee27646564cf1b559b7f8a53d35a1db18d0bd':
  Update SearchIndexablesContract
2014-04-09 20:33:56 +00:00
Fabrice Di Meglio
1ecde22134 Update SearchIndexablesContract
- add indices constants for colums
- add missing properties (entries / key)

Change-Id: Ie6c00abf27aaf0fc27e685c8ee0ff8e1e16b5d52
2014-04-09 13:17:42 -07:00
Jae Seo
ff317196cf Add a contract class for the TV content provider
This defines a basic database of TV content metadata such as channel and
program information.

Change-Id: Ice5893eaa11fd6ace003338c838801d5857d09d1
2014-04-09 11:42:40 -07:00
Fabrice Di Meglio
1d6f207c0d am 19de4fff: Merge "Add support for key value for SearchIndexableData"
* commit '19de4ffff3c9ebca70694b55b9784afe86f5c11b':
  Add support for key value for SearchIndexableData
2014-04-08 20:15:06 +00:00
Fabrice Di Meglio
738691d610 Add support for key value for SearchIndexableData
- add member "key" which enabled retrieval of the data

Change-Id: Idfa835a5afd6ffa27c7592b79f9da46f0d056c9b
2014-04-04 19:14:46 -07:00
Fabrice Di Meglio
7d097781f4 am 724a4f7a: Merge "Update SearchIndexables contract for allowing summary ON and OFF indexing"
* commit '724a4f7aea3723034d66e45cec538da7ff26fb93':
  Update SearchIndexables contract for allowing summary ON and OFF indexing
2014-04-01 21:24:30 +00:00
Fabrice Di Meglio
724a4f7aea Merge "Update SearchIndexables contract for allowing summary ON and OFF indexing" 2014-04-01 21:17:03 +00:00
Fabrice Di Meglio
98274a9714 Update SearchIndexables contract for allowing summary ON and OFF indexing
- add summary ON and OFF indexing (for CheckBoxPreference)

Change-Id: I634cae653748d29e58fa2e696372efff08ce17d2
2014-03-31 19:45:04 -07:00
Matt Casey
198ab3cf6c am ca04d718: Merge "Add a mediastore constant for playlists."
* commit 'ca04d7185369073ca0a291f37ec3680037711d44':
  Add a mediastore constant for playlists.
2014-03-27 15:46:59 +00:00
Matt Casey
1dbf1f81e2 Add a mediastore constant for playlists.
This is a followup to https://googleplex-android-review.git.corp.google.com/415218

I'm writing this change at the request of elmas@.

Bug: 13657009
Change-Id: I970cc59a33af2162c2488c4ddf628f7a73009cd6
2014-03-26 17:09:56 -07:00
John Spurlock
f811f917ba am 1dd9c53a: Merge "Zen mode updates."
* commit '1dd9c53a40b7c147767c63e10a47eb5cb6f8e197':
  Zen mode updates.
2014-03-26 10:45:59 -07:00
John Spurlock
eeb397b77f Zen mode updates.
- Now only two modes, no more ZEN_MODE_FULL.
 - Alarms are allowed by default.
 - Interstitial dialog cleanup to follow current UX.

Change-Id: I8e4c8f64854dabfef69ad33b3eb35bee07e55ef7
2014-03-26 13:41:54 -04:00
Fabrice Di Meglio
72a3b9a136 am 7434fcec: Merge "Add support for enabled state for SearchIndexableData"
* commit '7434fcec6928e9e570f7ab0bf033f04ca5a13ba1':
  Add support for enabled state for SearchIndexableData
2014-03-21 11:44:21 -07:00
Fabrice Di Meglio
16f81e7542 Add support for enabled state for SearchIndexableData
- add "enabled" member which tells if the data will be
included into the search results.

Change-Id: I17f8c4b289b21061f7fc47f4902343fecb5ddc2c
2014-03-21 11:37:57 -07:00
Fabrice Di Meglio
6926d3a585 am d0abcede: Merge "Introduce the SearchIndexablesProvider and its friends"
* commit 'd0abcedece5c749129af89cf096534c98a716d89':
  Introduce the SearchIndexablesProvider and its friends
2014-03-19 18:17:04 -07:00
Fabrice Di Meglio
b49995d4d9 Introduce the SearchIndexablesProvider and its friends
- enable retrieval of search data to be indexed

Change-Id: I4a16408dec3d3305bf20107fb11eb2d1aee7fad5
2014-03-19 15:44:01 -07:00
JP Abgrall
4ecd833ee3 am 7baa7c80: Merge "ConnectivityService: add support to set TCP initial rwnd" into klp-dev
* commit '7baa7c804501b9cbcb5de281c5ddfaf03ba08f7a':
  ConnectivityService: add support to set TCP initial rwnd
2014-03-13 20:36:51 +00:00
JP Abgrall
3f7f3221df ConnectivityService: add support to set TCP initial rwnd
The value for the TCP initial receive window comes from,
in order,

kernel
  /proc/sys/net/ipv4/tcp_default_init_rwnd

init.rc (via properties)
  net.tcp.default_init_rwnd

properties
  net.tcp.default_init_rwnd

gservices
  Settings.Global.TCP_DEFAULT_INIT_RWND

Bug: 12020135
Change-Id: I0e271be19472900fa9f3bab037d53383ec014a9e
2014-03-12 20:22:47 -07:00
Brian Attwell
3cad2e1608 am 48d04ec3: Merge "Add IN_DEFAULT_DIRECTORY to contract"
* commit '48d04ec3b7990f3a58d36b23f07b6cf0a0af65db':
  Add IN_DEFAULT_DIRECTORY to contract
2014-03-05 09:41:17 -08:00
Brian Attwell
48d04ec3b7 Merge "Add IN_DEFAULT_DIRECTORY to contract" 2014-03-05 17:39:27 +00:00
Brian Attwell
2fa85d383d Add IN_DEFAULT_DIRECTORY to contract
I want to expose this flag so that gmail can sort
based on it. Plus, it provides generally useful information.

Bug: 13173524
Change-Id: I93a35f8822b55f97b15e1fbb783110e3674c1622
2014-03-04 17:41:13 -08:00
Jay Shrauner
1f168fd438 am 4ef0aabe: Merge "Catch ActivityNotFoundException in quick contacts badge" into klp-dev
* commit '4ef0aabe93877b7f30645b873fbc003651151f2f':
  Catch ActivityNotFoundException in quick contacts badge
2014-03-03 21:58:47 +00:00
Tom O'Neill
d95655fa1a am 8cf5eee3: Merge "Discourage content observers on LOCATION_PROVIDERS_ALLOWED"
* commit '8cf5eee3425e7ecd2c27ab8ef6a5fcfd2cebb888':
  Discourage content observers on LOCATION_PROVIDERS_ALLOWED
2014-03-03 13:07:04 -08:00
Tom O'Neill
923c0dc070 Discourage content observers on LOCATION_PROVIDERS_ALLOWED
- Bug: 12176905

Change-Id: I79bfdbba5ad0d11d82169c0897418f5b3963be0a
2014-03-03 11:07:55 -08:00
Chris Wren
0ca1d1c49e am 10d82dfb: rename heads up global setting: base part
* commit '10d82dfbfb4bcc0899bd1e8dc04e97c2ea39a752':
  rename heads up global setting: base part
2014-03-03 07:33:24 -08:00
Chris Wren
10d82dfbfb rename heads up global setting: base part
Bug: 13208692
Change-Id: Ia020e4d63552ab4b8cbb8a37622c36776800a790
2014-03-03 10:15:53 -05:00
Yorke Lee
535c9e74d3 Catch ActivityNotFoundException in quick contacts badge
Bug: 12015287
Change-Id: I2fa5daaa54cc7cc0cad9dee0828d751302cb5be7
(cherry picked from commit 4fc601a650)
2014-03-01 18:07:22 +00:00
John Spurlock
fb04635270 am 454a0384: Merge "Wire up SystemUI zen mode config to new settings panel."
* commit '454a0384708433e165a6340dc98bd060775ec613':
  Wire up SystemUI zen mode config to new settings panel.
2014-02-28 15:08:08 -08:00
John Spurlock
454a038470 Merge "Wire up SystemUI zen mode config to new settings panel." 2014-02-28 23:05:49 +00:00