Commit Graph

257674 Commits

Author SHA1 Message Date
TreeHugger Robot
1fc63da0e5 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2016-12-22 16:57:14 +00:00
TreeHugger Robot
45c9ba9c15 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2016-12-22 08:00:09 +00:00
Bill Yi
7158c89582 Import translations. DO NOT MERGE
Change-Id: Id563dc4a6227745978c8999d577b0970c5c1103f
Auto-generated-cl: translation import
2016-12-21 19:50:32 -08:00
Bill Yi
0277a42568 Import translations. DO NOT MERGE
Change-Id: I292c850e85d1d11be974bc80ddd0ecd7a66ca557
Auto-generated-cl: translation import
2016-12-21 19:41:35 -08:00
Hugo Benichi
1f0d972efc NetworkNotificationManager: remove spammy log
Test: build, flashed, booted phone.
Bug: 32198726
Change-Id: I3ac2f07c756f48653195f6198aaee4d8b3939fb5
2016-12-22 09:51:01 +09:00
Adrian Roos
4869a55f66 Merge "DirectReply: Close if touching outside status bar" into nyc-mr2-dev 2016-12-21 19:56:42 +00:00
Daniel Nishi
fbe70a3e93 Merge "Enable multi-dex for coverage builds to fix breakage" into nyc-mr2-dev 2016-12-21 18:37:29 +00:00
TreeHugger Robot
b9606a5d09 Merge "DO NOT MERGE - Disabled swiping in Grid-based Recents." into nyc-mr2-dev 2016-12-21 18:09:48 +00:00
Allen Hair
77a51d1274 Enable multi-dex for coverage builds to fix breakage
Test: m PRODUCT-bullhead-userdebug showcommands dist EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true SKIP_BOOT_JARS_CHECK=true WITH_DEXPREOPT=false tests
Change-Id: I6a324cbd0dc078ad2903345a069385d9f0d179ff
(cherry picked from commit aeaee4c5fe)
2016-12-21 17:22:33 +00:00
TreeHugger Robot
09c0fdca7b Merge "DO NOT MERGE - Delete the separate grid recents activity and related code" into nyc-mr2-dev 2016-12-21 03:35:45 +00:00
TreeHugger Robot
639f95dd13 Merge changes from topic 'diskstats-mr2' into nyc-mr2-dev
* changes:
  Augment diskstats dumpsys to have categorization and apps.
  Add a file collector to the platform.
2016-12-21 02:14:54 +00:00
TreeHugger Robot
8fd55702b1 Merge "Add an app size collector." into nyc-mr2-dev 2016-12-21 02:14:54 +00:00
Jiaquan He
620aebabb2 DO NOT MERGE - Disabled swiping in Grid-based Recents.
Bug: 32101881
Change-Id: I45a806a6b1fc387b2c560a8f2228ad83e4068d7c
(cherry picked from commit 7e09146f13)
2016-12-21 02:02:44 +00:00
Manu Cornet
e93f8100a6 DO NOT MERGE - Delete the separate grid recents activity and related code
This was the first attempt at implementing grid-based Recents.
The new implementation doesn't use a separate activity and reuses a lot
more code.

Bug: 32101881
Test: Checked Recents behavior on local sw600dp device
Change-Id: Ic3535fc49f3f5448d6002d354678b633f122f57d
2016-12-20 17:52:45 -08:00
Brad Ebinger
5153e46897 Merge "Adds custom call forwarding block while roaming carrier config key" into nyc-mr2-dev 2016-12-21 01:29:13 +00:00
TreeHugger Robot
f77ca5fa18 Merge "Bluetooth: persist state when turning on from BLE" into nyc-mr2-dev 2016-12-20 23:29:38 +00:00
TreeHugger Robot
72df83d117 Merge "Add flags to send package name for feedback." into nyc-mr2-dev 2016-12-20 22:57:19 +00:00
Brad Ebinger
eab25ae197 Adds custom call forwarding block while roaming carrier config key
Adds support for supplying custom call forwarding prefixes in the carrier
config. When a prefix supplied in the carrier config is matched to the number
being dialed, we do not complete the call and instead show an error message
on the dialer UI.

Test: Manual
Bug: 30458052
Merged-In: I3149a565b0fd631d69ab0c0f27be509237b80177
Change-Id: I3149a565b0fd631d69ab0c0f27be509237b80177
2016-12-20 14:34:52 -08:00
TreeHugger Robot
a03c3e74a4 Merge "Fix incorrect FIFO cgroup assignment." into nyc-mr2-dev 2016-12-20 22:10:03 +00:00
TreeHugger Robot
5ef12f244c Merge "DO NOT MERGE - Port 2D recents implementation from master to nyc-mr2" into nyc-mr2-dev 2016-12-20 21:50:16 +00:00
Xiaohui Chen
2d6accd7a9 Merge "sysui: update sw900dp navbar sizes" into nyc-mr2-dev 2016-12-20 21:44:26 +00:00
Daniel Nishi
090b2d9d6c Augment diskstats dumpsys to have categorization and apps.
This adds a new service which opportunistically saves the
file system categorization information and the app sizes. This
information is fetched during a diskstats dumpsys call from a file
stored on the disk. This allows us to keep the dumpsys running quickly
while adding information which is costly to calculate.

Bug: 32207207
Test: System server instrumentation tests
Change-Id: Id59e84b9ad38a9debf3e46e5133ef06f7353829d
2016-12-20 13:32:51 -08:00
Daniel Nishi
c7d9de59bf Add an app size collector.
The app collector gets a list of app sizes for packages on a given
storage volume. This information will be exposed as part of an
expansion of the diskstats dumpsys.

When the collector runs, it sets up a handler on a BackgroundThread
which asks the PackageManager for the package sizes for all apps and
all users. The call for the information is blocked using a
CompletableFuture until the call times out or until we've received
all of the package stats. After the stats are all obtained, the
future completes.

Bug: 32207207
Test: System server instrumentation tests
Change-Id: I3a27dc4410effb12ae33894b561c02a60322f7b0
2016-12-20 13:28:14 -08:00
Daniel Nishi
be770dce08 Add a file collector to the platform.
The file collector takes in a file path and recursively
classifies and provides the amount of storage provided by
each classification. This information can be surfaced in
Settings or to fulfill storage telemetry calculations.

Bug: 32207207
Test: System server instrumentation tests
Change-Id: Iff03260859cd4bbd11e7d60b1825115aad540d48
2016-12-20 13:24:14 -08:00
Marie Janssen
fa9bec95a5 Bluetooth: persist state when turning on from BLE
Test: in BLE_ON state, turn to full on, reboot phone
Bug: 33777496
Change-Id: I246d6ff0dcb81d66aa915ef443040d6fc3c98310
2016-12-20 13:09:47 -08:00
Andrew Sapperstein
8dc3b870a0 Add flags to send package name for feedback.
Bug: 32189956
Test: make RunSettingsLibRoboTests
Change-Id: I0bd40fdf60b4f3ee21afad6e3f7dc3e4e87212f0
(cherry picked from commit c05c740d60)
2016-12-20 21:06:38 +00:00
Manu Cornet
bf8e290376 DO NOT MERGE - Port 2D recents implementation from master to nyc-mr2
Bug: 32101881
Test: Checked Recents layout/behavior on local sw600dp device
Change-Id: I40be7dbaf8bc017b4c7c449f9bca657817107ceb
2016-12-20 12:10:41 -08:00
Tim Murray
2dc4a74806 Fix incorrect FIFO cgroup assignment.
bug 33745094

Change-Id: I46eefc8ea6f17ca3795f4743692ddfea36d5db0f
2016-12-20 12:06:33 -08:00
Philipp Weiß
2f42cbcad5 Merge "DO NOT MERGE Show notification when network logging is enabled" into nyc-mr2-dev 2016-12-20 19:52:09 +00:00
phweiss
923d2cc9d9 DO NOT MERGE Show notification when network logging is enabled
A notification is shown after network logging is enabled
and after the next three reboots that are at least one day apart.

Clicking it sends an intent to quick settings to shown its device monitoring
dialog.

Cherry-picked from master.

Bug: 29748723
Bug: 33126577

(cherry-picked from commit a0cb251ca6)

Test: Manual, CTS-Verifier tests will be added later
Change-Id: I2bf517bd27ab23ad3f66270602dbf062efab8cbb
2016-12-20 19:23:58 +01:00
Philipp Weiß
4d3aa8e8ab Merge "DO NOT MERGE Rework Device Monitoring Dialog in Quicksettings" into nyc-mr2-dev 2016-12-20 17:57:37 +00:00
Tony Mak
ff11122ddc DO NOT MERGE: Cross profile candidate should be considered
Bug: 32547783

Fixed the regression introduced in 8e2d9d1d90

Test: Manual test - Open a map link in work calendar, personal map is shown as an option.

Change-Id: If5651b5e09cf1916813e8f91dbdcdf53f9119ef2
(cherry picked from commit 9f2c93663c)
2016-12-20 16:43:45 +00:00
phweiss
2f512047c2 DO NOT MERGE Rework Device Monitoring Dialog in Quicksettings
If a device owner is active, the layout is changed from a
standard AlertDialog with only one string to a custom dialog
that includes information on Device Owners, and VPN and Network Logging,
if enabled.

Cherry-picked from master and modified to not rely on changes that are not in
N:

A change in master renamed some variables in QSFooter.createDialog() and made
them final, this change is also included here.

The owner's organization name cannot be set in N.

In the case of active Device Owner and active VPN, there was a specialized
string for this in N. This string was now replaced by using the simpler
Device Owner string + an own entry for VPN in the new layout.

Some imports had to be included that were already there on master.

The dimen-tag throws an error message on floats during build, replaced by an
item-tag.

BUG: 29748723
BUG: 33126622
Test: Manual, CTS-Verifier tests will be added later

(cherry picked from commit 9e450e1233)

Change-Id: I2bfca9d9d02a42d9c3b17683625eda29e9369666
2016-12-20 17:11:01 +01:00
Hugo Benichi
a865790a5b DO NOT MERGE Stricter NetworkNotificationManagerTest
This patch changes NetworkNotificationManagerTest to populate extraInfo
of NetworkInfo in order to catch regressions in malformed format Strings
of log statements in NetworkNotificationManager.

Test: verified that the test fails when reintroducing the format String
bug.
Bug: 33737715

Change-Id: If14063554b8246d9d80cd222cb41c30dee121c5a
2016-12-20 05:02:28 +00:00
TreeHugger Robot
7eaec196b7 Merge changes I40064d3e,I50594ad8 into nyc-mr2-dev
* changes:
  DO NOT MERGE Fix other String.format issues in NetworkNotificationManager.java
  DO NOT MERGE Fix malformed log statement.
2016-12-20 04:58:54 +00:00
Paul Stewart
8e21030679 DO NOT MERGE Fix other String.format issues in NetworkNotificationManager.java
Commit fb2609d3ee added a string
format which caused an exception.  On top of the fixes to this
from e140616718, we can also fix
a few more issues here with some missing arguments to other
String.format invocations in the aforementioned CL, and other
formatting problems.

Bug: 33737715
Test: Build and run SUW

(cherry picked from commit 835cb49639)

Change-Id: I40064d3e1a0f0300c43bdbc51839b579a5394a36
2016-12-20 12:31:49 +09:00
Joe LaPenna
02ca23d9a2 DO NOT MERGE Fix malformed log statement.
Introduced in I1201d1d4fab8183dd83449c2afb2c35cfece883f

BUG: 33746580

Test: built, triggered notification, no crash.

(cherry picked from commit e140616718)

Change-Id: I50594ad865e6f95abc5c67c58af604ef2aa88f9b
2016-12-20 12:31:45 +09:00
Chris Tate
793c634d1e Merge "Migrate system+lock wallpaper to lock-only when setting live wp" into nyc-mr2-dev 2016-12-20 01:01:55 +00:00
Xiaohui Chen
c48f07bc82 sysui: update sw900dp navbar sizes
Bug: 32516898
Change-Id: I3e1a2855fa3cb2f538bf87df3d48ac3dcfc4c67a
2016-12-19 16:33:16 -08:00
Adrian Roos
6d53de63bb DirectReply: Close if touching outside status bar
Close direct reply when a touch outside the status bar window
happens. This is especially important with HUNs, where we allow
the touch to go through to the underlying window.

Change-Id: I12b9cbd5c699b86bcf1f56723a2f0ac5de7e5a42
Test: Receive SMS while unlocked, click Reply on heads-up notification, click in between notification and IME. Verify direct reply closes.
Fixes: 32022071
2016-12-19 16:27:50 -08:00
Christopher Tate
7cd0010df6 Migrate system+lock wallpaper to lock-only when setting live wp
If the static imagery is shared between system+lock, preserve the lock
presentation when setting a different system-surface live wallpaper.  If
the caller knows it wants to achieve system+lock display of the new live
wallpaper, it follows up setWallpaperComponent() with an explicit clear
of the lock wallpaper state.

Previously, setting a new system live wallpaper would necessarily override
a desired static lock image in the case of system+lock shared imagery.
Now it doesn't.

Bug 32664317

Change-Id: I7ef2cded534f9e6e91899db4c37bd24efaf09fee
2016-12-19 14:38:44 -08:00
TreeHugger Robot
9ec4256a17 Merge "Start sensor service in a seperate thread" into nyc-mr2-dev 2016-12-19 20:59:15 +00:00
Mark Lu
fa0c9f2352 Merge "docs: remove implicit intent from bindService and startService" into nyc-mr1-dev am: cbfb58c9d7
am: 70fa908fb2

Change-Id: I1eab802afe75f847555baa8964030a1bb994107a
2016-12-19 20:28:59 +00:00
Mark Lu
a8107e1074 docs: remove implicit intent from bindService and startService am: 94ebbe0e58
am: d7c29565ba

Change-Id: I44109d60ff26725daf6ebbce50bac9a7068146fe
2016-12-19 20:27:52 +00:00
Mark Lu
70fa908fb2 Merge "docs: remove implicit intent from bindService and startService" into nyc-mr1-dev
am: cbfb58c9d7

Change-Id: If12008d4e9fe1883c6c4f21e6e6736045b325182
2016-12-19 20:22:00 +00:00
Mark Lu
d7c29565ba docs: remove implicit intent from bindService and startService
am: 94ebbe0e58

Change-Id: Iaf24452f3456703c917a2a574ff218c9eac854bd
2016-12-19 20:21:57 +00:00
Mark Lu
353e197a8a docs: update Paint.setTextSize() to indicate pixel units am: 5f05256106
am: 9c834b1241

Change-Id: I3288982f953f36ae08a36ca324edb6937633bd18
2016-12-19 20:21:21 +00:00
Mark Lu
9c834b1241 docs: update Paint.setTextSize() to indicate pixel units
am: 5f05256106

Change-Id: I9709ea36fe7657c8a06abe1c58760b30112e0e63
2016-12-19 20:16:15 +00:00
Mark Lu
cbfb58c9d7 Merge "docs: remove implicit intent from bindService and startService" into nyc-mr1-dev 2016-12-19 20:13:20 +00:00
Brad Ebinger
73dcab62b7 Merge "Add UI prompt for MMI code failure on 3gpp" into nyc-mr2-dev 2016-12-19 19:53:05 +00:00