232531 Commits

Author SHA1 Message Date
Aga Wronska
405da7c59b Merge "Improve document rename experience - Initially select the name of the file without extension - Trigger renaming action when software keyboard Done button pressed - Trigger creating new directory when software kayboard Done button pressed" into nyc-dev 2016-02-10 18:19:50 +00:00
Adrian Roos
691546e5b7 Isolate Keyguard from main thread badness
Adds a bindService variant to run the ServiceConnection callbacks
on a dedicated Handler.

Changes KeyguardService binding to use the foreground thread
instead of the main thread and changes state to the
KeyguardScrim on the UI thread.

Bug: 26954967
Change-Id: I9d7bd85382816cd0e23772b14ff6518266a9d232
2016-02-10 18:17:29 +00:00
Ritesh Reddy
70cffc57e5 Merge "Enabling SoftAP Configuration Backup." into mm-wireless-dev
am: c4a1188afd

* commit 'c4a1188afd81b4b773e30ec184839bc1a82b355d':
  Enabling SoftAP Configuration Backup.
2016-02-10 18:04:38 +00:00
Felipe Leme
d4c6582a60 Merge "Whitelisted ACTION_OPEN_EXTERNAL_DIRECTORY to use file:// URIs." into nyc-dev 2016-02-10 18:02:21 +00:00
Ritesh Reddy
c4a1188afd Merge "Enabling SoftAP Configuration Backup." into mm-wireless-dev 2016-02-10 17:48:31 +00:00
Felipe Leme
52fe147602 Whitelisted ACTION_OPEN_EXTERNAL_DIRECTORY to use file:// URIs.
BUG: 27109099
BUG: 26742218
Change-Id: I4848b30e6efbda72ff04a6786bac32f34d528f84
2016-02-10 09:48:01 -08:00
Daichi Hirono
8e87364a67 Keep metadata of documents as disconnected status after the device is
disconnected.

To restore Document IDs when the device is reconnected, we need to keep
the metadata in database so that we can use it as hint to remap document
ID with new MTP IDs.

BUG=26212981

Change-Id: Idcc93c41c09d082a709281022c56188dabc80515
(cherry picked from commit 53f5af3f2ba1328d301a0f8a4ae3f574ccc5da65)
2016-02-10 16:59:22 +00:00
Esteban Talavera
66a320d368 Merge "Check for null on app restrictions managing app APIs" into nyc-dev 2016-02-10 16:43:50 +00:00
Rubin Xu
1f3895b9d9 Merge "Require delegated cert installer and app restriction manager to exist" into nyc-dev 2016-02-10 16:29:35 +00:00
Rubin Xu
f03d0a6bfc Require delegated cert installer and app restriction manager to exist
Enforce that apps with delegated powers to exist on device before
empowering them. This is consistent with DevicePolicyManagerService's
internal logic to clear the delegation power once the package is removed.
For delegated cert installer, only enforce this new restriction on
device admins targeting N or later.

Bug: 26233778
Change-Id: Ia8f45dfd5290958cebb36991c4b6baa03e8c28ae
2016-02-10 16:29:01 +00:00
Esteban Talavera
48e64f20f3 Check for null on app restrictions managing app APIs
Change-Id: I3d3cc9b4a4bd6a2526fd0bd7d8662c6b07183208
2016-02-10 16:24:28 +00:00
Jason Monk
aa31c68d53 Merge "Revert "Extract QS animations to QSContainer"" into nyc-dev 2016-02-10 16:16:38 +00:00
Jason Monk
1b862de7b4 Revert "Extract QS animations to QSContainer"
This reverts commit 04dd9d008a314709d4ab80216e2db6a7bb3a2a38.

Change-Id: I76f059fe54ad4417c45e008de5291da0f24099e1
2016-02-10 16:16:15 +00:00
Andy Hung
f4d81bd865 Add AudioRecord timestamps
Bug: 13569372
Bug: 22886739
Change-Id: Icdd0e6f3871a43a26faa39e5535740f72a58dcae
2016-02-10 16:01:38 +00:00
Erik Kline
0e7f32f6f5 Expose measurement results to interested callers.
am: 106cdf6c94

* commit '106cdf6c94c455462316555b7ac59ec79c3b40fa':
  Expose measurement results to interested callers.
2016-02-10 15:58:17 +00:00
Geoff Mendal
28d901e53b Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-10 15:42:21 +00:00
Geoff Mendal
8ad1d6ea24 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-10 15:42:05 +00:00
Geoff Mendal
ec16c4cabf Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-10 15:41:40 +00:00
Geoff Mendal
8b43b4c694 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-10 15:41:11 +00:00
Geoff Mendal
4e60b1f041 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-10 15:40:51 +00:00
Geoff Mendal
e0f0fd94f9 Import translations. DO NOT MERGE
Change-Id: I8e98fc3cdb339c3374a7e4acd6f5d3973963687c
Auto-generated-cl: translation import
2016-02-10 10:39:33 -05:00
Geoff Mendal
0e2262b007 Import translations. DO NOT MERGE
Change-Id: Idc440b1951f4d3d0489adf7c59380b2d11ac7591
Auto-generated-cl: translation import
2016-02-10 07:38:51 -08:00
Jeremy Joslin
3b37274a37 Merge "Update test to stub the correct method." into nyc-dev 2016-02-10 15:38:19 +00:00
Geoff Mendal
291fd2828c Import translations. DO NOT MERGE
Change-Id: Id4deeb209ea9830e53273b68152c0f7630a26389
Auto-generated-cl: translation import
2016-02-10 07:36:12 -08:00
Jeremy Joslin
fe505af048 Update test to stub the correct method.
NetworkScorerAppManager was recently updated to use
queryBroadcastReceiversAsUser() in place of
queryBroadcastReceivers() but its unit test wasn't changed accordingly.

Change-Id: Ib41195fe8b9cf8c8da9a9090a4f26e1cde3db4f0
2016-02-10 07:34:46 -08:00
Erik Kline
106cdf6c94 Expose measurement results to interested callers.
With this it's possible for callers to:

    Network network = ...
    LinkProperties lp = ...

    NetworkDiagnostics netdiag = new NetworkDiagnostics(network, lp, 5000);
    netdiag.startMeasurements();
    netdiag.waitForMeasurements();

    boolean result = true;
    for (Measurement m : netdiag.getMeasurements()) {
        if (!m.checkSucceeded()) {
            result = false;
            // Additional error handling here.
        }
    }

    return result;

Bug: 21832299
Bug: 26780890
Change-Id: Iaf7ff029e2c6a998b574c23d0dcde8d57a467a22
2016-02-11 00:28:27 +09:00
Geoff Mendal
b817910b14 Import translations. DO NOT MERGE
Change-Id: Iba4fcac2427bf5213b78626aefdbabf17131e652
Auto-generated-cl: translation import
2016-02-10 07:23:03 -08:00
Geoff Mendal
dd69f76c7b Import translations. DO NOT MERGE
Change-Id: I24d659d05ccb735b984b23fc40fe4d69c768f5c0
Auto-generated-cl: translation import
2016-02-10 07:19:37 -08:00
Ben Kwa
fabd228168 Update the subdir icon to svg.
BUG=21705832

Change-Id: I400b5402c0efd34d79be3e8b05b2154dd8c48735
(cherry picked from commit 032c283ef32f72d038b8a989366b184d68ccfd0e)
2016-02-10 15:14:27 +00:00
Ben Kwa
b0bfe2df6f Move focus-related code out of DirectoryFragment.
BUG=25195767

Change-Id: Ibf2247a81e8903924037b5f01305593219a8c068
2016-02-10 07:07:09 -08:00
Jason Monk
f517cbe9a6 Merge "Extract QS animations to QSContainer" into nyc-dev 2016-02-10 15:06:07 +00:00
Jason Monk
04dd9d008a Extract QS animations to QSContainer
Move some of the logic for QS animations into QSContainer with a
stable interface for NotificationPanelView to call.

This also moves the QSPanel out of the scroll container and up
to live in with the header (QSContainer is the parent of both
the header and the QSPanel now).

Change-Id: I197b93bab05c336a8a8debea781e7ad3053b0b1d
2016-02-10 10:04:34 -05:00
Geoff Mendal
9eac0ce5e9 Import translations. DO NOT MERGE
am: b46d66d5d8  -s ours

* commit 'b46d66d5d86b1be95ff6f315feca5406183a4a85':
  Import translations. DO NOT MERGE
2016-02-10 14:11:40 +00:00
Julia Reynolds
146d931ece Merge "Allow apps to know what users think of their notifications." into nyc-dev 2016-02-10 14:10:24 +00:00
Geoff Mendal
b46d66d5d8 Import translations. DO NOT MERGE
Change-Id: I25a7f71ae61c1e6dc0539fc88b2cdbadb6f99eed
Auto-generated-cl: translation import
2016-02-10 09:01:06 -05:00
Jorim Jaggi
ff25528a9b Merge "Do not invalidate drawable if tint doesn't change" into nyc-dev 2016-02-10 06:08:35 +00:00
Jorim Jaggi
7cd1f0d39a Do not invalidate drawable if tint doesn't change
Change-Id: I99d7a679ba3aa4978f2915f1a52f23dbce7fd971
2016-02-09 22:07:32 -08:00
Svetoslav Ganov
3552418fcf Merge "Fix build" into nyc-dev 2016-02-10 04:46:07 +00:00
Svet Ganov
8c6d8a7ef9 Fix build
Change-Id: I7c0601f873e37c7ebf71068ba81366704672bd70
2016-02-09 20:45:13 -08:00
Jae Seo
e3c11e8429 TIF: Rename connect()/disconnect() and remove unnecessary methods
Bug: 26969670
Change-Id: Iee7d1af2eecc11bb28a8d9d7e377b4754a37095c
2016-02-09 19:18:29 -08:00
Steve McKay
41cafa1a20 Merge "Don't die if dirKey hasn't been set in Selection." into nyc-dev 2016-02-10 03:05:47 +00:00
Steve McKay
7ed21c2f00 Don't die if dirKey hasn't been set in Selection.
Some times the raw selection in State can be saved....raw.

Change-Id: Ibf4efab31fffc99baa25ba415f8b53c110aa81f3
2016-02-09 19:05:05 -08:00
Svetoslav Ganov
e0feadcaac Merge "Add an API to query the package name of the services shared lib" into nyc-dev 2016-02-10 03:00:09 +00:00
Steve McKay
e852d93e1d Preserve selection across device rotation.
Also, update Selection model to use a discrete provisional selection,
   rather than a superset "total" selection

Bug: 27075323
Change-Id: I855e6b66010b3cdd599cc0a9f0046a7efadca5fe
2016-02-09 18:52:45 -08:00
Svet Ganov
d7b1f41109 Add an API to query the package name of the services shared lib
The servcies shared lib contains components apps can invoke such
as services to bind to, activities to start, UI choosers, etc.
This lib is built from AOSP code but an OEM may chage its
package name. For example, Google renames the package names for
GMS apps from android.foo.bar to com.google.android.foo.bar.
While we have more than one shared lib that are a part of the
platform (currently shared and services libs) the serivces lib
is the only one clients need to start components in, thus need
to know its package name. This change adds an API to query the
package name of the services shared lib. The API is hidden as
currently the only clients are a part of the system.

Change-Id: Ied48fa4819024522791764b22b3336d4f4b42cc3
2016-02-09 18:49:27 -08:00
Steve McKay
30ff5dd2c8 Merge "Automatically open roots pane if default dir is empty." into nyc-dev 2016-02-10 02:28:13 +00:00
Daichi Hirono
619afdaae1 Check parent existance when adding/removing documents.
BUG=26212981
Change-Id: I8109e2324c027ec2182c6f521d57f3fe078a8660
(cherry picked from commit df803ec6ebd47ddc7f97ea8ef13aa359ecc7fb95)
2016-02-10 02:17:28 +00:00
Tomasz Mikolajewski
65d9a51afa Fix flakiness of testFilesList_LiveUpdate.
Change-Id: I87618d5640e2e17de3188554d561abc5f3a3152a
(cherry picked from commit 1008c2d4878abde1890560ef48eec229a4253445)
2016-02-10 02:11:37 +00:00
Steve McKay
40d5d9d827 Merge "Don't apply fancy back logic when drawer is not present." into nyc-dev 2016-02-10 02:00:38 +00:00
Andre Eisenbach
d4263faf8c Add Developer menu entry to disable Bluetooth absolute volume
NOTE: Original CL updated: Developer-related settings in
res/values/strings.xml are now in SettingsLib .

Bug: 27078729
Change-Id: I499c420b1eb8cafd674cd69f29ed64f6126307f0
2016-02-10 01:54:07 +00:00