Commit Graph

301953 Commits

Author SHA1 Message Date
Selim Cinek
96d4aadb4c Fixed a bug with the emergency affordance in multi user am: b8a7f78d24
am: 6cc0b517ba

Change-Id: If537b10c1838a47e7662ef56ae08b806fe5d669f
2016-11-15 01:24:32 +00:00
Wale Ogunwale
7c73dd6a20 Merge "Removed WallpaperController dependency on WindowList." 2016-11-15 01:19:41 +00:00
Sunny Goyal
349b412b4b Preventing widgets from exceeding Bitmap memory limit
> Moving the size check to a comman place so that it is executed in
all related code
> Fixing size calculation when views are merged as a result of partial
update

Test: Manually tested with a dummy app
Bug: 31790171
Change-Id: Id0ea776796f156455d2cba31c8392d4875116949
2016-11-14 17:19:25 -08:00
Selim Cinek
6cc0b517ba Fixed a bug with the emergency affordance in multi user
am: b8a7f78d24

Change-Id: I68fa35dbedb3740eff1c83d03c9c9b5080d3ea81
2016-11-15 01:18:35 +00:00
Ta-wei Yen
73cdcf5787 Make voicemail notification broadcast public
Fixes: 32884372
Bug: 32414216
Test: CTS Verifier -> Telephony -> Voicemail Broadcast Test

Change-Id: Id11d68bc154517a0965c8368a85013128e6b0b58
2016-11-14 16:48:23 -08:00
Peter Qiu
21c1514891 osu: remove calls to deprecated APIs
The hidden APIs WifiManager#addPasspointManagmentObject and
WifiManager#addPasspointManagementObject will removed, so remove
all callsites.

The OSU app is still under developement and is not included
in any device builds.  However, it is being built by the Treehugger
for generic AOSP builds.

So fix it to allow the API removal CLs to be submitted.

Bug: 32509661
Test: None
Change-Id: Ic405695ee8edfd0c08b831834797f163fe445595
2016-11-14 15:40:24 -08:00
Fan Zhang
fc76ab3cbf Group injected tiles together based on package name.
During grouping, tiles are sorted based on package name, and their own
priority value. However if the package is Settings itself, the ordering
is not changed.

Before sort: [pkg1, 100], [pgk2, 120], [pkg1, 130]
After sort: [pkg1, 1], [pkg1, 2], [pkg2,3]

This is necessary to make sure settings app have the overall control of
ordering of all dynamic tiles. When each app define their priority, they
don't have access to the global vision of what other settings are on
screen so it's possible different app define conflicting orderings.
Settings app is the only reasonable place to rank them properly.

Bug: 32827787
Test: RunSettingsLibRoboTests
Change-Id: I38de55530e61da9de7532ef6a7ee97ef89aca9d9
2016-11-14 15:37:49 -08:00
Garfield Tan
368d703d7d Merge "Add internal support to convert a file system path to document URI." 2016-11-14 23:37:12 +00:00
Todd Kennedy
01ad0c7e40 Implement 2-phase resolution
Bug: 25119046
Test: build & install the sample resolver and run 'adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "https://www.tripadvisor.com/Tourism-g33020-San_Jose_California-Vacations.html"'
Change-Id: I624b9028061aad35db80e0d51bfe0a39fb81806c
2016-11-14 15:05:21 -08:00
Selim Cinek
b8a7f78d24 Fixed a bug with the emergency affordance in multi user
The emergency call was not launched in the current user
and therefore was only launching once the user had switched.

Change-Id: If6f3bcf77d88a0658b6e0f91f7e4da5d6264b04f
Fixes: 32424103
Test: manual: switch to secondary user and launch emergency affordance
2016-11-14 23:00:24 +00:00
Ben Lin
2b64a88274 Javadoc and un@hide ContentResolver#refresh and ContentProvider#refresh.
Test: CTS Tests part of same topic.

Bug: 31647485
Change-Id: Iad7f19b6b54f72736fbb7e477f67cf541d838903
2016-11-14 14:30:59 -08:00
Sohani Rao
04c0d2b568 Merge "Add WiFi toggle prompts - framework" am: 584b5cee49 -s ours am: 31082a0824 -s ours am: 31264c994c -s ours
am: b15893c723  -s ours

Change-Id: I0281f56f8f06c69754d0559cc1e72dc248050aad
2016-11-14 21:35:52 +00:00
Sohani Rao
b15893c723 Merge "Add WiFi toggle prompts - framework" am: 584b5cee49 -s ours am: 31082a0824 -s ours
am: 31264c994c  -s ours

Change-Id: I37fe61c02a960ab5024fca8ab025c8e1933d269b
2016-11-14 21:28:08 +00:00
Peter Qiu
1c3054ea87 wifi: remove unused hidden Hotspot 2.0 Release 1 API
WifiManager#buildWifiConfig was used by the Hotspot 2.0 Release 1
app (WifiInstaller) for parsing Release 1 installation data into
a WifiConfiguration object.  WifiInstaller will be updated to use
the new framework API (android.net.wifi.hotspot2.ConfigBuilder)
instead. So this API is no longer needed.

Bug: 32509661
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: Iacee739a9ed12ea00b1b7457e22e790ef4a177da
2016-11-14 13:23:01 -08:00
Peter Qiu
a38558b539 wifi: remove hidden unused Hotspot 2.0 Release 2 APIs
These APIs are used for installing/modifying the PerProviderSubscription
Management Object tree in XML string representation and are used only by
the unreleased Hotspot 2.0 Release 2 app (OSU app).  The OSU app will be
updated to use the new APIs which uses Parcelable objects to represent
provider configuration.

Bug: 32509661
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: Iff6b6e4b95b76d48201eeeb47f441b7c94f359bb
2016-11-14 13:23:01 -08:00
Sohani Rao
31264c994c Merge "Add WiFi toggle prompts - framework" am: 584b5cee49 -s ours
am: 31082a0824  -s ours

Change-Id: Ib2d485f7c6904fc3890c08f34d52703b92d379b5
2016-11-14 21:21:38 +00:00
TreeHugger Robot
c329ea3e48 Merge "Update usage of ActivityManagerNative." 2016-11-14 21:21:02 +00:00
Sohani Rao
31082a0824 Merge "Add WiFi toggle prompts - framework"
am: 584b5cee49  -s ours

Change-Id: I9dd54beb08f771be886c03fa0f8a3335f574c47c
2016-11-14 21:14:44 +00:00
TreeHugger Robot
be12db588f Merge "Uses a notification to request auto-fill." 2016-11-14 21:08:59 +00:00
Sohani Rao
584b5cee49 Merge "Add WiFi toggle prompts - framework" 2016-11-14 20:59:36 +00:00
Gustav Sennton
1eb3820d7e Dump the entire state of WebViewUpdateService on demand.
It is especially useful to know which is the current WebView package but
we also add some other state to be able to debug WebViewUpdateService.

Bug: 32307028
Test: Run 'adb shell dumpsys webviewupdate' and inspect printed
contents.
Test: Take bug report and inspect the 'webviewupdate' dump section.
Change-Id: I79c2cda87ea7633a915eae5de3c3015b18ed6d7c
2016-11-14 20:50:19 +00:00
Sohani Rao
14fee43664 Merge "Permissions check for Wifi Display configuration" am: f5c32a411c am: 7342bb84cd am: b4663456d4
am: ac2191ebb0  -s ours

Change-Id: I5a03c8b0f8859fc4cefcdf795a7282543c74d708
2016-11-14 20:07:39 +00:00
Sohani Rao
ac2191ebb0 Merge "Permissions check for Wifi Display configuration" am: f5c32a411c am: 7342bb84cd
am: b4663456d4

Change-Id: I9bfd828577029c3ebb6b89b6830a5c8d72833768
2016-11-14 19:59:22 +00:00
Sohani Rao
b4663456d4 Merge "Permissions check for Wifi Display configuration" am: f5c32a411c
am: 7342bb84cd

Change-Id: Iac379dace6fd8b01e5bb80a193f79c65ace1f9b9
2016-11-14 19:44:46 +00:00
TreeHugger Robot
ceb9ec6dbf Merge "2D recents: full screen view and semi-transparent dark background" 2016-11-14 19:35:09 +00:00
Sohani Rao
7342bb84cd Merge "Permissions check for Wifi Display configuration"
am: f5c32a411c

Change-Id: I7a1c2d0f48728cd5e056076a2cf1499a7abb2438
2016-11-14 19:33:31 +00:00
John Reck
3bdecbf0fd return 0 for allocation size if recycled
Change-Id: Ic471701faf026411938ebe87131533a8ef09bbd7
Fixes: 19804653
Test: none
2016-11-14 11:28:17 -08:00
Sudheer Shanka
dc589ac82b Update usage of ActivityManagerNative.
- Remove references to ActivityManagerProxy.
- Add isSystemReady to ActivityManager.

Bug: 30977067
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts
      adb shell am instrument -e class com.android.server.am.ActivityManagerTest,com.android.server.am.TaskStackChangedListenerTest \
          -w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I07390b6124fb1515821f5c0b37baf6ae74adc8fa
2016-11-14 11:27:12 -08:00
TreeHugger Robot
0305eb6201 Merge "Bind AutoFillService on demand." 2016-11-14 19:23:23 +00:00
Sohani Rao
f5c32a411c Merge "Permissions check for Wifi Display configuration" 2016-11-14 19:21:58 +00:00
TreeHugger Robot
83b5309793 Merge "Add @HalfFloat annotation for fp16 data types stored in shorts" 2016-11-14 19:17:59 +00:00
Narayan Kamath
8c053ae1f6 Zygote: Additional whitelists for runtime overlay / other static resources. am: d9a8ee7598 am: 7521a1b465
am: e824efaa20

Change-Id: I46c105c58fff536ddfa18de39c306135d710b176
2016-11-14 19:10:14 +00:00
Wale Ogunwale
f4ebe2e2cc Removed WallpaperController dependency on WindowList.
WallpaperController now accesses the container hierarchy directly
to determine the state of the wallpaper windows and targets.

Bug: 30060889
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test \
      android.server.cts.ActivityManagerTransitionSelectionTests

Change-Id: Ib70beaf340f257ad4e1093cc127f81e7adf41636
2016-11-14 11:03:52 -08:00
Narayan Kamath
e824efaa20 Zygote: Additional whitelists for runtime overlay / other static resources. am: d9a8ee7598
am: 7521a1b465

Change-Id: I8988c6ef182a55bbd361ccc4db8ffde6297742cb
2016-11-14 19:03:16 +00:00
Felipe Leme
fed51fcedb Uses a notification to request auto-fill.
This is a temporary approach until UX decide the final one.

BUG: 31001899
Test: manually built and ran it

Change-Id: I234ffc9bfffcccae5e5c310f9669c4a2a8e9d65c
2016-11-14 11:02:05 -08:00
Narayan Kamath
7521a1b465 Zygote: Additional whitelists for runtime overlay / other static resources.
am: d9a8ee7598

Change-Id: Ie7c2ec8ec358ce403a0c8afe6305d3164d3892e8
2016-11-14 18:56:09 +00:00
TreeHugger Robot
49642fff29 Merge "Import translations. DO NOT MERGE" 2016-11-14 18:38:18 +00:00
TreeHugger Robot
b439a4528a Merge "Import translations. DO NOT MERGE" 2016-11-14 18:33:34 +00:00
Tyler Gunn
ccacc5d32d Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount." am: 8223dc1ae9 am: 8b58e73c48 am: 9e976c8565
am: 4a15007915

Change-Id: I40d164a429d05870b2f760e6740d3f27b3e2f224
2016-11-14 18:32:04 +00:00
TreeHugger Robot
93dd397c59 Merge "Import translations. DO NOT MERGE" 2016-11-14 18:30:10 +00:00
Svetoslav Ganov
0efa843e72 Add WiFi toggle prompts - framework
If permission review is enabled toggling WiFi on or off
results in a user prompt to collect a consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

Bug: 28715749
Test: Unit Tests

Change-Id: I020601e208c0736005bcabc7b7b77b96eee45b03
Merged-In: I020601e208c0736005bcabc7b7b77b96eee45b03
2016-11-14 10:26:52 -08:00
Tyler Gunn
4a15007915 Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount." am: 8223dc1ae9 am: 8b58e73c48
am: 9e976c8565

Change-Id: If743a67bff170096f028c7d7f3fc88c8548dfbf1
2016-11-14 18:22:14 +00:00
Sohani Rao
ef401300e8 Permissions check for Wifi Display configuration
Wifi Display is configured using the AIDL call setMiracastMode()
and using a message over the async channel SET_WFD_INFO.
Enforce permissions on the calling uid before updating the config

Bug: 18668877
Test: Unit tests
Change-Id: I0be2d2af49070aad759f24bd31331f7df39a0422
Merged-In: I0be2d2af49070aad759f24bd31331f7df39a0422
2016-11-14 10:21:31 -08:00
Julia Reynolds
5edde5f18a Remove 'until next alarm'.
Test: manual
Bug: 32773368
Change-Id: I03db93d9371327a8e32929ce7fda66729cfe4a82
2016-11-14 18:18:41 +00:00
Tyler Gunn
9e976c8565 Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount." am: 8223dc1ae9
am: 8b58e73c48

Change-Id: Ifdbfdb2f418297eae83a69196462dc847650e3e2
2016-11-14 18:15:12 +00:00
Sohani Rao
db9bcdac6f Merge "Permissions check for Wifi Display configuration" 2016-11-14 18:11:07 +00:00
Andreas Gampe
3941bddc6f Merge "resolve merge conflicts of 50c5f04 to master" 2016-11-14 18:09:35 +00:00
Tyler Gunn
8b58e73c48 Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount."
am: 8223dc1ae9

Change-Id: Id8c6077d099f9ef943c09242acb22173b6628c1a
2016-11-14 18:08:11 +00:00
Jerome Gaillard
e6f30eec36 Fix testActivity on buildbot
Follow-up to commit 896cc3a794, the class file also needed to be
updated. The golden file of testActivity is also updated to be
the one built with jdk1.8.0_60 which is the one running on buildbot.

Test: Run testActivity
Change-Id: I7f3cfc1123160005c3cb5fa4213db6ae3a48457d
(cherry picked from commit aab13aee9a11c340952c24f2410940df59996816)
2016-11-14 18:05:57 +00:00
TreeHugger Robot
18fe8f6359 Merge "Added a callback for AutoFillService." 2016-11-14 17:56:59 +00:00