311781 Commits

Author SHA1 Message Date
Jason Monk
60033fc070 Fix status bar visibility initialization
Make sure it starts up to everything showing and that the StatusBar
calculates the bar mades after it is attached.

There is still a bug where the behind scrim is showing during SUW,
but this fixes many of the issues besides that case.

Test: visual
Change-Id: I93314c607e374c97d5c06f936ef8b7e07e057648
Bug: 36407135
2017-03-27 12:41:32 -04:00
TreeHugger Robot
a56d9a1841 Merge "add alert and reason enums" 2017-03-27 13:01:39 +00:00
TreeHugger Robot
70f6f6faaf Merge "Create NotificationChannels in SystemUI per-user" 2017-03-27 12:55:08 +00:00
Neil Fuller
8683062a48 Merge "Update settings to use latest IDs for zones" 2017-03-27 12:28:31 +00:00
TreeHugger Robot
42a872ac4a Merge "Updating font test after the TextView fix" 2017-03-27 11:13:01 +00:00
Michal Karpinski
aa870a4782 Merge "Add support for key-value packages to adb backup/restore." 2017-03-27 09:28:05 +00:00
Joel Scherpelz
b58609d7a6 Merge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"" am: 63d26caa38 am: 84c2fb2070
am: c3e0dcf082

Change-Id: I9a48897312a785ea7e0338aa68c8bb4877a741e6
2017-03-27 05:35:41 +00:00
Joel Scherpelz
c3e0dcf082 Merge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"" am: 63d26caa38
am: 84c2fb2070

Change-Id: I6601d7a30e3eabc3e3929a02f415ba620a2b5c28
2017-03-27 05:29:02 +00:00
Joel Scherpelz
84c2fb2070 Merge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces""
am: 63d26caa38

Change-Id: I367506eee558dbd7abeeabf09716f7024c2e43d8
2017-03-27 05:24:09 +00:00
Joel Scherpelz
63d26caa38 Merge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"" 2017-03-27 05:17:22 +00:00
Joel Scherpelz
6a35f3c3e2 Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"
On second thought, let's set accept_ra_rt_info_m**_plen in 
Netd (InterfaceController::initializeAll())

This reverts commit 25870a2c9effd7a7d31c0678c34a6e952b2d56a1.

Change-Id: I22b000623bb852e375385d4aae789d007e84ba3d
2017-03-27 00:54:41 +00:00
TreeHugger Robot
2e0d532317 Merge "Send storage broadcasts to manifest receivers." 2017-03-26 21:59:24 +00:00
TreeHugger Robot
89000cf644 Merge "Another buggy app is already targeting O." 2017-03-26 21:56:51 +00:00
Jeff Sharkey
082f83bf0d Send storage broadcasts to manifest receivers.
Bug: 35316141
Test: builds, boots
Change-Id: I50998416f189a7f7662ba59ad5a6b6cacf114cf2
2017-03-26 14:34:51 -06:00
Jeff Sharkey
4498e03d2b Another buggy app is already targeting O.
Bug: 36612878
Test: builds, boots
Change-Id: I161a58bf972a0af327fb216d041a7e46d33c0d2e
2017-03-26 14:15:51 -06:00
TreeHugger Robot
3dd6b5c4f3 Merge "Add logging constant for reset dashboard page." 2017-03-25 18:17:19 +00:00
Sudheer Shanka
d292c15558 Merge "Update AMS to use NetworkManagementInternal.isNetworkRestrictedForUid." 2017-03-25 08:01:13 +00:00
Sudheer Shanka
c9d150dcbd Merge "Add NetworkManagementInternal.isNetworkRestrictedForUid." 2017-03-25 08:00:39 +00:00
Wonsik Kim
034799db2f Merge "MediaFrameworkTest: don't set surface if video format is unsupported" 2017-03-25 05:34:25 +00:00
TreeHugger Robot
1e8fd460fd Merge "Target selection for Accessibility button" 2017-03-25 04:04:16 +00:00
TreeHugger Robot
bf4d8d1238 Merge "Prevent inclusion of null KeyphraseMetadata in info map." 2017-03-25 02:50:36 +00:00
Guang Zhu
4373315a54 Merge "Revert "Enable Wifi Wakeup Setting by default."" 2017-03-25 02:27:06 +00:00
Guang Zhu
71934ecb19 Revert "Enable Wifi Wakeup Setting by default."
Bug: 36385983
Bug: 32913119
Bug: 36604943

This reverts commit abb947ac24b316a188965c341599973a1f7a3de9.

Change-Id: I484534dd6c24f5b2c2839781fc6a71d9e976a859
2017-03-25 02:26:24 +00:00
Casey Burkhardt
5e8b980c5d Target selection for Accessibility button
Allows for selecting a single accessibility service or feature
to be triggered by the accessibility button in the navigation bar

Bug: 34720082
Test: Manual
Change-Id: I320febede0398b1eff38a87d4db31fd7dfc53062
2017-03-24 19:17:12 -07:00
Santos Cordon
975c00d8ff Add a default Surface to the VR Virtual Display.
Uses ImageReader as a do-nothing Surface to ensure the Virtual Display
gets passed through to SurfaceFlinger.

Without a Surface, the Virtual Display never makes it through the
android system to SurfaceFlinger. This change is needed to get the
Virtual Display recognized in the Flinger layers.

Test: 'setprop vr_virtualdisplay true' to enable virtual displays.
'setprop vr_debug_vd_receiver true' and shell restart for the test app.

Bug: 36491910
Change-Id: I2bf2cb4035dcf04484b7fb0bec61671864069335
2017-03-25 00:37:11 +00:00
Felipe Leme
63d9831020 Merge "Make auto-fill UI robust" 2017-03-25 00:36:48 +00:00
Johan Toras Halseth
b59a4b85ad Add support for key-value packages to adb backup/restore.
For adding CTS tests for packages having key-value backup agents, we add
support for key-value backups to the adb backup/restore command.
Previously, packages not supporting fullbackup would just be skipped on
this command. Now, by adding the -keyvalue flag to the adb backup command,
packages supporting key-value will also be added to the resulting
tarball. Similarly, if the tarball being supplied to adb restore
contains data from key-value packages, it will be restored.

This will later be utilized for writing CTS tests for such packages.

Test: adb backup -includekeyvalue -all && adb restore backup.ab

Change-Id: I7b4ccfb7072d01d29a888952145d7cce90a4f59e
2017-03-24 23:51:48 +00:00
TreeHugger Robot
b1c88ecf05 Merge "Update hidden WifiManager API." 2017-03-24 23:48:13 +00:00
TreeHugger Robot
9e38abd155 Merge "Use resolved ActivityInfo to set instant app installer" 2017-03-24 23:14:04 +00:00
TreeHugger Robot
cb34b96796 Merge "Collect background stats: bluetooth, wifi, sensors" 2017-03-24 23:04:07 +00:00
TreeHugger Robot
ed6a3875c5 Merge "Fix companion device feature presence check" 2017-03-24 22:58:16 +00:00
TreeHugger Robot
84acb2e042 Merge "Added support for maxAspectRatio manifest attribute." 2017-03-24 22:42:16 +00:00
Phil Weaver
582fae1cf4 Merge "Restructure a11y shortcut settings" 2017-03-24 22:31:18 +00:00
TreeHugger Robot
bbf038bc5e Merge "Remove "Allow persistent changes to the vendor overlay theme"" 2017-03-24 22:25:20 +00:00
Felipe Leme
4753bb0c34 Make auto-fill UI robust
Now the autofill UI tracks the movement of the anchor view,
both real and virtual and while still preventing the filled
app from accessing the chooser UI. This was achieved by using
a popup window in the app process to determine the window
location and adding a window presenter interface to popup
window that controls the actual window addition, removal, and
update which is implemented by the system server.

Test: all autofill CTS tests pass

bug: 36392498
bug: 35708258
bug: 34943932
fixes: 36039182
fixes: 36493078

Change-Id: I0321913b2e2e759f4b17003bf85cb873e63a467c
2017-03-24 15:16:28 -07:00
TreeHugger Robot
27a01ef063 Merge "AAPT2: Fix up file IO" 2017-03-24 22:04:59 +00:00
Badhri Jagan Sridharan
4e8da712d9 Merge "Persist functions for oemOverride across reboot" 2017-03-24 21:56:17 +00:00
Stephen Chen
98e4ae9fa5 Merge "Enable Wifi Wakeup Setting by default." 2017-03-24 21:27:13 +00:00
Felipe Leme
51707a9733 Merge "Checks if an adapter item is null before addint it to options." 2017-03-24 21:26:32 +00:00
Fan Zhang
1a34e7503e Add logging constant for reset dashboard page.
Change-Id: I526bdd71dad46510a205ed7f540914e83f779224
Fix: 36458355
Test: builds
2017-03-24 13:52:28 -07:00
Wale Ogunwale
55ddf8f9e5 Added support for maxAspectRatio manifest attribute.
- Allows an app to specify the maximum aspect ratio it supports.
- Support for overriding configuration and bounds at the activity
record and app window token level.

Test: cts/.../run-test CtsAppTestCases android.app.cts.AspectRatioTests
Test: bit FrameworksServicesTests:com.android.server.wm.WindowContainerTests
Test: bit FrameworksServicesTests:com.android.server.wm.WindowFrameTests
Bug: 36505427
Bug: 33205955
Bug: 35810513
Change-Id: Ib2d46ed0c546dd903d09d6bb7162a98bd390ba81
2017-03-24 13:48:40 -07:00
Fyodor Kupolov
4b0aa4db3a Use resolved ActivityInfo to set instant app installer
Previously we were only using the component name, which is not always
enough.

Now the resolved ActivityInfo is used and only 'flags'/'exported' and
'enabled' attributes are modified.

Test: Manual
Bug: 34751853
Change-Id: I32a2a2bd98cc5d73ab02ccfc100868b826bb8105
2017-03-24 13:47:32 -07:00
Jakub Pawlowski
36a44f070e Merge "Expose connection update callback (4/4)" am: 60865e4a8d am: 45487910b4
am: ccff3be9d4

Change-Id: I621210ff8d2c0b203d86e6ad2a11402466724b97
2017-03-24 20:46:59 +00:00
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