311790 Commits

Author SHA1 Message Date
Jakub Pawlowski
ccff3be9d4 Merge "Expose connection update callback (4/4)" am: 60865e4a8d
am: 45487910b4

Change-Id: I43cca913c52aac4bd3487f7450ef8167c19db0df
2017-03-24 20:41:51 +00:00
Eugene Susla
d7ff177924 Fix companion device feature presence check
There was a typo causing the feature to be falsely detected as not present.

Test: Ensure feature presence is now detected correctly
Bug: 30932767
Change-Id: I44d137e89546596058b272e8eeaccc0a1db21aef
2017-03-24 13:37:19 -07:00
Jakub Pawlowski
45487910b4 Merge "Expose connection update callback (4/4)"
am: 60865e4a8d

Change-Id: I0f5301b195b697743d1fb552dac4af8e1fd1445c
2017-03-24 20:36:30 +00:00
Jakub Pawlowski
60865e4a8d Merge "Expose connection update callback (4/4)" 2017-03-24 20:31:32 +00:00
Antony Sargent
b062e90b2f Create a metrics event for ag/1972563 (instant apps detail screen)
Bug: 35098444
Test: Tests for functional changes are in ag/1972563

Change-Id: I17de46278c815c9b6b385b111ca6544aa456d133
2017-03-24 13:30:03 -07:00
Sudheer Shanka
5918c6700b Update AMS to use NetworkManagementInternal.isNetworkRestrictedForUid.
And add global setting WAIT_FOR_NETWORK_TIMEOUT_MS.

Bug: 27803922
Test: runtest -c com.android.server.am.ActivityManagerServiceTest frameworks-services
      cts-tradefed run singleCommand cts-dev --module CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests
      runtest -c android.provider.SettingsBackupTest frameworks-core
      and manual

Change-Id: I6949cd517255670e2ce21ab2de24271082461b11
2017-03-24 13:05:27 -07:00
Lei Yu
a635e8d18d Merge "Add theme Theme.DeviceDefault.Settings.Dialog.NoActionBar" 2017-03-24 20:01:29 +00:00
Chris Wren
65f07feeb4 add alert and reason enums
useful for notification logs
also some format cleanup

Test: make framework-protos
Change-Id: Iced9ee1d1648060c80243e34ccca060040207726
2017-03-24 15:49:00 -04:00
Evan Laird
7bc03e0d03 Merge "Move percentage to left of battery" 2017-03-24 19:43:36 +00:00
Casey Burkhardt
2b8534bf2d Merge "Update metrics proto for revised Magnification Settings" 2017-03-24 19:35:25 +00:00
Sudheer Shanka
62f5c17837 Add NetworkManagementInternal.isNetworkRestrictedForUid.
This will be used by the ActivityManagerService to decide if
an app needs to block for network or not.

Bug: 27803922
Test: runtest -c com.android.server.NetworkManagementInternalTest frameworks-services
      cts-tradefed run singleCommand cts-dev --module CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests
      and manual

Change-Id: I9e62406e2638f70497b43b5b41607df41aefd66c
2017-03-24 12:33:15 -07:00
TreeHugger Robot
31426a2e29 Merge "Allow system UID to call isSecurityLoggingEnabled()" 2017-03-24 19:11:17 +00:00
Diego Perez
ef74ede008 Handle case where canvas is 0x0 for shadows
Test: N/A
Change-Id: Ie837fb4097d7e1e47e8f96c73bb79ac8e7772a6b
2017-03-24 19:06:05 +00:00
Andrew Solovay
1087bd9f35 docs: Removing Android dev docs from Gerrit am: ecf817682a am: d4fdb6e3b2 am: 7ba81a3884
am: 5613cfb013  -s ours

Change-Id: I9ec75adb7ac3045a934ecfaf2d09de1990f1c2bc
2017-03-24 18:20:15 +00:00
Wonsik Kim
16b21b864c MediaFrameworkTest: don't set surface if video format is unsupported
Bug: 31964524
Test: adb shell am instrument -w -r -e class com.android.mediaframeworktest.stress.MediaPlayerStressTest com.android.mediaframeworktest/.MediaPlayerStressTestRunner
Change-Id: Ied3b1eefe952dd878b413027c9747a8dd58e4f27
2017-03-24 11:19:28 -07:00
Andrew Solovay
5613cfb013 docs: Removing Android dev docs from Gerrit am: ecf817682a am: d4fdb6e3b2
am: 7ba81a3884

Change-Id: Ibf17dbc51a17e5155bee49024bf6772bcec88967
2017-03-24 18:15:39 +00:00
Andrew Solovay
7ba81a3884 docs: Removing Android dev docs from Gerrit am: ecf817682a
am: d4fdb6e3b2

Change-Id: I5fe711e6596afacc4bb363224dcb78057abd99c2
2017-03-24 18:12:20 +00:00
Andrew Solovay
d4fdb6e3b2 docs: Removing Android dev docs from Gerrit
am: ecf817682a

Change-Id: I0bcc2c8d0b63e73d88187c19ef4addeaed2bfdf0
2017-03-24 18:03:12 +00:00
Felipe Leme
119205629e Checks if an adapter item is null before addint it to options.
Change-Id: I60634d0990d1d5bc33703abd41997e560f59ec77
Fixes: 36589254
Test: CheckoutActivityTest.testAutoFillDynamicAdapterWithNullItems()
2017-03-24 10:41:45 -07:00
Geoffrey Pitsch
790e091bca Create NotificationChannels in SystemUI per-user
Fixes Screenshot notification when guest plus others.

Bug: 36516812
Test: runtest systemui
Change-Id: I0d851a28ba9b134afc02c72fc3684c1d0be25c41
2017-03-24 13:37:13 -04:00
Stephen Chen
abb947ac24 Enable Wifi Wakeup Setting by default.
Bug: 36385983
Bug: 32913119
Test: runtest --path
frameworks/base/core/tests/coretests/src/android/provider/SettingsProviderTest.java

Change-Id: Ia9205d28d7c215fd8c407560513036565e36537d
2017-03-24 10:35:21 -07:00
TreeHugger Robot
90b741f948 Merge "Fix issue #34855227: Bg check Android O: Able to start..." 2017-03-24 17:30:35 +00:00
Dianne Hackborn
333394a6c1 Fix issue #34855227: Bg check Android O: Able to start...
...service after receiving broadcast in background

A new UidRecord should start out idle, not non-idle.

Test: added CtsAppTestCases:.ActivityManagerTest#testBackgroundCheckBroadcastService
Change-Id: Ib04e11b95958477eaba1e421fd901f9cd1ee705a
2017-03-24 10:29:05 -07:00
Dianne Hackborn
d81542cef4 Merge "Partially return NEW_PICTURE and NEW_VIDEO." 2017-03-24 17:28:59 +00:00
Jakub Pawlowski
326f7b31b9 Expose connection update callback (4/4)
Test: manual
Bug: 30622771
Change-Id: I56a3c42814249abc33e95e84ce092c2d8df65434
2017-03-24 17:22:54 +00:00
Jack Yu
3c9d3bc99b Merge "Deprecated getDeviceId and added getMeid and getImei" am: ad2e7405ad am: 9b7d3a86bd
am: 7da96487ab  -s ours

Change-Id: I14c2cfa9d1b4ba7986393b7aab00abe94d24fce5
2017-03-24 17:22:45 +00:00
Jack Yu
7da96487ab Merge "Deprecated getDeviceId and added getMeid and getImei" am: ad2e7405ad
am: 9b7d3a86bd

Change-Id: I322d40e7696b34ad93781882120352587ff36363
2017-03-24 17:16:46 +00:00
Jack Yu
9b7d3a86bd Merge "Deprecated getDeviceId and added getMeid and getImei"
am: ad2e7405ad

Change-Id: I4e006290c54a371fc5f080c37f86ca946507d871
2017-03-24 17:10:54 +00:00
Philipp Weiß
f3f5e9f7bb Merge "Add strings for link beneath CA Certs disclosures" 2017-03-24 17:07:39 +00:00
Jack Yu
ad2e7405ad Merge "Deprecated getDeviceId and added getMeid and getImei" 2017-03-24 17:02:59 +00:00
Mady Mellor
be976024a8 Merge "Add plugin interfaces to control notification menu / swipe behavior" 2017-03-24 16:54:18 +00:00
TreeHugger Robot
cef238ed70 Merge "Fix SystemUI intents" 2017-03-24 16:40:00 +00:00
Dmitri Plotnikov
dbf544f271 Merge "Adding TV-specific strings" 2017-03-24 15:59:00 +00:00
TreeHugger Robot
ec9aea293a Merge "Do not reuse fragment indices." 2017-03-24 15:49:57 +00:00
TreeHugger Robot
487b2e3d72 Merge "Post WebView Zygote connection code to a background thread." 2017-03-24 15:33:56 +00:00
Kevin Schoedel
28eae8e551 Manage controller connection from VrCore to VrWindowManager.
Use VrManager as a proxy to pass the controller data file descriptor
from VrCore to VrWindowManager, since the latter is a purely native
service with no Java visibility.

This is intended to be replaced by moving the relevant parts of
VrWindowManager into VrCore (b/36506799).

Bug: 35619424
Test: manual on device
Change-Id: I9545349893ed9b23de4ba8d3cb61c7d403ad0b97
2017-03-24 15:10:29 +00:00
Jason Monk
0c60baf000 Merge "QS: Clean up dual target accessibility" 2017-03-24 14:58:02 +00:00
Peeyush Agarwal
d8d1e199cc Fix SystemUI intents
b/35307747 moved these intents from android. to com.android. Change
filters in AndroidManifest so that the new intents are not filtered out
and actually get delivered.

Bug: 36085764
Change-Id: I7120f28e56d71b6bfa19dd59624d992ded79501c
Fixes: 36085764
Test: none
2017-03-24 14:56:01 +00:00
Diego Perez
f170175402 Updating font test after the TextView fix
Test: Updated
Change-Id: Ia427cc25936b7a6aed035a4068d53151c74e839d
2017-03-24 14:55:38 +00:00
Evan Laird
09ebefda2e Move percentage to left of battery
Original mocks had the percentage on the left side of the battery... So
I made it so.

Test: visual
Bug: 32539932
Change-Id: I311255777b74c2ff74e36c78cbe1b4b9743ec337
2017-03-24 10:55:29 -04:00
Diego Perez
a9a2802012 Merge "Dispose font cache on bridge.dispose" 2017-03-24 14:46:01 +00:00
phweiss
d63f4d0eea Add strings for link beneath CA Certs disclosures
And fixing typos in other strings.

Bug: 34369166
Test: Only string fixes
Change-Id: If60b653dc387975ae7a6a7fcddcbd17773c854f3
2017-03-24 15:28:15 +01:00
TreeHugger Robot
4110be3a15 Merge "Enterprise string clean-up for O" 2017-03-24 14:27:55 +00:00
TreeHugger Robot
01b9a95eb5 Merge "Revert "Integrate new looper apis into testables"" 2017-03-24 14:20:16 +00:00
Bartosz Fabianowski
0ec0000c22 Allow system UID to call isSecurityLoggingEnabled()
This CL allows code running under the system UID to call
isSecurityLoggingEnabled(), so that Settings can find out whether
logging is on or off.

Bug: 36584321
Test: m RunSettingsRoboTests

Change-Id: Icf8b7d6cef0f4e23f57bcf0498ffdcf124d16d38
2017-03-24 15:17:28 +01:00
TreeHugger Robot
837dde71ce Merge "Add strings for quick settings security footer" 2017-03-24 13:23:56 +00:00
Jason Monk
49bf050f83 Merge "Re-inflate fragments in sysui on font scale change" 2017-03-24 12:52:11 +00:00
Jason Monk
fd8f615953 Revert "Integrate new looper apis into testables"
This reverts commit f715f417d23d0605abcac309135340ac6ce311ce.

Change-Id: I4c0c12d8687426cecccf0f8dad710ea42699727b
2017-03-24 12:44:34 +00:00
Gustav Sennton
f05f99b910 Post WebView Zygote connection code to a background thread.
Currently, the act of waiting for the WebView Zygote to start running,
and then connecting to it is run in a blocking way from
WebViewZygote.onWebViewProviderChanged(). This causes us to block large
parts of WebViewUpdateService for a long time whenever we change WebView
provider.
This CL moves the blocking code onto a background thread to unblock
WebViewUpdateService.

Bug: 35025131
Test: Ensure changing WebView provider from the WebView Implementation
Developer Setting is quick/responsive.
Test: Turn off WebView multi-process and ensure the WebView Zygote
Service is NOT started.
Test: Turn on WebView multi-process and ensure the WebView Zygote
Service is started.

Change-Id: I0b378a471491d40cbf027568ca317d6c080da4b2
2017-03-24 12:36:12 +00:00
phweiss
02397ee147 Add strings for quick settings security footer
Strings are unused for now, CL that will display them comes later.

Bug: 34369166
Test: Only added strings, nothing to test
Change-Id: I0bb3e46b264d5da9d0da31149bf04f8276c08e93
2017-03-24 11:53:03 +00:00