Commit Graph

232022 Commits

Author SHA1 Message Date
Steve McKay
95cd85ad38 Simplify State initialization w/ better semantics + improved Task security.
Also, reveal the illusion that we're restoring state in Files and Downloads.
Also, define a "PairedTask" class that guards calls to task methods
    with checks against isDestroyed. This also let us make all of the tasks
    static, so we get much narrower scope and tasks can even be moved to
    their own files.

Change-Id: I6a9e8706e1ab1d1f43301e73dd9858a115a6baaf
2016-02-04 18:30:29 -08:00
Chris Craik
3fd03b718d Merge "Add SkiaBehaviorTests" 2016-02-04 18:08:20 +00:00
Steve McKay
0df25f0d2a Merge "Honor javadocs, call super first in DocumentsProvider.call handling." 2016-02-04 18:06:45 +00:00
Roozbeh Pournader
37c80bc984 Merge "Add CharSequence interfaces for BidiFormatter" 2016-02-04 18:05:54 +00:00
Steve McKay
f8d898590b Honor javadocs, call super first in DocumentsProvider.call handling.
Change-Id: Ic7d8d629c4c7df39ce3e2524670169752bab899b
2016-02-04 10:05:52 -08:00
Mikhail Naganov
cc83ea7967 Merge "Make flags related for "external services" public" 2016-02-04 17:41:19 +00:00
Jason Monk
62d59cc4a6 Merge "Adjust QS Header in landscape" 2016-02-04 17:38: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
Felipe Leme
95f6280bf1 Merge "Propagate changes when uids are added or removed to the restricted background whitelist." 2016-02-04 17:19:34 +00:00
Filip Gruszczynski
1ad24fe228 Merge "Infrastructure for animating of maximizing pip activity." 2016-02-04 17:16:53 +00:00
Filip Gruszczynski
c17d8b79af Infrastructure for animating of maximizing pip activity.
Bug: 25672053
Change-Id: Ie8a83c626680e01ff7115f40731ab9e6c13769c0
2016-02-04 09:01:05 -08:00
Felipe Leme
a2773089a6 Merge "Created commands to manage metered networks." 2016-02-04 17:00:52 +00:00
Jason Monk
fece2ab2f7 Adjust QS Header in landscape
Give some padding on the expand arrow.

Change-Id: Ia2f88beb453634bfc82a17033f2e7a76d12e2620
2016-02-04 11:41:18 -05:00
Jason Monk
47148a7987 Merge "Rewrite QS customizer" 2016-02-04 16:22:24 +00:00
Alan Viverette
d50ed370f3 Merge "Improve handling of popup window exit when host window goes away" 2016-02-04 16:09:09 +00:00
Jason Monk
62b63a02d7 Rewrite QS customizer
Instead of custom draginess, use RecyclerView with a GridLayoutManager.

Still needs a bit of work, but the overall feel is significantly better
than before.

Change-Id: I3b3927472f69721e265ef7591de2f3052862f392
2016-02-04 10:16:35 -05:00
Jason Monk
c265356596 Merge "Update QS + Notification landscape width" 2016-02-04 15:06:02 +00:00
Jason Monk
bef6de8b3f Update QS + Notification landscape width
Make it bigger, also make QS + Notification width update on config
change, so the new width can take effect.

Change-Id: Id069d21358d7bb716a1dfadc21fa11d1e5d69575
2016-02-04 10:04:58 -05:00
Nicolas Prévot
1615c3ff12 Merge "IntentForwarderActivity shouldn't crash if intent has no action." 2016-02-04 14:29:47 +00:00
Nicolas Prevot
decd9ea263 IntentForwarderActivity shouldn't crash if intent has no action.
Also don't crash when receiving a chooser intent with no
extra initial intent.

BUG:26445101
Change-Id: Icaf55881a015cf8cc76e5269b9bb67784dbf33c3
2016-02-04 14:15:46 +00:00
Neil Fuller
49d34d995b Merge "Revert "Add java.util.function APIs"" 2016-02-04 13:11:00 +00:00
Neil Fuller
b7b1db11d6 Revert "Add java.util.function APIs"
Premature submission. Need to wait until stubs support 1.8.

This reverts commit 311a97e7f4.

Change-Id: Iba1361b90f75cad139f94044184c5295483fedcd
2016-02-04 13:09:42 +00:00
Neil Fuller
14ea90e824 Merge "Add java.util.function APIs" 2016-02-04 13:07:43 +00:00
Steven Ng
ee081d5bd0 Merge "Add new permission and action for managed provisioning (QR flow)" 2016-02-04 10:24:44 +00:00
Daichi Hirono
95aaf5d5b0 Merge "Drop device name from storage document name." 2016-02-04 08:29:46 +00:00
Daichi Hirono
f83ccbd7ed Drop device name from storage document name.
When device has multiple storages, storage are shown as directory under
the device root. In this case, we would not like to add device name to
storage.

Note that we still use "device name + storage name" for root name if the
device has a single storage because we skip storage directory in this
case and shows storage's contents directly under the device.

BUG=26625708

Change-Id: Ie13b044e71ae9b5131c4a01ee9d605023d05f168
2016-02-04 17:27:52 +09:00
Mihai Niță
85a74240fb Merge "Fixing language search box size and maximization" 2016-02-04 06:13:43 +00:00
Tomasz Mikolajewski
e21d23515f Merge "Migrate *ActivityUiTest to use ActivityInstrumentationTestCase2." 2016-02-04 06:07:43 +00:00
Tomasz Mikolajewski
24586893ba Migrate *ActivityUiTest to use ActivityInstrumentationTestCase2.
Change-Id: I24f2846c551e0123ad87b3db8a1f5c7dbf628c0c
2016-02-04 15:06:35 +09:00
Daichi Hirono
7c1cb59fab Merge "Fix Identifier.equals method." 2016-02-04 06:06:18 +00:00
Mihai Nita
920280b4d1 Fixing language search box size and maximization
The search box for the language was entering full screen in
landscape mode, making the search results invisible.
It was also "shifted" to the right, leaving a few characters from
the title visible (ugly), and making the edit area smaller.

This change fixes that behavior, and because we have more space
we can also increase the character limit for the hint string.

Bug: 26944452
Bug: 26944321
Bug: 26957818
Bug: 26732587
Change-Id: Ib5901bd7240ac57b6d39cb4392edccc8d941802d
2016-02-03 21:33:37 -08:00
Daichi Hirono
19aa93249e Fix Identifier.equals method.
Previously the string was compared by ==.

BUG=26970351

Change-Id: If88b74392955388c9bf59002f2d2a186c2dff71a
2016-02-04 14:19:52 +09:00
Tomasz Mikolajewski
30f0fc7f38 Merge "Fix flaky testLoadsHomebyDefault." 2016-02-04 04:38:29 +00:00
Steve McKay
c67aacc76f Merge "Normalize toolbar management." 2016-02-04 04:20:55 +00:00
Daichi Hirono
cf2b0ab205 Merge "Open MTP device on demand." 2016-02-04 04:15:50 +00:00
Mihai Niță
28310218dd Merge "Update the title when going back from region selection" 2016-02-04 04:03:48 +00:00
Jorim Jaggi
09102359ed Merge "Incremental local builds for frameworks" 2016-02-04 03:46:08 +00:00
Daichi Hirono
fda7474c5f Open MTP device on demand.
Previously MtpDocumentsProvider opens a device just after device is
connected to Android. But MtpDocumentsProvider should open MTP device on
demand so that other applications can open device if user starts to use
the application before using MtpDocumentsProvider.

BUG=26625708

Change-Id: I6083b8c7cef49ee6e9fb0d15ca4adc129734f3eb
2016-02-04 12:45:58 +09:00
Abhijith Shastry
3af4eb5b50 Merge "Add API in TelecomManager to launch the UI to manage blocked numbers." 2016-02-04 03:43:54 +00:00
Tomasz Mikolajewski
1c0b2326b8 Fix flaky testLoadsHomebyDefault.
The test was resuming a previously opened activity, so naturally the
redirect to Home didn't happen.

This CL fixes the issue by closing the activity in TearDown().

Change-Id: I43e78a83c2b53c52745bc7eef515a8f759559e46
2016-02-04 11:50:45 +09:00
Roozbeh Pournader
2f35c6405e Add CharSequence interfaces for BidiFormatter
The previous code just supported strings, but there were requests for
using BidiFormatter while keeping the spans.

Bug: 26967041
Change-Id: If2a1eeaf2cf1eedff3a83b79a105ea79ed1b85c1
2016-02-03 18:44:15 -08:00
Chris Craik
07d8d59e21 Add SkiaBehaviorTests
Change-Id: Ie2983f7a0c9e8bdd8c8de507d70ecf3aefdd9425
2016-02-03 18:43:04 -08:00
Andre Eisenbach
505514e68e Merge "Implementation of BluetoothDevice.createBondOutOfBand" am: 026a58476b
am: 7cbc1aeecd

* commit '7cbc1aeecdb41076e26c2aa70bdc971ddb294e21':
  Implementation of BluetoothDevice.createBondOutOfBand
2016-02-04 02:17:07 +00:00
Steve McKay
1f264a8a1a Normalize toolbar management.
Since it was almost all redundant (especially the stack stuff).
Ensure "Files" title present on drawer title in Files app.
DocumentsToolBar > DocumentsToolbar to match toolkit naming.

Bug: 26193264
Change-Id: I92c82c66d936aae3ce0f792581daa12898dfadee
2016-02-03 17:59:06 -08:00
Chris Craik
fdbc795e48 Merge "Remove unnecessary fence in macrobench" 2016-02-04 01:43:40 +00:00
Chris Craik
2705c983f5 Remove unnecessary fence in macrobench
bug:26882579

Change-Id: Ic2d610b5ae7e04513dc7f7fa99d355d406a73379
2016-02-03 17:39:41 -08:00
Christopher Tate
4cf5a49e54 Mark the idle-maint trigger broadcast 'protected'
Bug: 26942536
Change-Id: I52d6b304fc894cad7957f84946178378c309f621
2016-02-03 16:42:19 -08:00
Andre Eisenbach
7cbc1aeecd Merge "Implementation of BluetoothDevice.createBondOutOfBand"
am: 026a58476b

* commit '026a58476ba219bcc08608c2e6156683c9158d5d':
  Implementation of BluetoothDevice.createBondOutOfBand
2016-02-04 00:35:32 +00:00
Andre Eisenbach
026a58476b Merge "Implementation of BluetoothDevice.createBondOutOfBand" 2016-02-04 00:25:34 +00:00
Mikhail Naganov
278fb3b359 Make flags related for "external services" public
ServiceInfo.FLAG_EXTERNAL_SERVICE is set when the service is
exported with the new public manifest attribute "android:externalService"

Context.BIND_EXTERNAL_SERVICE is used by clients when they
are binding such service.

Bug: 22084679
Bug: 21643067
Change-Id: Ifd708f90b47a1571cd54c5ec9fc217f0567d5ff4
2016-02-03 16:22:33 -08:00