Commit Graph

301953 Commits

Author SHA1 Message Date
Paul Stewart
cf03183241 Merge changes I40064d3e,I50594ad8 into nyc-mr2-dev
am: 7eaec196b7

Change-Id: I85c6652d8cdfc387b27fe2a11026c05b5df667a5
2016-12-20 05:04:55 +00:00
Paul Stewart
d0d9493102 DO NOT MERGE Fix other String.format issues in NetworkNotificationManager.java
am: 8e21030679

Change-Id: I79c4129b861b9dd93ac14acce5a86aadd48e8d39
2016-12-20 05:04:46 +00:00
Joe LaPenna
5013035d95 DO NOT MERGE Fix malformed log statement.
am: 02ca23d9a2

Change-Id: Ie52f24f39305f325e01972f5046247482053db28
2016-12-20 05:04:02 +00:00
Tomasz Mikolajewski
080a88ed63 Merge "Update documentation for ACTION_SEND." 2016-12-20 05:03:54 +00: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
Jeremy Joslin
559ef22886 Merge "Implement the discovery of a network recommendation provider." am: 470d256519 am: 8fbeb1d74a am: af811c2650
am: d0d32e238e  -s ours

Change-Id: Ic0c92afffa6db717621df9b10f75f4f76443b6a9
2016-12-20 03:42:01 +00:00
Jeremy Joslin
d0d32e238e Merge "Implement the discovery of a network recommendation provider." am: 470d256519 am: 8fbeb1d74a
am: af811c2650

Change-Id: I18d4c618f78796cbbe6d895c5b2f888c4a9a55ff
2016-12-20 03:37:58 +00:00
Jeremy Joslin
af811c2650 Merge "Implement the discovery of a network recommendation provider." am: 470d256519
am: 8fbeb1d74a

Change-Id: I322592326e0a409131a4dd33ab1f907b9262dbf2
2016-12-20 03:34:02 +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
Jeremy Joslin
8fbeb1d74a Merge "Implement the discovery of a network recommendation provider."
am: 470d256519

Change-Id: I804df594669be3b42704dead7007790666bef0f6
2016-12-20 03:26:04 +00:00
Treehugger Robot
470d256519 Merge "Implement the discovery of a network recommendation provider." 2016-12-20 03:16:32 +00:00
TreeHugger Robot
ec2f1ba0cc Merge "2D Recents: Show / hide / layout the Clear all button as needed" 2016-12-20 02:30:54 +00:00
Andrew Sapperstein
c05c740d60 Add flags to send package name for feedback.
Bug: 32189956
Test: make RunSettingsLibRoboTests
Change-Id: I0bd40fdf60b4f3ee21afad6e3f7dc3e4e87212f0
2016-12-19 18:12:53 -08:00
Connor O'Brien
28308c813f Merge "Update ConsumerIrService to match revised IR HAL" 2016-12-20 02:12:03 +00:00
Jeremy Joslin
36d4c48496 Implement the request and recommend calls.
Implemented requestRecommendation() and requestScores() to call
through to the bound network recommendation provider if available.

BUG: 33593157
BUG: 33668692
Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Change-Id: I055251fa94d93d4ea4e5001c4ec6c1dfb626d1b2
Merged-In: I8e2ed73dc6876deb1a8bd47bcaeaca8db68f3a44
2016-12-19 17:53:47 -08:00
Jeremy Joslin
b8418ac89a Implement the discovery of a network recommendation provider.
Updated the NetworkScorerAppManager to examine the list of configured
network recommendation providers and to select the first valid
provider.

As part of this update the old logic of looking for a valid network
scorer has been removed. Scorers/recommendation providers are only
selected from the configured list now. The setActiveScorer() method
has been deprecated as a result.

The NetworkScoreService has been updated to monitor the list of
potential recommendation providers and to reevaluate the binding
whenever they change. It also monitors the new setting for
NETWORK_RECOMMENDATIONS_ENABLED to connect or disconnect from the
provider as needed.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
BUG: 33158362
Change-Id: I450981261aa5355c1c91ec2e3a0a3b58cc65316b
Merged-In: I42aeb5223da794f71f7e58cb1bdf18817200cbf2
2016-12-19 17:53:47 -08:00
Manu Cornet
8d5d54aacc 2D Recents: Fix another typo in a dimension (fixes a layout glitch)
Bug: 32101881
Test: On sw600dp device, checked that layout glitch is fixed in Recents
Change-Id: I8587e35843e88be8fc0efcdcd360c8eb03751560
2016-12-19 17:42:14 -08:00
jackqdyulei
63b5c2f4f5 Set background of DrawerLayout to statusBarColor
Bug: 30811708
Test: Manual
Change-Id: Ib77a7f65de04840c96c52b3ca2fa7bfdbadd25b3
2016-12-19 17:38:29 -08:00
Jeff Sharkey
e9ff480804 Merge "Remove ~1/3 of the installd calls at boot." am: 5bc305b97c am: d948865e27 am: e36f449c90
am: bdf62c82c8

Change-Id: Iae00facaf7131c24e0480e909d7386b8ad64e6d1
2016-12-20 01:29:43 +00:00
Jeff Sharkey
bdf62c82c8 Merge "Remove ~1/3 of the installd calls at boot." am: 5bc305b97c am: d948865e27
am: e36f449c90

Change-Id: I818578f22a8988a141636694ae3811ad2d45f52e
2016-12-20 01:25:19 +00:00
Chris Tate
3656beb805 Merge "Migrate system+lock wallpaper to lock-only when setting live wp" into nyc-mr2-dev am: 793c634d1e
am: c9db008a17

Change-Id: Id570a2ca59e7055af865e7f886663ed4ed2eca99
2016-12-20 01:18:46 +00:00
Jeff Sharkey
e36f449c90 Merge "Remove ~1/3 of the installd calls at boot." am: 5bc305b97c
am: d948865e27

Change-Id: Iaf9d7f9a3f7d2fd34a11ec2ee80d849fc7dd0078
2016-12-20 01:18:38 +00:00
Christopher Tate
d66b7e8270 Migrate system+lock wallpaper to lock-only when setting live wp am: 7cd0010df6
am: 9ee86cb987

Change-Id: I7d293d3d3cc0f60b0a3ce88ce9400db9d46fa20a
2016-12-20 01:17:58 +00:00
Jeff Sharkey
d948865e27 Merge "Remove ~1/3 of the installd calls at boot."
am: 5bc305b97c

Change-Id: Ia6af8d920971118f108320d08b15cbe3da59b28a
2016-12-20 01:14:35 +00:00
Chris Tate
c9db008a17 Merge "Migrate system+lock wallpaper to lock-only when setting live wp" into nyc-mr2-dev
am: 793c634d1e

Change-Id: I11f490cd67f31816abf0ed4dbed481eb9b21d6cf
2016-12-20 01:10:22 +00:00
Christopher Tate
9ee86cb987 Migrate system+lock wallpaper to lock-only when setting live wp
am: 7cd0010df6

Change-Id: I488880ddcb04894d18535815691d32d542bc71c1
2016-12-20 01:10:16 +00:00
Manu Cornet
5db30f099d 2D Recents: Show / hide / layout the Clear all button as needed
Bug: 33751088
Bug: 32101881
Test: On sw600dp device, checked recents layout and docking transitions
Change-Id: I011f6d1f73648662a9c937037c6547cdd1bbfcc8
2016-12-19 17:06:58 -08:00
Treehugger Robot
5bc305b97c Merge "Remove ~1/3 of the installd calls at boot." 2016-12-20 01:06:23 +00: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
Roozbeh Pournader
baefdc5baf Add locale choice for Cantonese for Hong Kong
The previous language codes for Hong Kong, zh-Hans-HK and zh-Hant-HK are
kept for now.

Bug: 33663646
Test: manual - Cantonese (粵語) appears in Settings as a choice
Change-Id: I09d8b18ee0b2f5b3eab6c752592cafb42cdb1538
2016-12-20 00:14:27 +00:00
Roozbeh Pournader
63a13cf754 Fix casting issue in use of ICU Measures
Bug: 19418509
Bug: 33670388
Bug: 33750033
Test: manual
Change-Id: I286cfed0cfe34166bd1fd1982089a11eb556fc44
2016-12-19 16:03:30 -08:00
Connor O'Brien
0d911aefee Update ConsumerIrService to match revised IR HAL
Length parameter is being removed from the transmit() function, so
remove it from the call to transmit() here.

Test: Built and confirmed service runs on boot.
Change-Id: Ie8011f4cb22020ae9ed30e90b8568ed35d38d0d2
Signed-off-by: Connor O'Brien <connoro@google.com>
2016-12-19 16:00:04 -08:00
Doris Ling
ec46371999 Merge "Overload TileUtils.getCategories() with an additional parameteri." 2016-12-19 23:53:36 +00:00
Carmen Jackson
9e2366704b Add tracing for broadcast sending.
Trace broadcasts at the time they're being processed, including
information about the caller and the intent payload.

Bug: 33645477
Test: https://screenshot.googleplex.com/9W1ugzJtVeK &
https://screenshot.googleplex.com/3RbERMPo1sA
Change-Id: I2fcfb8e056881f4ad60ec2ec3c7bf3e0e1060194
2016-12-19 15:49:50 -08:00
Jeff Sharkey
1c6f723973 Remove ~1/3 of the installd calls at boot.
When preparing CE storage for an app, we always perform a second call
to extract any newly created CE directory inode.  Let's simplify this
and just return the inode number from the createAppData() call.

Test: builds, boots, reads CE inodes after wipe
Bug: 33463450
Change-Id: I9b73da576800b56d7d0961dd4deb0b6a546acbe7
2016-12-19 16:39:54 -07:00
TreeHugger Robot
7a975728a3 Merge "2D recents: fix typo where I was using the wrong dimension" 2016-12-19 23:34:35 +00:00
Roozbeh Pournader
a27acfdebc Add font descriptions for six more scripts to fonts.xml
Font data for Phags-pa, Runic, Samaritan, and Tagalog are added, as
well as two new styles for Syriac (Estrangela was already included,
Eastern and Western are added).

Bug: 29535549
Bug: 32046261
Test: manual (new characters are now displayed) and 'make fontchain_lint'
Change-Id: Iad08286392850caf92e374818bd29d06b6a87e52
2016-12-19 15:19:35 -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
18f0d65135 Merge "2D recents: fix the app -> recents animation" 2016-12-19 22:35:38 +00:00
Matt Sarett
fa49cc0a03 Merge "Manual revert of "Decode to sRGB in BitmapFactory"" 2016-12-19 22:35:30 +00:00
TreeHugger Robot
1f44d3b8f9 Merge "Fix other String.format issues in NetworkNotificationManager.java" 2016-12-19 22:35:18 +00:00
TreeHugger Robot
48be50a5e9 Merge "Speed up sysui tests" 2016-12-19 22:34:54 +00:00
Jeremy Joslin
81b840ea5a Merge "Fix ScanResult array parceling." am: 5fdc86fb27 am: 68764eabb7 am: 5b1a460b94
am: 72624e0720  -s ours

Change-Id: I2ae8a19d0a0bc4deafbecfeadbc12803d1b2ff54
2016-12-19 22:26:16 +00:00
Doris Ling
485df11f77 Overload TileUtils.getCategories() with an additional parameteri.
Add a string parameter to specify any extra intent action to be used
to query all dashboard categories.

Bug: 32739952
Test: make RunSettingsLibRoboTests

Change-Id: I4df39acfde841ab0553fe01893e9e4a97d6f7bca
2016-12-19 14:24:36 -08:00
TreeHugger Robot
ccec35c456 Merge "Add tests, refactor min/targetSdkVersion checks in PackageParser" 2016-12-19 22:23:12 +00:00
TreeHugger Robot
4037fa0528 Merge "Disabled swiping in Grid-based Recents." 2016-12-19 22:18:43 +00:00