Commit Graph

2631 Commits

Author SHA1 Message Date
Sudheer Shanka
47dafc978a Merge "Update ACTION_SHOW_ADMIN_SUPPORT_DETAILS action to be hidden." into nyc-dev am: af9c30aa74
am: 19e2adac15

* commit '19e2adac15d36e7307c275e253ae998536e539a6':
  Update ACTION_SHOW_ADMIN_SUPPORT_DETAILS action to be hidden.
2016-02-18 18:54:06 +00:00
Sudheer Shanka
af9c30aa74 Merge "Update ACTION_SHOW_ADMIN_SUPPORT_DETAILS action to be hidden." into nyc-dev 2016-02-18 13:58:05 +00:00
Sudheer Shanka
aebd5dd786 Update ACTION_SHOW_ADMIN_SUPPORT_DETAILS action to be hidden.
Bug: 27225657
Change-Id: I85ad8bf88845e9164011b303ec9ca90d993fc20e
2016-02-18 12:39:57 +00:00
Felipe Leme
ba2707d9dc Merge "Initial implementation of StorageManager.getVolumesList()." into nyc-dev am: 3c3770d8fe
am: f3fb06dd3d

* commit 'f3fb06dd3da173011eb04ea1d44f498ac7cb1152':
  Initial implementation of StorageManager.getVolumesList().
2016-02-17 23:55:41 +00:00
Felipe Leme
3c3770d8fe Merge "Initial implementation of StorageManager.getVolumesList()." into nyc-dev 2016-02-17 22:42:40 +00:00
Tony Mak
dab9ccbfe9 Merge "[ContactsContract] Add new API PhoneLookup.CONTACT_ID and DATA_ID" into nyc-dev am: 181d907d24
am: cc5bd97810

* commit 'cc5bd9781038c4bf9b2edd07b482cdf50bc9af8b':
  [ContactsContract] Add new API PhoneLookup.CONTACT_ID and DATA_ID
2016-02-17 21:36:48 +00:00
Felipe Leme
04a5d40cf3 Initial implementation of StorageManager.getVolumesList().
This change makes StorageManager.getVolumesList(),
StorageManager.getPrimaryVolume(),  and StorageVolume public and adds a
buildAccessIntent() in the latter to automatically generate the
ACTION_OPEN_EXTERNAL_DIRECTORY intent, but it doesn't change the
ACTION_OPEN_EXTERNAL_DIRECTORY implementation yet (i.e., it still takes an URI with the physical path of the directory, instead of a StorageVolume and
a directorny name).

BUG: 26742218

Change-Id: I36c59c42b6579e125ec7f03c3af141260875a491
2016-02-17 13:14:39 -08:00
Tony Mak
fd9ec5a600 [ContactsContract] Add new API PhoneLookup.CONTACT_ID and DATA_ID
It is a mistake that we put contact id in PhoneLookup._ID.
But for SIP query, the contact id is put in Data.CONTACT_ID instead.
For backward-compability issue, we can't revert the change, but to
save developer from having logic like below, PhoneLookup.CONTACT_ID is
introduced.

if (sip) {
    get contact id in Data.CONTACT_ID column
} else {
    get contact id in PhoneLookup._ID column
}

So for sip query, we put contact id in PhoneLookup.CONTACT_ID.
For other phone lookup query, we put contact id in both PhoneLookup.ID
and PhoneLookup.CONTACT_ID.

BUG:27149017

Change-Id: I4155da29bbacdda0d43164b0ce11c7224a4eee67
2016-02-17 21:08:09 +00:00
Tao Bao
60e0644d60 Merge "Add a Settings option of "Disable automatic update"." into nyc-dev am: c86f234c51
am: a250308200

* commit 'a250308200542681c7409a394d8277afa203123d':
  Add a Settings option of "Disable automatic update".
2016-02-17 20:16:00 +00:00
Tao Bao
c86f234c51 Merge "Add a Settings option of "Disable automatic update"." into nyc-dev 2016-02-17 20:06:52 +00:00
Anna Galusza
0d0f4756d5 Merge "Expose Intent for launching screen reader tutorial." into nyc-dev am: 9f972de6e5
am: 747d8814a8

* commit '747d8814a8bb23dea66daed8123b5a498ecf0b50':
  Expose Intent for launching screen reader tutorial.
2016-02-17 18:06:51 +00:00
Anna Galusza
9f972de6e5 Merge "Expose Intent for launching screen reader tutorial." into nyc-dev 2016-02-17 17:56:33 +00:00
Tomasz Mikolajewski
d659cad62f Merge "Implement getDocumentStreamTypes() in DocumentsProvider." into nyc-dev am: 804d648138
am: d0c2533b5c

* commit 'd0c2533b5c770723fffc795957948691de58bd6e':
  Implement getDocumentStreamTypes() in DocumentsProvider.
2016-02-17 11:45:34 +00:00
Tomasz Mikolajewski
804d648138 Merge "Implement getDocumentStreamTypes() in DocumentsProvider." into nyc-dev 2016-02-17 11:34:12 +00:00
Tomasz Mikolajewski
366828b056 Merge "Remove unused return in DocumentsProvider.removeDocument." into nyc-dev am: 36aafd5086
am: ae65936e8f

* commit 'ae65936e8f86d93890b690041a31a9c3225a36db':
  Remove unused return in DocumentsProvider.removeDocument.
2016-02-17 07:09:42 +00:00
Anna Galusza
a77ef3c83e Expose Intent for launching screen reader tutorial.
Change-Id: Iad479b3f3dc7d1ca23fa044946a93544067adee3
2016-02-16 15:13:08 -08:00
Tao Bao
fdf7c5d31f Add a Settings option of "Disable automatic update".
Bug: 27193001
Change-Id: Ibd205a749ebd674ca4500fd3b701888ac3ee8721
2016-02-16 12:22:22 -08:00
Andre Eisenbach
3bc623be8d Read Bluetooth interop database entries from settings (1/2)
Interop database entries are stored in the system settings entry
"BluetoothInteropDatabase". The format is a list of entries separated by
";". An entry consists of a BDA fragment, followed by a comma and an
integer representing a feature from interop.h.

Example:
To disable LE secure connections for devices starting with BDA 11:22:33,
use "11:22:33,0".

Bug: 26548845
Change-Id: I6a9fd34f6af4d3bdfcaa0e051eafebdfbf2a4949
2016-02-15 22:24:10 +00:00
Tomasz Mikolajewski
3071401670 Remove unused return in DocumentsProvider.removeDocument.
It's not used anywhere. Exceptions should be thrown on an error.

Bug: 27113305
Change-Id: I9d549169e177004597f136776c6763c93101c0c4
2016-02-15 17:19:17 +09:00
Tomasz Mikolajewski
d99964fd66 Implement getDocumentStreamTypes() in DocumentsProvider.
According to the documentation, getStreamTypes() must return all streamable
MIME types. This CL takes the MIME types from COLUMN_MIME_TYPE as long as
the document is not virtual.

If the provider implements converters, then it should override
getDocumentStreamTypes.

Bug: 27156282
Change-Id: I9ab149e097600a470fc9be8f1270f68929fdf851
2016-02-15 14:14:28 +09:00
Adrian Roos
3aec638a7b Add setting for allowing remote input from keyguard
Bug: 26440855
Change-Id: I539b1c7ee6a874283df1104fe0743ef0495f9510
2016-02-12 18:54:58 +00:00
Shweta Chahar
239f248280 Merge "Remove higher speech rate settings." into nyc-dev 2016-02-12 11:18:33 +00:00
Gustav Sennton
7a002a215d Merge "Move current WebView provider from Settings.Secure to Settings.Global" into nyc-dev 2016-02-12 10:35:24 +00:00
Tomasz Mikolajewski
1f0c3f04a7 Merge "Fix arguments order in DocumentsContract.moveDocument()." into nyc-dev 2016-02-12 00:26:45 +00:00
Gustav Sennton
14c033c76b Move current WebView provider from Settings.Secure to Settings.Global
The current WebView provider is not user-specific and should therefore
be stored as a Global rather than a Secure setting.

Also do some code cleaning including a fix in WebViewProviderInfo to
always fetch up-to-date information about whether a webview
implementation package is enabled.

Bug: 27142972
Change-Id: I4d4b8fca775e97980fb5c34313be6d82472e7d33
2016-02-11 18:19:39 +00:00
shwetachahar
4bad4fa152 Remove higher speech rate settings.
Higher speech rate setting used to increase the max text to speech output
rate to 6x from the default 4x. The default max speech rate is now
set to 6x, thereby, rendering the higher speech rate setting irrelevant.

Bug:24527715
Change-Id: I3777e63e6ddff797c18bf17fcefa3e262ea822d1
2016-02-11 14:59:33 +00:00
Abhijith Shastry
b87c90ce9f Add hidden APIs for number blocking which will be used by the system.
These APIs will ensure that blocking is suppressed after the user contacts emergency services.

BUG: 26989170

Change-Id: Ib78c9faa31a6d4bfb62b690f97d5ca8084d69927
2016-02-10 12:06:45 -08:00
Tomasz Mikolajewski
dcb4efeed5 Fix arguments order in DocumentsContract.moveDocument().
Change-Id: Ia7d7c51db5df50296b0cad564756ec8c529185b9
2016-02-10 19:14:49 +09:00
Makoto Onuki
bb66a0edfe Merge "Prevent NPE in ContactsContract" 2016-02-05 21:30:39 +00:00
Makoto Onuki
da072b3e38 Prevent NPE in ContactsContract
Bug 26730982

Change-Id: I36fdfffba79e0696175edd42bb131f92cba47499
2016-02-05 13:28:45 -08:00
Abhijith Shastry
89c6073cd0 Merge "Update javadoc for BlockedNumberContract." 2016-02-05 19:36:07 +00:00
Abhijith Shastry
dc4535ebda Update javadoc for BlockedNumberContract.
BUG: 26232372
Change-Id: I57330782fa439bed52c595986916eb24bfbceab0
2016-02-05 09:58:35 -08:00
Alan Viverette
1a2941541a Merge "Multi-user support for display density changes" 2016-02-05 16:03:58 +00:00
Felipe Leme
5f5d707bad Defined an intent to let apps launch the Data Saver settings screen.
BUG: 26451391
BUG: 26820898
Change-Id: Ie9dbe2d08d362aa548e385967d101faafb87c9b7
2016-02-04 17:20:13 +00:00
Alan Viverette
5e8d837894 Multi-user support for display density changes
Bug: 26942569
Change-Id: Ie44aed00619c5e5604b3d48a3a9d0fc38b0ef0eb
2016-02-03 15:38:59 -05:00
Tomasz Mikolajewski
9b055e1d84 Hide DocumentsContract.FLAG_ARCHIVE.
The API is internal for now.

Bug: 20176812
Change-Id: I9f2c796b144906fdf4a838240c85d26f02dbe175
2016-02-03 15:11:07 +09:00
Junda Liu
0c35fbcf08 Add strings/setting for carrier app install dialog.
Bug: b/22863855
Change-Id: I34e2ff5997e14afe70a64edb055dc876e26d7946
2016-02-02 14:50:39 -08:00
Abhijith Shastry
d907c64ff9 BlockedNumberContract API changes:
1. Add a method isProviderSupportedForCurrentUser for multi-user scenarios.
2. Remove STRIPPED_NUMBER column.

BUG: 26232372

Change-Id: Ida703d7a873915a02cd7918ed297cf039a7956c9
2016-02-01 15:09:08 -08:00
Clara Bayarri
6b6c5a2035 Make Notification Redaction independent for work profiles
Bug: 26709332
Change-Id: Ifc13c3c5a62110a3dfc44c2a02df9db11d92b431
2016-02-01 10:13:23 +00:00
Tomasz Mikolajewski
7fa765a40e Merge "Cleanup copyDocument and moveDocument in SAF." 2016-02-01 00:17:30 +00:00
Anna Galusza
f3e5d1d483 Merge "Add API for IME control by Accessibility Services." 2016-01-29 16:58:07 +00:00
Yohei Yukawa
e8faad6b54 Merge "Add ACTION_KEYBOARD_LAYOUT_SETTINGS." 2016-01-28 20:17:01 +00:00
Tomasz Mikolajewski
570d67cc3f Merge "Add DocumentsProvider::removeDocument()." 2016-01-28 05:08:07 +00:00
Tomasz Mikolajewski
cbcd39488b Add DocumentsProvider::removeDocument().
Multi-parents are supported already in moveDocument(). For parity, this CL
adds removeDocument, so it's possible to delete a file from a specific
parent.

Bug: 26481380
Change-Id: Icd4213abc0c3413931902f4f8984746c84c65e52
2016-01-28 14:06:22 +09:00
Tomasz Mikolajewski
ab821a517d Merge "Unhide DocumentsContract.isTreeUri." 2016-01-28 04:20:43 +00:00
Tomasz Mikolajewski
eeb8b6052a Cleanup copyDocument and moveDocument in SAF.
1. Unhide the methods in DocumentsProvider.
2. Stop revoking grants, as we shouldn't do that if the documentId doesn't
   change. Note, we could have an if checking if the ID changed then revoke
   in call(), but it would be racey, as another file with the same ID might
   have been created in the meantime on another thread.

Change-Id: Ia99853bf11cf416e0b8c0a0e63458dcc09564da9
2016-01-28 13:08:27 +09:00
Anna Galusza
9b27811246 Add API for IME control by Accessibility Services.
Change-Id: I3bb806cf420e0551a2c9ef97d95613f73e362df9
2016-01-27 17:35:59 -08:00
Tomasz Mikolajewski
7db9c81937 Unhide DocumentsContract.isTreeUri.
Bug: 22212976
Change-Id: I5267e5de0037559eba5bd3adf16d552c25ca8037
2016-01-28 10:00:52 +09:00
Yohei Yukawa
d8701bfed0 Add ACTION_KEYBOARD_LAYOUT_SETTINGS.
This CL adds ACTION_KEYBOARD_LAYOUT_SETTINGS so that IME developers can
navigate users to the settings to configure the hardware keyboard layout
as needed, as we have exposed ACTION_INPUT_METHOD_SETTINGS and
ACTION_INPUT_METHOD_SUBTYPE_SETTINGS.

Bug: 25752827
Change-Id: I8f371702904b3354043cd6d23fc9a8ff8be9b537
2016-01-27 16:15:01 -08:00
Ta-wei Yen
afaf052564 Merge "Added more granular states to DATA_CHANNEL_STATE" 2016-01-27 22:18:23 +00:00