Commit Graph

1851 Commits

Author SHA1 Message Date
Yorke Lee
1ca440b38f API changes per API review for contacts
* Improve documentation for REMOVE_DUPLICATE_ENTRIES
* Hide android.provider.ContactsContract.PinnedPositions, it will be
reworked and improved for L.
* Hide android.provider.ContactsContract.Preferences - we will rework
the various apps that are relying on this to use their own preferences
instead
* Remove inheritance of hidden interfaces in android.provider.Contacts

Bug: 15430304
Change-Id: I0f96e8a506083df21023f9b95655f0ce5244bdce
2014-06-04 18:16:26 -07:00
Jae Seo
d5cc4a281e Put TV Input Framework under android.media.tv, including TvContract
Bug: 15345342
Change-Id: I665ca23f0f074ce29cb2e047109b209178532107
2014-06-02 11:02:52 -07:00
Dongwon Kang
f95b1d8d53 Fix a typo on TvContract.
Change-Id: I2558f4d463653c7e35de7dccb60189ee9eb0a307
2014-05-29 09:40:11 -07:00
Jae Seo
7752244e47 DO NOT MERGE. Add more columns to TV metadata to enable newly requested use cases
Added the following columns to the Channels table:
 searchable - Used to hide certain channels from search.
 locked - Used to prevent unauthorized users from watching certain
          channels by requiring passcode.

Added the following columns to the Programs table:
 genre - Used to describe the categorical genre.
 audio_language - Used to list up available audio languages.

Bug: 14833588, Bug: 14123945, Bug: 14069779
Change-Id: Id01483f56ecf3b665e3d4dbcea1a4800ff7f031d
(cherry picked from commit 3532899452d62b6f2cd9250cb48ec204862fb3b2)
2014-05-22 20:46:48 +00:00
Jeff Sharkey
9f561c367b Merge "Support for renaming documents." 2014-05-22 05:45:29 +00:00
Jeff Sharkey
b7e1255d5c Support for renaming documents.
DocumentsProviders can mark documents as supporting rename, and they
have the opportunity to change the DOCUMENT_ID as a side effect of
the rename.  This supports providers that embed the display name
into DOCUMENT_ID.  Issues a URI permission grant to the new document,
if any.

Adds renaming support to platform ExternalStorageProvider.  Also
adds directory deletion support.

Bug: 12350110
Change-Id: Ica4b1ae6769ee994f70f6b6b2402213eebd064e0
2014-05-21 22:24:45 -07:00
Brian Attwell
3bdd9f68b5 Merge "Remove @hide from IN_DEFAULT_DIRECTORY" 2014-05-21 21:25:58 +00:00
Andres Morales
62b25a5bf0 Revert "Adding INfcUnlockSettings and NfcUnlock interface class."
This will be re-added as a Trustlet in a subsequent CL.

This reverts commit 38a7ed05f8.

Change-Id: I5aa36df42a7751f165b4ef184e0cda57e5568b59
2014-05-20 16:59:34 +00:00
Christopher Tate
aa036a2db0 Move the non-market install setting from Global to per-user Secure
Bug 13760585

Change-Id: I45b0fa87e72dc5c18d687261fb95cbea5d06163a
2014-05-19 18:08:30 -07:00
John Spurlock
74a2e06d83 VolumeZen: frameworks changes to support Settings.
- Pull SeekBarVolumizer out into a separately reusable class.
- Make register/unregisterOnActivityStopListener avail to system code.
- Add new setting for displaying suppressed notifications in zen mode.

Change-Id: Ic30aa575ae07650cee62c8c1d83b6bc69395cf0d
2014-05-18 12:26:21 -04:00
Tim Kilbourn
87cd0dc425 Add KEYCODE_PAIRING.
Used for initiating a peripheral pairing mode.

Change-Id: I8e172bdda1f3c34eff36f3001c174f7a6b6e6e41
2014-05-16 15:14:53 -07:00
Selim Gurun
4455f54b5b Merge "Add a setting for data reduction proxy key" 2014-05-16 19:09:10 +00:00
Selim Gurun
178201f7ff Add a setting for data reduction proxy key
Bug: 12492817
Change-Id: I15c42d631f6ba9ab4dcce38e96f0486efaf3d22f
2014-05-16 11:50:37 -07:00
Jerome Poichet
8d56ff8b70 Merge "Adding Activity Action entry" 2014-05-16 01:38:33 +00:00
Jerome Poichet
7974cb36ae Adding Activity Action entry
In L we're bringing the notion of a device name, which centralizes a
concept that has been used in different part of the system already
(bluetooth and WifiP2p among others)

The settings entry has already been created, but there is no centralized
UI for setting the name yet.

This CL would define the activity action that would have to be
implemented to set the device name.

b/14970370 - Global Device Name

Change-Id: I6876e4ca1ad887fdea1bc88890ddfad547145011
2014-05-14 15:50:46 -07:00
Ed Heyl
2cf184233b merge master nova by hand, skipped translations
Change-Id: I4bea0bb9e375361f21d995bf4698d5eb6300ecfb
2014-05-14 13:24:53 -07:00
Jae Seo
3c659dea47 Merge "Add more columns to help identify TV channels" 2014-05-14 19:00:52 +00:00
Jerome Poichet
147b4d75e1 Adding device name
A new global settings to name a device. This will centralize the notion
of device name/nickname and should be used by Cast, Bluetooth, TV Remote and other
advertising applications/services.

Change-Id: I2294deb5c0d1002fb2fc158f62a2d5643d90d749
2014-05-13 12:06:52 -07:00
Jae Seo
f5cd0b388a Add more columns to help identify TV channels
Also added the prefix COLUMN_ to clearly denote each column of the
tables for TV metadata.

Change-Id: I426e9854da5580066f39d416207abe56baf4de14
2014-05-13 10:23:49 -07:00
Alan Viverette
e08340645d Simplify accessibility display adjustments
Makes the inversion bit public so apps can be smarter about rendering
images non-inverted (if they are so inclined).

BUG: 14680114
Change-Id: I8ca2b2517af2ffc13446d7e0b4e859c1171e2d0e
2014-05-12 15:26:45 -07:00
Martijn Coenen
66f29aa4a5 am 5aa45ef5: Merge "HCE/SE foreground support."
* commit '5aa45ef5ce6725638425aeeec29ac456f326d4c9':
  HCE/SE foreground support.
2014-05-08 23:37:00 +00:00
Martijn Coenen
781a83878a Merge "HCE/SE foreground support." 2014-05-08 23:33:51 +00:00
Selim Gurun
635afd0a80 am f60667b1: Merge "Cleanup a unused setting"
* commit 'f60667b17423fbf1e03fe26ca04e012391034219':
  Cleanup a unused setting
2014-05-08 18:51:42 +00:00
Selim Gurun
6cab9b3814 Merge "Cleanup a unused setting" 2014-05-08 18:48:52 +00:00
Selim Gurun
57cee39d76 Cleanup a unused setting
The old webview is not used anymore. Removing this setting.

Change-Id: I3f783eec195a2f11534bcff8243ce4d2c556a416
2014-05-08 11:35:25 -07:00
vandwalle
ce311f62ca am 16170143: Merge "initial Best Network Selection implementation"
* commit '16170143a30e9e45f3fbdd8f27037fcbd8f403e8':
  initial Best Network Selection implementation
2014-05-08 03:08:01 +00:00
vandwalle
7c3606c103 initial Best Network Selection implementation
-add dhcpserver, defaultGwMAC address, linked configuration and user choices link lists to WiFiconfiguration
-add default gateway mac address to RouteInfo
-add a Date to the ScanResult
-add BSSID date to the WifiConfiguration
- make framework auto-join into a config option
- add Settings option for showing RSSI in Wifi picker view; add auto-join specific status to WifiConfiguration

Change-Id: I5cfc4f2a48c9f3bc9766e8e68e24eff7b57f2821

 Changes to be committed:
	modified:   core/java/android/provider/Settings.java
	modified:   wifi/java/android/net/wifi/ScanResult.java
	modified:   wifi/java/android/net/wifi/WifiConfiguration.java
2014-05-07 18:48:48 -07:00
Jim Miller
353bda0985 am d031e36c: First pass at adding FingerprintManagerService
* commit 'd031e36c433c94fc6da3732be7e61aa906e45ec4':
  First pass at adding FingerprintManagerService
2014-05-07 02:32:29 +00:00
Jim Miller
08fa40c5cb First pass at adding FingerprintManagerService
This adds a new service for monitoring and enrolling fingerprints
to the platform.

Fixed documentation links.

Change-Id: I66013be5e09be9c5f9746c46aacf32d3e26c3b73
2014-05-07 02:27:21 +00:00
Martijn Coenen
2f6f3a0181 HCE/SE foreground support.
Allow apps to tell the OS they prefer a specific
CardEmulation service to handle a transaction
whenever they are in the foreground.

Change-Id: I8489ba6018f62164ed7e3504f31c8d09accf494e
2014-05-06 14:49:57 -07:00
Selim Gurun
4e4cacd684 am 234558e8: Merge "Add frameworks/base changes for enabling reduction proxy"
* commit '234558e89565d7310e3c12fe72a51b884876abf6':
  Add frameworks/base changes for enabling reduction proxy
2014-05-06 00:33:55 +00:00
Selim Gurun
a83f1e3d23 Add frameworks/base changes for enabling reduction proxy
Bug:12492817

Add an experimental webview setting to developer options to enable
data reduction proxy.

Change-Id: Id73d7f5d655a7de18afff766c5c78209c92964ea
2014-05-05 17:28:04 -07:00
Jae Seo
ed18089025 am c1201aa5: Merge "Add more URI patterns for accessing TV metadata"
* commit 'c1201aa56381a548c4d7ce80e7ad47fd832699f0':
  Add more URI patterns for accessing TV metadata
2014-04-29 20:25:57 +00:00
Jae Seo
994925d666 Merge "Add more URI patterns for accessing TV metadata" 2014-04-29 20:21:51 +00:00
Jae Seo
cdf6bd22e0 Add more URI patterns for accessing TV metadata
The following URI patterns are added:
  content://com.android.tv/input/*/*/channel
  content://com.android.tv/input/*/*/channel?browsable_only=
  content://com.android.tv/channel/#/program
  content://com.android.tv/channel/#/program?start_time=&end_time=

This allows us to disable user-provided selection on query/delete/update to help
avoid SQL injection.

Bug: 14133838
Change-Id: I6c86ac33cb5bc8aaa5248a80ed0f0fe0899a15b8
2014-04-29 08:28:44 +09:00
Elliott Hughes
d9e6101862 am 05678e17: resolved conflicts for merge of 3ce4f3d0 to master
* commit '05678e17e8c079a1c1c144e23e40a7a644a0b040':
  Track libcore.os' move to android.system.
2014-04-28 21:22:01 +00:00
Elliott Hughes
10596fbcce resolved conflicts for merge of 3ce4f3d0 to master
Change-Id: Id5c5997ad8f801b32e1dbd97413ea42e38c27210
2014-04-28 13:53:25 -07:00
Elliott Hughes
3ce4f3d0af am 685a0a72: am bbd87eb9: Merge "Track libcore.os\' move to android.system."
* commit '685a0a72d445515167a2071330679cdf9b53a62d':
  Track libcore.os' move to android.system.
2014-04-28 18:36:53 +00:00
Elliott Hughes
34385d352d Track libcore.os' move to android.system.
(This is partial, but should cover everything in AOSP master except
for the zygote.)

Change-Id: I1042c99245765746a744c44e714095cb2c6cb75d
2014-04-28 11:11:32 -07:00
Jeff Sharkey
8407fdb37e am 143ae9f7: Define action used to show regulatory info.
* commit '143ae9f760fd86c8d3f96665268375601beea0b2':
  Define action used to show regulatory info.
2014-04-28 16:41:48 +00:00
Jeff Sharkey
dd77fdacca Define action used to show regulatory info.
Bug: 13340779
Change-Id: I90abb3574797e4b258d32440a2434ae8a7be2949
2014-04-28 08:54:17 -07:00
John Spurlock
ff1005a6f5 am 7745fb9e: Merge "Introduce condition provider services."
* commit '7745fb9e95b6938591a46ffcaace8db02c93962f':
  Introduce condition provider services.
2014-04-25 18:21:40 +00:00
John Spurlock
b22aabbbd2 Merge "Introduce condition provider services." 2014-04-25 18:19:06 +00:00
Dianne Hackborn
1b27c34fb6 am ed407e04: Merge "Initial implementation of new voice interaction API."
* commit 'ed407e046e63ca1d22a1d9206e2ad558bf821525':
  Initial implementation of new voice interaction API.
2014-04-25 17:05:58 +00:00
John Spurlock
7340fc8665 Introduce condition provider services.
Add the condition provider interface, base class, and associated
system metadata.

Pull out common service management code into a reusable helper,
used by notification listeners and condition providers. The
helper, ManagedServices, is now completely self-contained - it
has no dependencies on NoMan or NoMan abstractions.

Bug:13743109
Change-Id: I6856d40f0a2ead78ac9b5707568559a57e7eb009
2014-04-25 12:35:31 -04:00
Dianne Hackborn
91097de49b Initial implementation of new voice interaction API.
This gives a basic working implementation of a persist
running service that can start a voice interaction when
it wants, with the target activity(s) able to go through
the protocol to interact with it.  It may even work when
the screen is off by putting the activity manager in the
correct state to act like the screen is on.

Includes a sample app that is a voice interation service
and also has an activity it can launch.

Now that I have this initial implementation, I think I
want to rework some aspects of the API.

Change-Id: I7646d0af8fb4ac768c63a18fe3de43f8091f60e9
2014-04-24 17:48:58 -07:00
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