308264 Commits

Author SHA1 Message Date
Yuxin Chang
012a9c1f6e Merge "Show connection error reason for Passpoint AP" am: 855889b086
am: 4896a04013

Change-Id: I14f9205148adbb1819ed3c40b6536d1c72cd6536
2017-02-17 22:30:16 +00:00
Julia Reynolds
12054fdc87 Merge "Hide incomplete feature." 2017-02-17 22:30:12 +00:00
Todd Kennedy
bbdd8e4a3b Fix instant app resolution
Resolving intents with a specified component goes down a different
path than regular resolution. For Instant Apps, that meant that
sometimes the Instant App was not able to resolve it's own
activities. Added some new CTS tests to verify that this works.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
Change-Id: Ic8a8eaef7eb9e230fdc701c79c85227d0939d974
2017-02-17 14:29:34 -08:00
Etan Cohen
313b7c3613 Merge "[AWARE] Remove enableUsage/disableUsage API" am: 647f2e1493
am: 8e32c1b718

Change-Id: I52340c790fe638c0baf8d48e5880b1e8ac8e408f
2017-02-17 22:26:51 +00:00
Colin Cross
3c2c2764d4 Merge changes I82aa8140,Ib62a5dd6,I2c4d64e2
am: 313e645801

Change-Id: Ia10d20ea4ebabc2cc84524950dec7570104b185f
2017-02-17 22:25:53 +00:00
Etan Cohen
2fd54ee28a Merge "[AWARE] Add discovery window period configuration" am: 17532ec02e
am: f8637d5c04

Change-Id: Ife1cfc7e027b858844a1a251843e0669d0ce3720
2017-02-17 22:24:04 +00:00
Yuxin Chang
4896a04013 Merge "Show connection error reason for Passpoint AP"
am: 855889b086

Change-Id: I164f575dfc5dd69912f433e46b1d70b1fd11b1e6
2017-02-17 22:22:05 +00:00
TreeHugger Robot
239fb19256 Merge "fallout of splitting rect.h out of libandroid." 2017-02-17 22:21:08 +00:00
Julia Reynolds
027c7499d0 Move volume dialog expander
Bug: 33760714
Bug: 32727078
Test: manual
Change-Id: I06934bf140483957b734d5b1b20e3c7c6b7b4497
2017-02-17 22:18:49 +00:00
Etan Cohen
8e32c1b718 Merge "[AWARE] Remove enableUsage/disableUsage API"
am: 647f2e1493

Change-Id: Ic48804f3e2ecac6a817d261f9f9cbfc505b01716
2017-02-17 22:18:32 +00:00
Etan Cohen
f8637d5c04 Merge "[AWARE] Add discovery window period configuration"
am: 17532ec02e

Change-Id: I62ba5123aafb236d756a4cafe7829717e8e542f9
2017-02-17 22:15:29 +00:00
TreeHugger Robot
c445da8f5e Merge "Allow the shell to set USB functions." 2017-02-17 22:09:58 +00:00
Tony Mantler
b8592357c3 Move InputMethodAndSubtypeEnabler to SettingsLib and port to TV
Bug: 35315463
Test: adb shell am start -a android.settings.INPUT_METHOD_SUBTYPE_SETTINGS
Change-Id: Ibd62633259fe06b3971130eab158f077ef066a95
2017-02-17 14:04:00 -08:00
jackqdyulei
111418e7ad Add statusLabel in BatteryInfo
The statusLabel shows the current status of the battery(i.e. not
charging, charging).

Bug: 35328749
Test: RunSettingsLibRoboTests
Change-Id: I5be13635be9b2749c0c62edeb1e0ac17ff423d83
2017-02-17 13:58:49 -08:00
Wale Ogunwale
387e4c6133 Display on-going notification for apps using alert windows.
Allows the user to associate alert windows with specific apps
and revoke the permission if they want.

Test: manual
Bug: 33256752
Change-Id: Ie28325b6bb799b3df253770ebe655f97ebbadd90
2017-02-17 13:45:24 -08:00
Pulkit Bhuwalka
d98a4e5021 Remove outdated emulator check which causes BT to not start
ro.kernel.qemu based check to determine whether Bluetooth should be
started or not was an old hack used when "features" was not available to
determine hardware availability. This was later fixed with the
hasSystemFeature check. However, the old check was not removed.

The presence of the old check causes Bluetooth to not start on Android
Things devices which have ro.kernel.qemu set for graphics usage. It's
also preferable to depend on the system API rather than on build
configs. Related CLs modify the emulator builds to correct the config in
builds.

Bug: 35361545
Change-Id: I219ce5e14709c76dcba43af4693093e985269d43
Test: Verified by launching bluetooth on local devices after removing
the old check. Also verified by booting up the emulator and verifying
that Bluetooth Services do not start.
2017-02-17 13:44:33 -08:00
Colin Cross
313e645801 Merge changes I82aa8140,Ib62a5dd6,I2c4d64e2
* changes:
  Enable multidex for SystemUITests
  Add missing transitive dependencies
  Revert "Remove support of disabling Jack."
2017-02-17 21:44:21 +00:00
Wale Ogunwale
943002b473 Set importance for processes displaying app-overlays based on visibility
We were previously setting this based on when the window was added and
removed. This can lead to issues where an app isn't allowed to show
alert windows so window manager hides the window after the permission is
revoked, but the window still exist in the system so the process
importance will still be high. We now set the process importance based
on if it has visible window surfaces or not.

Bug: 33256752
Test: cts/.../run-test CtsAppTestCases android.app.cts.AlertWindowsTests
Change-Id: I4e406a94683ec0eecc0911d0195e641c693e1c4a
2017-02-17 13:44:18 -08:00
George Mount
e718151625 Ensure transactions cannot be run during controller state change
Bug 35349893

When the FragmentManager is being brought up or down, the state
of fragments is changed. Any fragment using commitNow() during
the state change was being allowed through instead of throwing.

This CL locks out reentrant fragment transctions during
FragmentManager state changes.

Test: Iea6029ccfa660e8eea5ea7472f641dada1a6c269
Change-Id: I735d86a42951c6f58f048e4930be925da9c8247e
2017-02-17 13:36:50 -08:00
Treehugger Robot
855889b086 Merge "Show connection error reason for Passpoint AP" 2017-02-17 21:34:35 +00:00
Etan Cohen
647f2e1493 Merge "[AWARE] Remove enableUsage/disableUsage API" 2017-02-17 21:33:40 +00:00
Etan Cohen
17532ec02e Merge "[AWARE] Add discovery window period configuration" 2017-02-17 21:26:04 +00:00
Suprabh Shukla
2e7d6d64b9 Modifying dpm.setSecureSetting call for install_non_market_apps
Starting from O, install_non_market_apps is deprecated and will not be
checked by the package installer. Device admin apps should be using the
user restriction instead.
Since on managed profiles, the default value blocked install from
unknown sources, the system will set the user restriction on behalf of
the profile owners (if the profile has one).
For non-managed profiles, the user had access to the settings to change
the value of install_non_market_apps. So going forward, any request to
change it's value by dpm#setSecureSetting in such users is going to be
ignored.

Test: Manually tested that:
1. For a profile with PO, when install_non_market_apps was set to 0,
user restriction is set on upgrade
2. For a profile with PO, when install_non_market_apps was set to 1,
user restriction is not set on upgrade
3. After upgrade, newly created managed profiles with PO have user
restriction set

Bug: 33947615
Change-Id: I063e9ee608b52086ffdf8ed2b24e2928574c58cd
2017-02-17 13:25:14 -08:00
TreeHugger Robot
96b9832163 Merge "API for accessing preloaded files cache" 2017-02-17 21:09:28 +00:00
Mady Mellor
4c97b0a992 Fix leak in NotificationStackScroller by nulling out translatingParent
Once a notification is removed we don’t need to keep reference to
mTranslatingParentView.

Fixes: 35323108
Test: runtest systemui
Change-Id: Ibbecfde4b4f1ee56e3c4e0ec59fadf1284f6c6ce
2017-02-17 12:58:13 -08:00
TreeHugger Robot
cd1af32eda Merge "Add autoFillMode attribute to View" 2017-02-17 20:50:18 +00:00
Evan Rosky
1228e2cb83 Merge "Fixed default-cluster and empty-cluster navigation behavior" 2017-02-17 20:48:55 +00:00
TreeHugger Robot
137f1962da Merge "Add more metrics constants for new Storage settings." 2017-02-17 20:48:33 +00:00
TreeHugger Robot
4e43b811e7 Merge "Add multi-dex to SettingsLibTests when buliding with coverage" 2017-02-17 20:47:52 +00:00
TreeHugger Robot
19657b359a Merge "Revert "Revert "remove app-ephemeral""" 2017-02-17 20:46:12 +00:00
TreeHugger Robot
8c9a6b0089 Merge "Revert "Revert "Per user setting for instant app""" 2017-02-17 20:46:12 +00:00
Leonard Mosescu
2acd0cfaf0 Merge "Add missing break statement." am: 7a4b88de49 am: 080456edd6
am: 5d2af16008  -s ours

Change-Id: Iac5e03fa786cfef832dd8a77b6208a0bf9a1a3f0
2017-02-17 20:41:56 +00:00
Hiroaki Kuriyama
aa514313a5 Merge "PrintSpooler: Remove recommendation if Play Store is not installed" am: 57b966eee1 am: 7cd04745f4
am: 2ab70d213b

Change-Id: I9d4e003492c5d2b8463725e454ac985481958db7
2017-02-17 20:40:49 +00:00
Leonard Mosescu
5d2af16008 Merge "Add missing break statement." am: 7a4b88de49
am: 080456edd6

Change-Id: I2acd644f0bb5916f9c90a1103b023544a7eebddb
2017-02-17 20:34:48 +00:00
Brad Ebinger
9459d0e3da Merge "Adds @hide ImsService APIs" am: 2b879016d3 am: f46aa6f9ee
am: c9c8b590c5  -s ours

Change-Id: Iedc914d5b822f5f1d9a7a1404016e74731f9dd5a
2017-02-17 20:34:34 +00:00
Leonard Mosescu
080456edd6 Merge "Add missing break statement."
am: 7a4b88de49

Change-Id: I3323063130b71f831d7c6356d0657161f84c9e38
2017-02-17 20:31:15 +00:00
Hiroaki Kuriyama
2ab70d213b Merge "PrintSpooler: Remove recommendation if Play Store is not installed" am: 57b966eee1
am: 7cd04745f4

Change-Id: I04a0d5afbaedbef3a1d7b005dba124888fd213ca
2017-02-17 20:30:36 +00:00
Brad Ebinger
c9c8b590c5 Merge "Adds @hide ImsService APIs" am: 2b879016d3
am: f46aa6f9ee

Change-Id: I12e10d796a7b2d56cacf8e9b53bb5e228b79ecc3
2017-02-17 20:29:13 +00:00
Mathias Agopian
f1cb02e7b5 fallout of splitting rect.h out of libandroid.
- Main goal here: libandroid now links against 
libarect and export its includes.

- Also fix some wrongful makefiles that included 
headers without proper dependency list.

Test: built and booted device
Bug: 35164655
Change-Id: Iae17b966bba00fe53424486a75eebff468873787
2017-02-17 12:25:26 -08:00
Leonard Mosescu
7a4b88de49 Merge "Add missing break statement." 2017-02-17 20:22:07 +00:00
TreeHugger Robot
0df4c60716 Merge "Fix trampoline activities when relaunching PiP" 2017-02-17 20:14:24 +00:00
Jason Monk
95fc719738 Merge "Add ongoing notification for instant apps" 2017-02-17 20:13:45 +00:00
Hyunyoung Song
be8835e86b Change MaskableIconDrawable to AdaptiveIconDrawable
Test: $ make -j31 dist

Bug: 35399620
Change-Id: I5e54f75b3df21ffe546e0e54dbd7ea29499d1789
2017-02-17 12:13:22 -08:00
Hiroaki Kuriyama
7cd04745f4 Merge "PrintSpooler: Remove recommendation if Play Store is not installed"
am: 57b966eee1

Change-Id: I48c070c4b3e1cf3d1d6ff71612c7ad6d44e6cb1f
2017-02-17 19:52:32 +00:00
Jerry Zhang
f970636072 Allow the shell to set USB functions.
Bug: 25596495
Test: svc usb setFunction mtp true
Change-Id: I4472464a1c7ed100cb257dbad83d1d8cfef88fc7
2017-02-17 11:50:30 -08:00
TreeHugger Robot
ae6db2f95c Merge "Add a disabled reason for recommendation providers" 2017-02-17 19:48:51 +00:00
TreeHugger Robot
a42ba85b0e Merge "Clarify extra data argument nullness." 2017-02-17 19:47:02 +00:00
Treehugger Robot
57b966eee1 Merge "PrintSpooler: Remove recommendation if Play Store is not installed" 2017-02-17 19:45:06 +00:00
Brad Ebinger
f46aa6f9ee Merge "Adds @hide ImsService APIs"
am: 2b879016d3

Change-Id: Ia8b557ee006d3ffdbbe420934b97b0e7feb2ca80
2017-02-17 19:33:02 +00:00
Romain Guy
172873f5e6 Merge "Add RGBA 10:10:10:2 format for surfaces" 2017-02-17 19:25:08 +00:00