Commit Graph

1791 Commits

Author SHA1 Message Date
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
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
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
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
Chris Wren
7d1ccd96b4 am 92aaff8a: Merge "add a setting for the heads up: base part"
* commit '92aaff8a80f455595430c8056d1ada7ddcf6c720':
  add a setting for the heads up: base part
2014-02-28 15:02:41 -08:00
John Spurlock
de547008d1 Wire up SystemUI zen mode config to new settings panel.
Change-Id: I949b31be0b31c02ab736799f9080601fb0fd79d1
2014-02-28 17:50:39 -05:00
Chris Wren
7bd2412332 add a setting for the heads up: base part
also fix a crash if the feature is disabled and then enabled
while a heads up is active.

Bug: 13208692
Change-Id: I6847f7a5f275aee2f608de0237dab0e45c39b33f
2014-02-28 17:37:51 -05:00
John Spurlock
2f8d4c6640 am dfae159b: Merge "Introduce zen mode."
* commit 'dfae159bb8a25a84dc24591d791ce1d743ba4252':
  Introduce zen mode.
2014-02-27 09:32:12 -08:00
John Spurlock
e677d7113f Introduce zen mode.
- New global zen mode setting with three values:
   ZEN_MODE_OFF, ZEN_MODE_LIMITED, ZEN_MODE_FULL
 - Status bar icon (on lhs)  when in _LIMITED / _FULL
 - Rules are hardcoded for now:
   _LIMITED = intercept all notifications except calls/alarms
   _FULL = intercept everything
 - UI affordance in shade to set mode
 - Only one exit condition: "Until you delete this"
 - Intercepted notifications:
   - appear darker in the shade
   - do not cause sound/vibration
   - do not fire fullScreenIntents
   - do not contribute an icon to the status bar

Change-Id: Ic36c95982b483432006bf9dab102a31370382aa9
2014-02-27 11:53:30 -05:00
JP Abgrall
d41b3af056 am d98fff4a: Merge "ConnectivityService: add support to set TCP initial rwnd"
* commit 'd98fff4a02c50d999190bb68e5a9566f56221848':
  ConnectivityService: add support to set TCP initial rwnd
2014-02-21 12:57:51 -08:00
JP Abgrall
d98fff4a02 Merge "ConnectivityService: add support to set TCP initial rwnd" 2014-02-21 20:55:13 +00:00
JP Abgrall
32d1ac4d45 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-02-21 12:05:20 -08:00
Matt Casey
3bb3cd7f78 am 59270bff: Merge "Add more MediaStore constants for playback intents"
* commit '59270bffe51de6c9c1ba9e88a6fd5215b717b25c':
  Add more MediaStore constants for playback intents
2014-02-20 20:59:01 -08:00
Matt Casey
59270bffe5 Merge "Add more MediaStore constants for playback intents" 2014-02-21 01:18:24 +00:00
Matt Casey
bd7bcf0fba Add more MediaStore constants for playback intents
Constants are derived from this doc:
https://docs.google.com/a/google.com/document/d/1lmlFcTeefLDRp_bpMrXk3yK9nKxoTVfpcShanpLxiMg/edit#heading=h.b16863tyyjzv

That doc contains the full explanation of these changes.

I'm making this change on behalf of {elmas,pengr} who don't have
android source access but designed this in collaboration with
rharagutchi on the play music team. I'll probably have to route any
significant questions through them.

Bug: 12874557
Change-Id: I85a4bee57a2bde519da0dc6de2cad9d036da225c
2014-02-20 17:06:09 -08:00
Dan Sandler
e515b32dcd am 6c306b8e: Merge "Settings.Global.LOCK_SCREEN_SHOW_NOTIFICATIONS."
* commit '6c306b8e4e1cd1bf303c58676148378116b2e396':
  Settings.Global.LOCK_SCREEN_SHOW_NOTIFICATIONS.
2014-02-18 18:28:31 -08:00
Dan Sandler
5d7c3cc66c Settings.Global.LOCK_SCREEN_SHOW_NOTIFICATIONS.
$ adb shell settings put global lock_screen_show_notifications 1

Previously a per-user secure setting
(Settings.Secure.LOCK_SCREEN_ALLOW_NOTIFICATIONS), but this
doesn't really make a lot of sense since this behavior
pertains to areas of the system (keyguard, status bar) that
exist outside of any one user.

This setting now effectively enables notifications on the
secure lockscreen for all users.

Change-Id: I9c5179498dbbba9343184efdedb1587ea862cf96
2014-02-18 17:35:15 -05:00