OSDN Git Service

android-x86/frameworks-base.git
7 years agoDO NOT MERGE Stricter NetworkNotificationManagerTest am: a865790a5b
Hugo Benichi [Tue, 20 Dec 2016 06:57:09 +0000 (06:57 +0000)]
DO NOT MERGE Stricter NetworkNotificationManagerTest am: a865790a5b
am: 2abde827c5  -s ours

Change-Id: I5146235a579a66e8101106f288624fa2c00c4d43

7 years agoDO NOT MERGE Stricter NetworkNotificationManagerTest
Hugo Benichi [Tue, 20 Dec 2016 06:49:08 +0000 (06:49 +0000)]
DO NOT MERGE Stricter NetworkNotificationManagerTest
am: a865790a5b

Change-Id: I94ea5c6994d181e730ec4f49e98001eb81ed8740

7 years agoMerge "Implement the request and recommend calls." am: 1e814b3928 am: b50fdc7faa...
Jeremy Joslin [Tue, 20 Dec 2016 06:41:23 +0000 (06:41 +0000)]
Merge "Implement the request and recommend calls." am: 1e814b3928 am: b50fdc7faa am: 949893f5b2
am: 71909ea39a  -s ours

Change-Id: Id214bf1902a46d95975f39b013f9c0622a570a37

7 years agoMerge "Implement the request and recommend calls." am: 1e814b3928 am: b50fdc7faa
Jeremy Joslin [Tue, 20 Dec 2016 06:37:11 +0000 (06:37 +0000)]
Merge "Implement the request and recommend calls." am: 1e814b3928 am: b50fdc7faa
am: 949893f5b2

Change-Id: Ibd03bace49bc277a2777c8483da6b4ebfc56d217

7 years agoMerge "Implement the request and recommend calls." am: 1e814b3928
Jeremy Joslin [Tue, 20 Dec 2016 06:32:42 +0000 (06:32 +0000)]
Merge "Implement the request and recommend calls." am: 1e814b3928
am: b50fdc7faa

Change-Id: I81f998b6934715f43797247f411919a4ceee5631

7 years agoMerge "Implement the request and recommend calls."
Jeremy Joslin [Tue, 20 Dec 2016 06:25:08 +0000 (06:25 +0000)]
Merge "Implement the request and recommend calls."
am: 1e814b3928

Change-Id: I91c905ab2fc7e061462fb96c2c81a783aa93a391

7 years agoMerge "Implement the request and recommend calls."
Treehugger Robot [Tue, 20 Dec 2016 06:16:03 +0000 (06:16 +0000)]
Merge "Implement the request and recommend calls."

7 years agoMerge changes I40064d3e,I50594ad8 into nyc-mr2-dev am: 7eaec196b7
Paul Stewart [Tue, 20 Dec 2016 05:13:54 +0000 (05:13 +0000)]
Merge changes I40064d3e,I50594ad8 into nyc-mr2-dev am: 7eaec196b7
am: cf03183241

Change-Id: Iea8951ca4ddc1b69ca57da6b9cbaf1bcdd860bcc

7 years agoDO NOT MERGE Fix other String.format issues in NetworkNotificationManager.java am...
Paul Stewart [Tue, 20 Dec 2016 05:12:30 +0000 (05:12 +0000)]
DO NOT MERGE Fix other String.format issues in NetworkNotificationManager.java am: 8e21030679
am: d0d9493102  -s ours

Change-Id: I3e94a34a2065939094f17f48383e2d9334d22f55

7 years agoDO NOT MERGE Fix malformed log statement. am: 02ca23d9a2
Joe LaPenna [Tue, 20 Dec 2016 05:11:38 +0000 (05:11 +0000)]
DO NOT MERGE Fix malformed log statement. am: 02ca23d9a2
am: 5013035d95  -s ours

Change-Id: I9a6397cd16ba1f2ed0e21d8206d6c93b00778c91

7 years agoMerge changes I40064d3e,I50594ad8 into nyc-mr2-dev
Paul Stewart [Tue, 20 Dec 2016 05:04:55 +0000 (05:04 +0000)]
Merge changes I40064d3e,I50594ad8 into nyc-mr2-dev
am: 7eaec196b7

Change-Id: I85c6652d8cdfc387b27fe2a11026c05b5df667a5

7 years agoDO NOT MERGE Fix other String.format issues in NetworkNotificationManager.java
Paul Stewart [Tue, 20 Dec 2016 05:04:46 +0000 (05:04 +0000)]
DO NOT MERGE Fix other String.format issues in NetworkNotificationManager.java
am: 8e21030679

Change-Id: I79c4129b861b9dd93ac14acce5a86aadd48e8d39

7 years agoDO NOT MERGE Fix malformed log statement.
Joe LaPenna [Tue, 20 Dec 2016 05:04:02 +0000 (05:04 +0000)]
DO NOT MERGE Fix malformed log statement.
am: 02ca23d9a2

Change-Id: Ie52f24f39305f325e01972f5046247482053db28

7 years agoMerge "Update documentation for ACTION_SEND."
Tomasz Mikolajewski [Tue, 20 Dec 2016 05:03:51 +0000 (05:03 +0000)]
Merge "Update documentation for ACTION_SEND."

7 years agoDO NOT MERGE Stricter NetworkNotificationManagerTest
Hugo Benichi [Tue, 20 Dec 2016 00:57:43 +0000 (09:57 +0900)]
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

7 years agoMerge changes I40064d3e,I50594ad8 into nyc-mr2-dev
TreeHugger Robot [Tue, 20 Dec 2016 04:58:51 +0000 (04:58 +0000)]
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.

7 years agoMerge "Implement the discovery of a network recommendation provider." am: 470d256519...
Jeremy Joslin [Tue, 20 Dec 2016 03:42:01 +0000 (03:42 +0000)]
Merge "Implement the discovery of a network recommendation provider." am: 470d256519 am: 8fbeb1d74a am: af811c2650
am: d0d32e238e  -s ours

Change-Id: Ic0c92afffa6db717621df9b10f75f4f76443b6a9

7 years agoMerge "Implement the discovery of a network recommendation provider." am: 470d256519...
Jeremy Joslin [Tue, 20 Dec 2016 03:37:58 +0000 (03:37 +0000)]
Merge "Implement the discovery of a network recommendation provider." am: 470d256519 am: 8fbeb1d74a
am: af811c2650

Change-Id: I18d4c618f78796cbbe6d895c5b2f888c4a9a55ff

7 years agoMerge "Implement the discovery of a network recommendation provider." am: 470d256519
Jeremy Joslin [Tue, 20 Dec 2016 03:34:02 +0000 (03:34 +0000)]
Merge "Implement the discovery of a network recommendation provider." am: 470d256519
am: 8fbeb1d74a

Change-Id: I322592326e0a409131a4dd33ab1f907b9262dbf2

7 years agoDO NOT MERGE Fix other String.format issues in NetworkNotificationManager.java
Paul Stewart [Mon, 19 Dec 2016 16:45:32 +0000 (08:45 -0800)]
DO NOT MERGE Fix other String.format issues in NetworkNotificationManager.java

Commit fb2609d3eee1c7a4dda889c000f32183a044978a added a string
format which caused an exception.  On top of the fixes to this
from e1406167186c2cabe683b3c1511ad6733e9106c9, 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 835cb49639fc7cb75819564fa15f2f5a0bd5dee2)

Change-Id: I40064d3e1a0f0300c43bdbc51839b579a5394a36

7 years agoDO NOT MERGE Fix malformed log statement.
Joe LaPenna [Mon, 19 Dec 2016 18:31:14 +0000 (10:31 -0800)]
DO NOT MERGE Fix malformed log statement.

Introduced in I1201d1d4fab8183dd83449c2afb2c35cfece883f

BUG: 33746580

Test: built, triggered notification, no crash.

(cherry picked from commit e1406167186c2cabe683b3c1511ad6733e9106c9)

Change-Id: I50594ad865e6f95abc5c67c58af604ef2aa88f9b

7 years agoMerge "Implement the discovery of a network recommendation provider."
Jeremy Joslin [Tue, 20 Dec 2016 03:26:04 +0000 (03:26 +0000)]
Merge "Implement the discovery of a network recommendation provider."
am: 470d256519

Change-Id: I804df594669be3b42704dead7007790666bef0f6

7 years agoMerge "Implement the discovery of a network recommendation provider."
Treehugger Robot [Tue, 20 Dec 2016 03:16:31 +0000 (03:16 +0000)]
Merge "Implement the discovery of a network recommendation provider."

7 years agoMerge "2D Recents: Show / hide / layout the Clear all button as needed"
TreeHugger Robot [Tue, 20 Dec 2016 02:30:52 +0000 (02:30 +0000)]
Merge "2D Recents: Show / hide / layout the Clear all button as needed"

7 years agoMerge "Update ConsumerIrService to match revised IR HAL"
Connor O'Brien [Tue, 20 Dec 2016 02:12:00 +0000 (02:12 +0000)]
Merge "Update ConsumerIrService to match revised IR HAL"

7 years agoImplement the request and recommend calls.
Jeremy Joslin [Fri, 9 Dec 2016 21:11:51 +0000 (13:11 -0800)]
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

7 years agoImplement the discovery of a network recommendation provider.
Jeremy Joslin [Tue, 6 Dec 2016 15:42:38 +0000 (07:42 -0800)]
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

7 years agoMerge "Remove ~1/3 of the installd calls at boot." am: 5bc305b97c am: d948865e27...
Jeff Sharkey [Tue, 20 Dec 2016 01:29:43 +0000 (01:29 +0000)]
Merge "Remove ~1/3 of the installd calls at boot." am: 5bc305b97c am: d948865e27 am: e36f449c90
am: bdf62c82c8

Change-Id: Iae00facaf7131c24e0480e909d7386b8ad64e6d1

7 years agoMerge "Remove ~1/3 of the installd calls at boot." am: 5bc305b97c am: d948865e27
Jeff Sharkey [Tue, 20 Dec 2016 01:25:19 +0000 (01:25 +0000)]
Merge "Remove ~1/3 of the installd calls at boot." am: 5bc305b97c am: d948865e27
am: e36f449c90

Change-Id: I818578f22a8988a141636694ae3811ad2d45f52e

7 years agoMerge "Migrate system+lock wallpaper to lock-only when setting live wp" into nyc...
Chris Tate [Tue, 20 Dec 2016 01:18:46 +0000 (01:18 +0000)]
Merge "Migrate system+lock wallpaper to lock-only when setting live wp" into nyc-mr2-dev am: 793c634d1e
am: c9db008a17

Change-Id: Id570a2ca59e7055af865e7f886663ed4ed2eca99

7 years agoMerge "Remove ~1/3 of the installd calls at boot." am: 5bc305b97c
Jeff Sharkey [Tue, 20 Dec 2016 01:18:38 +0000 (01:18 +0000)]
Merge "Remove ~1/3 of the installd calls at boot." am: 5bc305b97c
am: d948865e27

Change-Id: Iaf9d7f9a3f7d2fd34a11ec2ee80d849fc7dd0078

7 years agoMigrate system+lock wallpaper to lock-only when setting live wp am: 7cd0010df6
Christopher Tate [Tue, 20 Dec 2016 01:17:58 +0000 (01:17 +0000)]
Migrate system+lock wallpaper to lock-only when setting live wp am: 7cd0010df6
am: 9ee86cb987

Change-Id: I7d293d3d3cc0f60b0a3ce88ce9400db9d46fa20a

7 years agoMerge "Remove ~1/3 of the installd calls at boot."
Jeff Sharkey [Tue, 20 Dec 2016 01:14:35 +0000 (01:14 +0000)]
Merge "Remove ~1/3 of the installd calls at boot."
am: 5bc305b97c

Change-Id: Ia6af8d920971118f108320d08b15cbe3da59b28a

7 years agoMerge "Migrate system+lock wallpaper to lock-only when setting live wp" into nyc...
Chris Tate [Tue, 20 Dec 2016 01:10:22 +0000 (01:10 +0000)]
Merge "Migrate system+lock wallpaper to lock-only when setting live wp" into nyc-mr2-dev
am: 793c634d1e

Change-Id: I11f490cd67f31816abf0ed4dbed481eb9b21d6cf

7 years agoMigrate system+lock wallpaper to lock-only when setting live wp
Christopher Tate [Tue, 20 Dec 2016 01:10:16 +0000 (01:10 +0000)]
Migrate system+lock wallpaper to lock-only when setting live wp
am: 7cd0010df6

Change-Id: I488880ddcb04894d18535815691d32d542bc71c1

7 years ago2D Recents: Show / hide / layout the Clear all button as needed
Manu Cornet [Tue, 20 Dec 2016 01:02:59 +0000 (17:02 -0800)]
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

7 years agoMerge "Remove ~1/3 of the installd calls at boot."
Treehugger Robot [Tue, 20 Dec 2016 01:06:22 +0000 (01:06 +0000)]
Merge "Remove ~1/3 of the installd calls at boot."

7 years agoMerge "Migrate system+lock wallpaper to lock-only when setting live wp" into nyc...
Chris Tate [Tue, 20 Dec 2016 01:01:52 +0000 (01:01 +0000)]
Merge "Migrate system+lock wallpaper to lock-only when setting live wp" into nyc-mr2-dev

7 years agoUpdate ConsumerIrService to match revised IR HAL
Connor O'Brien [Tue, 20 Dec 2016 00:00:04 +0000 (16:00 -0800)]
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>
7 years agoMerge "Overload TileUtils.getCategories() with an additional parameteri."
Doris Ling [Mon, 19 Dec 2016 23:53:34 +0000 (23:53 +0000)]
Merge "Overload TileUtils.getCategories() with an additional parameteri."

7 years agoRemove ~1/3 of the installd calls at boot.
Jeff Sharkey [Mon, 19 Dec 2016 23:39:02 +0000 (16:39 -0700)]
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

7 years agoMerge "2D recents: fix typo where I was using the wrong dimension"
TreeHugger Robot [Mon, 19 Dec 2016 23:34:31 +0000 (23:34 +0000)]
Merge "2D recents: fix typo where I was using the wrong dimension"

7 years agoMigrate system+lock wallpaper to lock-only when setting live wp
Christopher Tate [Mon, 19 Dec 2016 22:38:44 +0000 (14:38 -0800)]
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

7 years agoMerge "2D recents: fix the app -> recents animation"
TreeHugger Robot [Mon, 19 Dec 2016 22:35:35 +0000 (22:35 +0000)]
Merge "2D recents: fix the app -> recents animation"

7 years agoMerge "Manual revert of "Decode to sRGB in BitmapFactory""
Matt Sarett [Mon, 19 Dec 2016 22:35:28 +0000 (22:35 +0000)]
Merge "Manual revert of "Decode to sRGB in BitmapFactory""

7 years agoMerge "Fix other String.format issues in NetworkNotificationManager.java"
TreeHugger Robot [Mon, 19 Dec 2016 22:35:15 +0000 (22:35 +0000)]
Merge "Fix other String.format issues in NetworkNotificationManager.java"

7 years agoMerge "Speed up sysui tests"
TreeHugger Robot [Mon, 19 Dec 2016 22:34:51 +0000 (22:34 +0000)]
Merge "Speed up sysui tests"

7 years agoMerge "Fix ScanResult array parceling." am: 5fdc86fb27 am: 68764eabb7 am: 5b1a460b94
Jeremy Joslin [Mon, 19 Dec 2016 22:26:16 +0000 (22:26 +0000)]
Merge "Fix ScanResult array parceling." am: 5fdc86fb27 am: 68764eabb7 am: 5b1a460b94
am: 72624e0720  -s ours

Change-Id: I2ae8a19d0a0bc4deafbecfeadbc12803d1b2ff54

7 years agoOverload TileUtils.getCategories() with an additional parameteri.
Doris Ling [Mon, 19 Dec 2016 18:45:47 +0000 (10:45 -0800)]
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

7 years agoMerge "Add tests, refactor min/targetSdkVersion checks in PackageParser"
TreeHugger Robot [Mon, 19 Dec 2016 22:23:09 +0000 (22:23 +0000)]
Merge "Add tests, refactor min/targetSdkVersion checks in PackageParser"

7 years agoMerge "Disabled swiping in Grid-based Recents."
TreeHugger Robot [Mon, 19 Dec 2016 22:18:41 +0000 (22:18 +0000)]
Merge "Disabled swiping in Grid-based Recents."

7 years agoMerge "Fix ScanResult array parceling." am: 5fdc86fb27 am: 68764eabb7
Jeremy Joslin [Mon, 19 Dec 2016 22:18:37 +0000 (22:18 +0000)]
Merge "Fix ScanResult array parceling." am: 5fdc86fb27 am: 68764eabb7
am: 5b1a460b94

Change-Id: I52289854a38a36929cd9b8d20e85b00346b3317c

7 years agoMerge "Fix ScanResult array parceling." am: 5fdc86fb27
Jeremy Joslin [Mon, 19 Dec 2016 22:14:37 +0000 (22:14 +0000)]
Merge "Fix ScanResult array parceling." am: 5fdc86fb27
am: 68764eabb7

Change-Id: I6b44179d634722828f40524c26ccf6ea51521f11

7 years agoMerge "Fix ScanResult array parceling."
Jeremy Joslin [Mon, 19 Dec 2016 22:07:20 +0000 (22:07 +0000)]
Merge "Fix ScanResult array parceling."
am: 5fdc86fb27

Change-Id: I25e509ea057370c4380764c47808c0dbde85a6fc

7 years ago2D recents: fix typo where I was using the wrong dimension
Manu Cornet [Mon, 19 Dec 2016 22:05:38 +0000 (14:05 -0800)]
2D recents: fix typo where I was using the wrong dimension

Bug: 32101881
Test: Checked layout in portrait & landscape on sw600dp device
Change-Id: Iccf6205c00947d19053fa0ad444dd1c46365a50c

7 years agoManual revert of "Decode to sRGB in BitmapFactory"
Matt Sarett [Mon, 19 Dec 2016 22:00:59 +0000 (17:00 -0500)]
Manual revert of "Decode to sRGB in BitmapFactory"

Test: Verified that this fixes rendering artifacts.

BUG:33741991

Change-Id: Ie56ecee668be6fc20acdfcfd1167232d7c46f1ff

7 years agoMerge "Fix ScanResult array parceling."
Treehugger Robot [Mon, 19 Dec 2016 21:57:05 +0000 (21:57 +0000)]
Merge "Fix ScanResult array parceling."

7 years agoMerge "Don't WTF when reading empty data from the eventlog"
TreeHugger Robot [Mon, 19 Dec 2016 21:29:01 +0000 (21:29 +0000)]
Merge "Don't WTF when reading empty data from the eventlog"

7 years agoMerge "Remove "final" from ResultCallback." am: b60d7b334c am: 8df12d98f7 am: 8c5eb9b10f
Joe LaPenna [Mon, 19 Dec 2016 21:23:45 +0000 (21:23 +0000)]
Merge "Remove "final" from ResultCallback." am: b60d7b334c am: 8df12d98f7 am: 8c5eb9b10f
am: 71dd757c56  -s ours

Change-Id: Ife1f27d91ed2975741d24bd3eaa0fda9d41e1bfd

7 years agoMerge "Start sensor service in a seperate thread" into nyc-mr2-dev am: 9ec4256a17
Wei Wang [Mon, 19 Dec 2016 21:16:38 +0000 (21:16 +0000)]
Merge "Start sensor service in a seperate thread" into nyc-mr2-dev am: 9ec4256a17
am: 27219ad9ec

Change-Id: I6b0ec1c083dda1917129ac1e1022f3486ca67c5c

7 years agoStart sensor service in a seperate thread am: 6ba0ef31e8
Wei Wang [Mon, 19 Dec 2016 21:15:51 +0000 (21:15 +0000)]
Start sensor service in a seperate thread am: 6ba0ef31e8
am: 18d1398690

Change-Id: I56fe131c009980c7a498440e3ee633a1a5d507f6

7 years agoMerge "docs: remove implicit intent from bindService and startService" into nyc-mr1...
Mark Lu [Mon, 19 Dec 2016 21:14:40 +0000 (21:14 +0000)]
Merge "docs: remove implicit intent from bindService and startService" into nyc-mr1-dev am: cbfb58c9d7 am: 70fa908fb2 am: fa0c9f2352
am: 52f065af6b

Change-Id: I63d1f3491a3f6e3a74de09cd1af335b4c87d8630

7 years agoMerge "Remove "final" from ResultCallback." am: b60d7b334c am: 8df12d98f7
Joe LaPenna [Mon, 19 Dec 2016 21:13:31 +0000 (21:13 +0000)]
Merge "Remove "final" from ResultCallback." am: b60d7b334c am: 8df12d98f7
am: 8c5eb9b10f

Change-Id: I9a234d6176c441b424714dda1de4ec580a12e2c5

7 years agodocs: remove implicit intent from bindService and startService am: 94ebbe0e58 am...
Mark Lu [Mon, 19 Dec 2016 21:13:29 +0000 (21:13 +0000)]
docs: remove implicit intent from bindService and startService am: 94ebbe0e58 am: d7c29565ba am: a8107e1074
am: ad9551617d

Change-Id: I654c7fcca8882b2b271eea7a5951ff01de40e6e3

7 years agoFix other String.format issues in NetworkNotificationManager.java
Paul Stewart [Mon, 19 Dec 2016 16:45:32 +0000 (08:45 -0800)]
Fix other String.format issues in NetworkNotificationManager.java

Commit fb2609d3eee1c7a4dda889c000f32183a044978a added a string
format which caused an exception.  On top of the fixes to this
from e1406167186c2cabe683b3c1511ad6733e9106c9, 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
Change-Id: I13410ffebbc606b8801656ea0934f96ccd4b5357

7 years agodocs: update Paint.setTextSize() to indicate pixel units am: 5f05256106 am: 9c834b124...
Mark Lu [Mon, 19 Dec 2016 21:08:55 +0000 (21:08 +0000)]
docs: update Paint.setTextSize() to indicate pixel units am: 5f05256106 am: 9c834b1241 am: 353e197a8a
am: 5356f60f27

Change-Id: I49975b77e5c31234327e83ce2cbcc62c20e74737

7 years agoMerge "Start sensor service in a seperate thread" into nyc-mr2-dev
Wei Wang [Mon, 19 Dec 2016 21:08:48 +0000 (21:08 +0000)]
Merge "Start sensor service in a seperate thread" into nyc-mr2-dev
am: 9ec4256a17

Change-Id: I0956ba96241ccb9df18ba9f2bfd29cc952659b1a

7 years agoStart sensor service in a seperate thread
Wei Wang [Mon, 19 Dec 2016 21:08:22 +0000 (21:08 +0000)]
Start sensor service in a seperate thread
am: 6ba0ef31e8

Change-Id: I325b0d5c02326355c7b04962537e695e7839be09

7 years agoMerge "Add UI prompt for MMI code failure on 3gpp" into nyc-mr2-dev am: 73dcab62b7...
Brad Ebinger [Mon, 19 Dec 2016 21:07:39 +0000 (21:07 +0000)]
Merge "Add UI prompt for MMI code failure on 3gpp" into nyc-mr2-dev am: 73dcab62b7  -s ours
am: 2cafc11399  -s ours

Change-Id: I75d496bc0c6e9cf8a9ad5a95360d6521656c204d

7 years agoMerge "Remove "final" from ResultCallback." am: b60d7b334c
Joe LaPenna [Mon, 19 Dec 2016 21:07:29 +0000 (21:07 +0000)]
Merge "Remove "final" from ResultCallback." am: b60d7b334c
am: 8df12d98f7

Change-Id: Ia0266003bff04bf0ec5b3ee7134678c1b1f0e77f

7 years agoSpeed up sysui tests
Jason Monk [Fri, 9 Dec 2016 14:31:37 +0000 (09:31 -0500)]
Speed up sysui tests

Shave a few seconds off the tests by adding capabilities to
TestableContext and removing mocks from some large classes
(like Context and PhoneStatusBar)

Test: runtest systemui
Change-Id: Ib9c30cf895bd9f24a5a26e24ffe2498ca6fe2f6e

7 years ago2D recents: fix the app -> recents animation
Manu Cornet [Mon, 19 Dec 2016 21:05:46 +0000 (13:05 -0800)]
2D recents: fix the app -> recents animation

Bug: 33752154
Bug: 32101881
Test: On local sw600dp device, tested the new transition in landscape & portrait
Change-Id: I326176734e8d34d2a49b8ada687c66838b0e952f

7 years agoMerge "docs: remove implicit intent from bindService and startService" into nyc-mr1...
Mark Lu [Mon, 19 Dec 2016 21:05:45 +0000 (21:05 +0000)]
Merge "docs: remove implicit intent from bindService and startService" into nyc-mr1-dev am: cbfb58c9d7 am: 70fa908fb2
am: fa0c9f2352

Change-Id: I845121e5e638fff86c0915213cf3ce87fc914918

7 years agodocs: remove implicit intent from bindService and startService am: 94ebbe0e58 am...
Mark Lu [Mon, 19 Dec 2016 21:04:11 +0000 (21:04 +0000)]
docs: remove implicit intent from bindService and startService am: 94ebbe0e58 am: d7c29565ba
am: a8107e1074

Change-Id: I39ffafde9285c62d27cf1559d215dd687dbe4aec

7 years agodocs: update Paint.setTextSize() to indicate pixel units am: 5f05256106 am: 9c834b1241
Mark Lu [Mon, 19 Dec 2016 21:02:57 +0000 (21:02 +0000)]
docs: update Paint.setTextSize() to indicate pixel units am: 5f05256106 am: 9c834b1241
am: 353e197a8a

Change-Id: I4b338888e82cd7e524db0f04b4a2cb3b725d1109

7 years agoMerge "Add UI prompt for MMI code failure on 3gpp" into nyc-mr2-dev
Brad Ebinger [Mon, 19 Dec 2016 21:01:41 +0000 (21:01 +0000)]
Merge "Add UI prompt for MMI code failure on 3gpp" into nyc-mr2-dev
am: 73dcab62b7  -s ours

Change-Id: Id30938ad8395a57b7a39becd3c7834df75b2ba07

7 years agoMerge "Remove "final" from ResultCallback."
Joe LaPenna [Mon, 19 Dec 2016 21:01:26 +0000 (21:01 +0000)]
Merge "Remove "final" from ResultCallback."
am: b60d7b334c

Change-Id: I3b6679368418af3992007f58d47c544cf7a1b1ed

7 years agoMerge "Add UI prompt for MMI code failure on 3gpp am: ac8d8e7358 am: 721847320b ...
Android Build Merger (Role) [Mon, 19 Dec 2016 21:00:35 +0000 (21:00 +0000)]
Merge "Add UI prompt for MMI code failure on 3gpp am: ac8d8e7358 am: 721847320b  -s ours"

7 years agoMerge "Remove "final" from ResultCallback."
TreeHugger Robot [Mon, 19 Dec 2016 20:59:38 +0000 (20:59 +0000)]
Merge "Remove "final" from ResultCallback."

7 years agoAdd UI prompt for MMI code failure on 3gpp am: ac8d8e7358
Brad Ebinger [Mon, 19 Dec 2016 20:59:21 +0000 (20:59 +0000)]
Add UI prompt for MMI code failure on 3gpp am: ac8d8e7358
am: 721847320b  -s ours

Change-Id: I993ee10fa00eb8363e85cfa530982830d9a0bd80

7 years agoMerge "Start sensor service in a seperate thread" into nyc-mr2-dev
TreeHugger Robot [Mon, 19 Dec 2016 20:59:12 +0000 (20:59 +0000)]
Merge "Start sensor service in a seperate thread" into nyc-mr2-dev

7 years agoAdd UI prompt for MMI code failure on 3gpp
Brad Ebinger [Mon, 19 Dec 2016 20:54:27 +0000 (20:54 +0000)]
Add UI prompt for MMI code failure on 3gpp
am: ac8d8e7358

Change-Id: Id83a2fa2dd958a0fbfcb2d5eb90528bcf96737b8

7 years agoMerge "Remove "final" from ResultCallback."
Treehugger Robot [Mon, 19 Dec 2016 20:54:13 +0000 (20:54 +0000)]
Merge "Remove "final" from ResultCallback."

7 years agoDisabled swiping in Grid-based Recents.
Jiaquan He [Mon, 19 Dec 2016 19:20:31 +0000 (11:20 -0800)]
Disabled swiping in Grid-based Recents.

Bug: 32101881
Change-Id: I45a806a6b1fc387b2c560a8f2228ad83e4068d7c

7 years agoMerge "Use userid of sender, not notification target."
TreeHugger Robot [Mon, 19 Dec 2016 20:43:27 +0000 (20:43 +0000)]
Merge "Use userid of sender, not notification target."

7 years agoMerge "docs: remove implicit intent from bindService and startService" into nyc-mr1...
Mark Lu [Mon, 19 Dec 2016 20:42:11 +0000 (20:42 +0000)]
Merge "docs: remove implicit intent from bindService and startService" into nyc-mr1-dev am: cbfb58c9d7 am: 70fa908fb2 am: 6461737fa5
am: 3d6a77afb5

Change-Id: I133965d96ab2b99b6e0fbeef080a5c208b14f5ab

7 years agodocs: remove implicit intent from bindService and startService am: 94ebbe0e58 am...
Mark Lu [Mon, 19 Dec 2016 20:40:56 +0000 (20:40 +0000)]
docs: remove implicit intent from bindService and startService am: 94ebbe0e58 am: d7c29565ba am: 8c232935f0
am: 40a3877a5d

Change-Id: I3ae34d2268d7d142ac10e17b43dc617c25601cbe

7 years agoAdd tests, refactor min/targetSdkVersion checks in PackageParser
Alan Viverette [Mon, 19 Dec 2016 20:40:05 +0000 (15:40 -0500)]
Add tests, refactor min/targetSdkVersion checks in PackageParser

Tests were added and verified before refactoring to ensure no behavior
changes. This is the first step in revising compat checks for O policy.

Bug: 33455703
Test: PackageParserTest#testComputeMinSdkVersion
Test: PackageParserTest#testComputeTargetSdkVersion
Change-Id: I483b4d23945183702b7e077fa1bd6d3ab5065acc

7 years agoMerge "docs: remove implicit intent from bindService and startService" into nyc-mr1...
Mark Lu [Mon, 19 Dec 2016 20:35:27 +0000 (20:35 +0000)]
Merge "docs: remove implicit intent from bindService and startService" into nyc-mr1-dev am: cbfb58c9d7 am: 70fa908fb2
am: 6461737fa5

Change-Id: I37fab5a4733b27a359800cc4cf0f3982f209a8f8

7 years agodocs: update Paint.setTextSize() to indicate pixel units am: 5f05256106 am: 9c834b124...
Mark Lu [Mon, 19 Dec 2016 20:34:29 +0000 (20:34 +0000)]
docs: update Paint.setTextSize() to indicate pixel units am: 5f05256106 am: 9c834b1241 am: 4da3266828
am: 84f12cd33e

Change-Id: I463334d7c43cb934848e10eb3040f4a898f6ed2c

7 years agodocs: remove implicit intent from bindService and startService am: 94ebbe0e58 am...
Mark Lu [Mon, 19 Dec 2016 20:34:23 +0000 (20:34 +0000)]
docs: remove implicit intent from bindService and startService am: 94ebbe0e58 am: d7c29565ba
am: 8c232935f0

Change-Id: I45cdec5b2820a4a95a8aa6e1b67856891a8a6cd5

7 years agoMerge "docs: remove implicit intent from bindService and startService" into nyc-mr1...
Mark Lu [Mon, 19 Dec 2016 20:29:08 +0000 (20:29 +0000)]
Merge "docs: remove implicit intent from bindService and startService" into nyc-mr1-dev am: cbfb58c9d7
am: 70fa908fb2

Change-Id: I6b37ea3bf8b451b941b49b3124b226a641b28b64

7 years agoMerge "docs: remove implicit intent from bindService and startService" into nyc-mr1...
Mark Lu [Mon, 19 Dec 2016 20:28:59 +0000 (20:28 +0000)]
Merge "docs: remove implicit intent from bindService and startService" into nyc-mr1-dev am: cbfb58c9d7
am: 70fa908fb2

Change-Id: I1eab802afe75f847555baa8964030a1bb994107a

7 years agodocs: remove implicit intent from bindService and startService am: 94ebbe0e58
Mark Lu [Mon, 19 Dec 2016 20:27:56 +0000 (20:27 +0000)]
docs: remove implicit intent from bindService and startService am: 94ebbe0e58
am: d7c29565ba

Change-Id: Ife9581030d8579d6e2dd625814a049d5f488229a

7 years agodocs: remove implicit intent from bindService and startService am: 94ebbe0e58
Mark Lu [Mon, 19 Dec 2016 20:27:52 +0000 (20:27 +0000)]
docs: remove implicit intent from bindService and startService am: 94ebbe0e58
am: d7c29565ba

Change-Id: I44109d60ff26725daf6ebbce50bac9a7068146fe

7 years agodocs: update Paint.setTextSize() to indicate pixel units am: 5f05256106 am: 9c834b1241
Mark Lu [Mon, 19 Dec 2016 20:27:51 +0000 (20:27 +0000)]
docs: update Paint.setTextSize() to indicate pixel units am: 5f05256106 am: 9c834b1241
am: 4da3266828

Change-Id: I65e2a1c43bd049e5c4cada55e8689ecc98a70fa5

7 years agoMerge "docs: remove implicit intent from bindService and startService" into nyc-mr1-dev
Mark Lu [Mon, 19 Dec 2016 20:22:00 +0000 (20:22 +0000)]
Merge "docs: remove implicit intent from bindService and startService" into nyc-mr1-dev
am: cbfb58c9d7

Change-Id: If12008d4e9fe1883c6c4f21e6e6736045b325182

7 years agodocs: remove implicit intent from bindService and startService
Mark Lu [Mon, 19 Dec 2016 20:21:57 +0000 (20:21 +0000)]
docs: remove implicit intent from bindService and startService
am: 94ebbe0e58

Change-Id: Iaf24452f3456703c917a2a574ff218c9eac854bd

7 years agodocs: update Paint.setTextSize() to indicate pixel units am: 5f05256106
Mark Lu [Mon, 19 Dec 2016 20:21:26 +0000 (20:21 +0000)]
docs: update Paint.setTextSize() to indicate pixel units am: 5f05256106
am: 9c834b1241

Change-Id: I6ab667b17df3101370ed57f30ab273077a27c346

7 years agodocs: update Paint.setTextSize() to indicate pixel units am: 5f05256106
Mark Lu [Mon, 19 Dec 2016 20:21:21 +0000 (20:21 +0000)]
docs: update Paint.setTextSize() to indicate pixel units am: 5f05256106
am: 9c834b1241

Change-Id: I3288982f953f36ae08a36ca324edb6937633bd18