OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Control privileged permissions for priv-apps"
Fyodor Kupolov [Tue, 15 Nov 2016 19:29:09 +0000 (19:29 +0000)]
Merge "Control privileged permissions for priv-apps"

7 years agoMerge "Volume slider should always show the proper level."
Julia Reynolds [Tue, 15 Nov 2016 19:23:28 +0000 (19:23 +0000)]
Merge "Volume slider should always show the proper level."

7 years agoMerge "ims:rcs: New API change to notify EAB about UnPublish"
Brad Ebinger [Tue, 15 Nov 2016 18:58:46 +0000 (18:58 +0000)]
Merge "ims:rcs: New API change to notify EAB about UnPublish"

7 years agoMerge "Don't update fragments if the manager's state doesn't change."
TreeHugger Robot [Tue, 15 Nov 2016 18:44:41 +0000 (18:44 +0000)]
Merge "Don't update fragments if the manager's state doesn't change."

7 years agoFix minor issues discovered with Multi-Display tests
Andrii Kulian [Fri, 11 Nov 2016 19:14:12 +0000 (11:14 -0800)]
Fix minor issues discovered with Multi-Display tests

- NPE when launching activity on secondary display
and there is a docked stack on primary.
- Activities not finished correctly on secondary display
when it is removed.

Change-Id: If527211e8192088790d32b9673b960535e27033f
Test: See ActivityManagerDisplayTests.

7 years agoMerge "Add API to launch activities on secondary displays"
Andrii Kulian [Tue, 15 Nov 2016 18:27:35 +0000 (18:27 +0000)]
Merge "Add API to launch activities on secondary displays"

7 years agoAdd API to launch activities on secondary displays
Andrii Kulian [Wed, 2 Nov 2016 19:21:33 +0000 (12:21 -0700)]
Add API to launch activities on secondary displays

displayId can be specified as a part of ActivityOptions.
We will look for a valid stack on the specified display, starting
from the topmost one. If no valid stack is found, new dynamic stack
can be created on external display.
Launch stack and display id can't be set at the same time, otherwise
exception will be thrown.

Test: ActivityManagerDisplayTests
Test: #testLaunchActivityOnSecondaryDisplay
Test: #testConsequentLaunchActivity
Test: #testConsequentLaunchActivityFromSecondaryDisplay
Test: #testLaunchActivityFromAppToSecondaryDisplay
Change-Id: I8a202bc076319e23948d81b99a2c68d7b733b5e4

7 years agoMerge "return 0 for allocation size if recycled"
John Reck [Tue, 15 Nov 2016 17:15:02 +0000 (17:15 +0000)]
Merge "return 0 for allocation size if recycled"

7 years agoMerge "Correctly handle when the user has no explicit time_12_24 setting" am: 8631e19...
Neil Fuller [Tue, 15 Nov 2016 17:11:40 +0000 (17:11 +0000)]
Merge "Correctly handle when the user has no explicit time_12_24 setting" am: 8631e19d38 am: 98f03f4980 am: ef34053f26
am: 9103632f9d

Change-Id: I3b2b8355d80dca87a09ef97027753bcd568cff14

7 years agoMerge "Correctly handle when the user has no explicit time_12_24 setting" am: 8631e19...
Neil Fuller [Tue, 15 Nov 2016 17:04:37 +0000 (17:04 +0000)]
Merge "Correctly handle when the user has no explicit time_12_24 setting" am: 8631e19d38 am: 98f03f4980
am: ef34053f26

Change-Id: I3724485cc956b2d5a64a6e71f325181d5fdbcccf

7 years agoMerge "Correctly handle when the user has no explicit time_12_24 setting" am: 8631e19d38
Neil Fuller [Tue, 15 Nov 2016 16:57:32 +0000 (16:57 +0000)]
Merge "Correctly handle when the user has no explicit time_12_24 setting" am: 8631e19d38
am: 98f03f4980

Change-Id: Ia6592370da446e43896fb56d12f734841e137d49

7 years agoMerge "Correctly handle when the user has no explicit time_12_24 setting"
Neil Fuller [Tue, 15 Nov 2016 16:50:29 +0000 (16:50 +0000)]
Merge "Correctly handle when the user has no explicit time_12_24 setting"
am: 8631e19d38

Change-Id: I70533c5ff4ac8cdeef1b42337bb47b09c8bbf927

7 years agoDon't update fragments if the manager's state doesn't change.
George Mount [Wed, 2 Nov 2016 21:33:18 +0000 (14:33 -0700)]
Don't update fragments if the manager's state doesn't change.

Bug 32610133

A change in behavior was introduced in which the dispatch* methods
moved the state of the manager's fragments even when the manager's
state doesn't change.

Test: I88f5a3313ad05429167c417b840f888f86fd1c11

Change-Id: Ie260b1c57fae505b2636ff7572a493a92449dff4

7 years agoMerge "Correctly handle when the user has no explicit time_12_24 setting"
Neil Fuller [Tue, 15 Nov 2016 16:39:42 +0000 (16:39 +0000)]
Merge "Correctly handle when the user has no explicit time_12_24 setting"

7 years agoMerge "Enforce line-wrapping in DeviceAdminReceiver.java"
TreeHugger Robot [Tue, 15 Nov 2016 15:28:44 +0000 (15:28 +0000)]
Merge "Enforce line-wrapping in DeviceAdminReceiver.java"

7 years agoMerge "add event type enum to proto def"
TreeHugger Robot [Tue, 15 Nov 2016 14:35:39 +0000 (14:35 +0000)]
Merge "add event type enum to proto def"

7 years agoMerge "Remove 'until next alarm'." into nyc-mr2-dev am: fd5f6e9446
Julia Reynolds [Tue, 15 Nov 2016 14:21:05 +0000 (14:21 +0000)]
Merge "Remove 'until next alarm'." into nyc-mr2-dev am: fd5f6e9446
am: a167322e66

Change-Id: Ia591935f33c21a9578c201da5f342f798afa73da

7 years agoRemove 'until next alarm'. am: 5edde5f18a
Julia Reynolds [Tue, 15 Nov 2016 14:19:52 +0000 (14:19 +0000)]
Remove 'until next alarm'. am: 5edde5f18a
am: 177a976a69

Change-Id: Ibc7fa4b34ea4822e61c78477007cef862dfe0127

7 years agoVolume slider should always show the proper level.
Julia Reynolds [Mon, 14 Nov 2016 18:13:08 +0000 (13:13 -0500)]
Volume slider should always show the proper level.

Even if the phone is in vibrate mode.

Test: manual
Change-Id: Ie5a996ac2a43920b62aac0402e597a1babf3c289

7 years agoMerge "Remove 'until next alarm'." into nyc-mr2-dev
Julia Reynolds [Tue, 15 Nov 2016 14:13:23 +0000 (14:13 +0000)]
Merge "Remove 'until next alarm'." into nyc-mr2-dev
am: fd5f6e9446

Change-Id: I9cfa68615af9415265955d62a924d8fb9ddb2d80

7 years agoRemove 'until next alarm'.
Julia Reynolds [Tue, 15 Nov 2016 14:13:18 +0000 (14:13 +0000)]
Remove 'until next alarm'.
am: 5edde5f18a

Change-Id: I0f247f52155f78cefe0d2e850e9d5f1ca65dfb42

7 years agoMerge "Remove 'until next alarm'." into nyc-mr2-dev
Julia Reynolds [Tue, 15 Nov 2016 14:06:35 +0000 (14:06 +0000)]
Merge "Remove 'until next alarm'." into nyc-mr2-dev

7 years agoMerge "Fix testActivity on buildbot"
Jerome Gaillard [Tue, 15 Nov 2016 14:00:42 +0000 (14:00 +0000)]
Merge "Fix testActivity on buildbot"

7 years agoMerge "Dump the entire state of WebViewUpdateService on demand."
Gustav Sennton [Tue, 15 Nov 2016 12:53:57 +0000 (12:53 +0000)]
Merge "Dump the entire state of WebViewUpdateService on demand."

7 years agoMerge "Use layered version of graphic buffer allocation calls."
TreeHugger Robot [Tue, 15 Nov 2016 05:14:56 +0000 (05:14 +0000)]
Merge "Use layered version of graphic buffer allocation calls."

7 years agoMerge "osu: remove calls to deprecated APIs" am: e9514808d7 am: 30874ed6ed am: 0a5b88e286
Peter Qiu [Tue, 15 Nov 2016 04:37:56 +0000 (04:37 +0000)]
Merge "osu: remove calls to deprecated APIs" am: e9514808d7 am: 30874ed6ed am: 0a5b88e286
am: 6966f450a2  -s ours

Change-Id: I786dfe46041dbf9c73e07b1fd20f9f720b3fbcb5

7 years agoMerge "osu: remove calls to deprecated APIs" am: e9514808d7 am: 30874ed6ed
Peter Qiu [Tue, 15 Nov 2016 04:30:20 +0000 (04:30 +0000)]
Merge "osu: remove calls to deprecated APIs" am: e9514808d7 am: 30874ed6ed
am: 0a5b88e286

Change-Id: Ifb54b8061a70851a8989fae30466f87822e05943

7 years agoMerge "osu: remove calls to deprecated APIs" am: e9514808d7
Peter Qiu [Tue, 15 Nov 2016 04:23:21 +0000 (04:23 +0000)]
Merge "osu: remove calls to deprecated APIs" am: e9514808d7
am: 30874ed6ed

Change-Id: I43093bf243cb249ad892bdf94ea9781ca734e239

7 years agoMerge "osu: remove calls to deprecated APIs"
Peter Qiu [Tue, 15 Nov 2016 04:15:59 +0000 (04:15 +0000)]
Merge "osu: remove calls to deprecated APIs"
am: e9514808d7

Change-Id: If7c31b7d901ef8cc8561b7f0933d803498105e75

7 years agoMerge "osu: remove calls to deprecated APIs"
Treehugger Robot [Tue, 15 Nov 2016 03:59:57 +0000 (03:59 +0000)]
Merge "osu: remove calls to deprecated APIs"

7 years agoMerge "Add WiFi toggle prompts - framework" into stage-aosp-master am: 9f078049cf...
Svetoslav Ganov [Tue, 15 Nov 2016 03:48:59 +0000 (03:48 +0000)]
Merge "Add WiFi toggle prompts - framework" into stage-aosp-master am: 9f078049cf am: 05149e69cb
am: a30eb89ead

Change-Id: If91048fb75a0d095541193d3e054d99a1304edb4

7 years agoAdd WiFi toggle prompts - framework am: 6c3032f16b am: 23328d9714
Svetoslav Ganov [Tue, 15 Nov 2016 03:48:01 +0000 (03:48 +0000)]
Add WiFi toggle prompts - framework am: 6c3032f16b am: 23328d9714
am: afb49d395e

Change-Id: I7a5a76e9220f261248607be34f63335c9fcb4b0a

7 years agoMerge "Add WiFi toggle prompts - framework" into stage-aosp-master am: 9f078049cf
Svetoslav Ganov [Tue, 15 Nov 2016 03:41:14 +0000 (03:41 +0000)]
Merge "Add WiFi toggle prompts - framework" into stage-aosp-master am: 9f078049cf
am: 05149e69cb

Change-Id: Ib284befe74e6bca8b3c75e5c33dec1ba23eab898

7 years agoAdd WiFi toggle prompts - framework am: 6c3032f16b
Svetoslav Ganov [Tue, 15 Nov 2016 03:40:16 +0000 (03:40 +0000)]
Add WiFi toggle prompts - framework am: 6c3032f16b
am: 23328d9714

Change-Id: I629311080b90402a3919dcd3c7b49291800a398b

7 years agoMerge "Preventing widgets from exceeding Bitmap memory limit"
Sunny Goyal [Tue, 15 Nov 2016 03:33:42 +0000 (03:33 +0000)]
Merge "Preventing widgets from exceeding Bitmap memory limit"

7 years agoMerge "Add WiFi toggle prompts - framework" into stage-aosp-master
Svetoslav Ganov [Tue, 15 Nov 2016 03:28:20 +0000 (03:28 +0000)]
Merge "Add WiFi toggle prompts - framework" into stage-aosp-master
am: 9f078049cf

Change-Id: I28501fc58e597c1f5e9d4da6bfaa3a015cad1260

7 years agoAdd WiFi toggle prompts - framework
Svetoslav Ganov [Tue, 15 Nov 2016 03:27:22 +0000 (03:27 +0000)]
Add WiFi toggle prompts - framework
am: 6c3032f16b

Change-Id: Ie89a9b91b8b1cd7158a743d8b5870d8f9d6f8adc

7 years agoMerge "Update for removing read/writeEmbeddedFrom/ToParcel methods." am: 8cc1343724...
Yifan Hong [Tue, 15 Nov 2016 03:26:51 +0000 (03:26 +0000)]
Merge "Update for removing read/writeEmbeddedFrom/ToParcel methods." am: 8cc1343724 am: 2187dc5ca1 am: 41579ea4d4
am: 8afcb67a89

Change-Id: Ib6657958538c75814f9e5afd17c9446e3a8ff7fe

7 years agoMerge "Update for removing read/writeEmbeddedFrom/ToParcel methods." am: 8cc1343724...
Yifan Hong [Tue, 15 Nov 2016 03:19:19 +0000 (03:19 +0000)]
Merge "Update for removing read/writeEmbeddedFrom/ToParcel methods." am: 8cc1343724 am: 2187dc5ca1
am: 41579ea4d4

Change-Id: Ia8f41eb4c76c241088a4cce368409bd61deb5d35

7 years agoMerge "Add WiFi toggle prompts - framework" into stage-aosp-master
TreeHugger Robot [Tue, 15 Nov 2016 03:18:21 +0000 (03:18 +0000)]
Merge "Add WiFi toggle prompts - framework" into stage-aosp-master

7 years agoMerge "Update for removing read/writeEmbeddedFrom/ToParcel methods." am: 8cc1343724
Yifan Hong [Tue, 15 Nov 2016 03:12:43 +0000 (03:12 +0000)]
Merge "Update for removing read/writeEmbeddedFrom/ToParcel methods." am: 8cc1343724
am: 2187dc5ca1

Change-Id: If0919864026c78fed76df1554235c2acca9f2750

7 years agoMerge "Update for removing read/writeEmbeddedFrom/ToParcel methods."
Yifan Hong [Tue, 15 Nov 2016 03:06:44 +0000 (03:06 +0000)]
Merge "Update for removing read/writeEmbeddedFrom/ToParcel methods."
am: 8cc1343724

Change-Id: If003adc06673d8e6c6db6f8a5d858dcca7aed109

7 years agoMerge "Update for removing read/writeEmbeddedFrom/ToParcel methods."
Treehugger Robot [Tue, 15 Nov 2016 02:59:51 +0000 (02:59 +0000)]
Merge "Update for removing read/writeEmbeddedFrom/ToParcel methods."

7 years agoAdd WiFi toggle prompts - framework
Svetoslav Ganov [Wed, 27 Jul 2016 01:23:01 +0000 (18:23 -0700)]
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

Original-Change-Id: I020601e208c0736005bcabc7b7b77b96eee45b03
Change-Id: I3fdc2b02abecaf3166614b0cb9fac3553cb7ab88
(cherry picked from commit d3663c04a721e0848dd3e9179c84ba585d91839d)

7 years agoosu: remove calls to deprecated APIs
Peter Qiu [Mon, 14 Nov 2016 23:18:09 +0000 (15:18 -0800)]
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
Merged-In: Ic405695ee8edfd0c08b831834797f163fe445595
Change-Id: If418c64e69f1836575257b9d5b2f5c4373050a31

7 years agoControl privileged permissions for priv-apps
Fyodor Kupolov [Wed, 9 Nov 2016 22:32:27 +0000 (14:32 -0800)]
Control privileged permissions for priv-apps

Added support for privapp-permissions config element. It allows to explicitly
control what privileged permissions applications should be granted.

Feature is controlled by ro.control_privapp_permissions property.
Possible values:
- 0/false, the feature is completely disabled - signature|privileged
  permissions are granted automatically without logging. *Default behavior*
- 1/true, enforce that only whitelisted permissions are granted. Only
  devices with ro.control_privapp_permission=1 will pass CTS tests.

Test: Manual
Bug:31008485
Change-Id: I93a8c2782cc72b3953f32c237086d08d82ac0d5b

7 years agoFixed a bug with the emergency affordance in multi user am: b8a7f78d24 am: 6cc0b517ba...
Selim Cinek [Tue, 15 Nov 2016 01:39:25 +0000 (01:39 +0000)]
Fixed a bug with the emergency affordance in multi user am: b8a7f78d24 am: 6cc0b517ba am: 96d4aadb4c
am: 23067d83d5

Change-Id: I531d9e49ca42e49ee0f9e31722748501e558e7b1

7 years agoMerge "osu: remove calls to deprecated APIs"
TreeHugger Robot [Tue, 15 Nov 2016 01:35:41 +0000 (01:35 +0000)]
Merge "osu: remove calls to deprecated APIs"

7 years agoMerge "Group injected tiles together based on package name."
TreeHugger Robot [Tue, 15 Nov 2016 01:34:55 +0000 (01:34 +0000)]
Merge "Group injected tiles together based on package name."

7 years agoFixed a bug with the emergency affordance in multi user am: b8a7f78d24 am: 6cc0b517ba
Selim Cinek [Tue, 15 Nov 2016 01:32:12 +0000 (01:32 +0000)]
Fixed a bug with the emergency affordance in multi user am: b8a7f78d24 am: 6cc0b517ba
am: 96d4aadb4c

Change-Id: I46d1527df288330d9daea3f7c843a4b80a4ec468

7 years agoFixed a bug with the emergency affordance in multi user am: b8a7f78d24
Selim Cinek [Tue, 15 Nov 2016 01:24:32 +0000 (01:24 +0000)]
Fixed a bug with the emergency affordance in multi user am: b8a7f78d24
am: 6cc0b517ba

Change-Id: If537b10c1838a47e7662ef56ae08b806fe5d669f

7 years agoMerge "Removed WallpaperController dependency on WindowList."
Wale Ogunwale [Tue, 15 Nov 2016 01:19:37 +0000 (01:19 +0000)]
Merge "Removed WallpaperController dependency on WindowList."

7 years agoPreventing widgets from exceeding Bitmap memory limit
Sunny Goyal [Thu, 10 Nov 2016 01:05:06 +0000 (17:05 -0800)]
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

7 years agoFixed a bug with the emergency affordance in multi user
Selim Cinek [Tue, 15 Nov 2016 01:18:35 +0000 (01:18 +0000)]
Fixed a bug with the emergency affordance in multi user
am: b8a7f78d24

Change-Id: I68fa35dbedb3740eff1c83d03c9c9b5080d3ea81

7 years agoosu: remove calls to deprecated APIs
Peter Qiu [Mon, 14 Nov 2016 23:05:22 +0000 (15:05 -0800)]
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

7 years agoGroup injected tiles together based on package name.
Fan Zhang [Mon, 14 Nov 2016 17:48:06 +0000 (09:48 -0800)]
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

7 years agoMerge "Add internal support to convert a file system path to document URI."
Garfield Tan [Mon, 14 Nov 2016 23:37:06 +0000 (23:37 +0000)]
Merge "Add internal support to convert a file system path to document URI."

7 years agoFixed a bug with the emergency affordance in multi user
Selim Cinek [Thu, 3 Nov 2016 21:55:40 +0000 (14:55 -0700)]
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

7 years agoMerge "Add WiFi toggle prompts - framework" am: 584b5cee49 -s ours am: 31082a0824...
Sohani Rao [Mon, 14 Nov 2016 21:35:52 +0000 (21:35 +0000)]
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

7 years agoMerge "Add WiFi toggle prompts - framework" am: 584b5cee49 -s ours am: 31082a0824...
Sohani Rao [Mon, 14 Nov 2016 21:28:08 +0000 (21:28 +0000)]
Merge "Add WiFi toggle prompts - framework" am: 584b5cee49  -s ours am: 31082a0824  -s ours
am: 31264c994c  -s ours

Change-Id: I37fe61c02a960ab5024fca8ab025c8e1933d269b

7 years agoMerge "Add WiFi toggle prompts - framework" am: 584b5cee49 -s ours
Sohani Rao [Mon, 14 Nov 2016 21:21:38 +0000 (21:21 +0000)]
Merge "Add WiFi toggle prompts - framework" am: 584b5cee49  -s ours
am: 31082a0824  -s ours

Change-Id: Ib2d485f7c6904fc3890c08f34d52703b92d379b5

7 years agoMerge "Update usage of ActivityManagerNative."
TreeHugger Robot [Mon, 14 Nov 2016 21:20:58 +0000 (21:20 +0000)]
Merge "Update usage of ActivityManagerNative."

7 years agoMerge "Add WiFi toggle prompts - framework"
Sohani Rao [Mon, 14 Nov 2016 21:14:44 +0000 (21:14 +0000)]
Merge "Add WiFi toggle prompts - framework"
am: 584b5cee49  -s ours

Change-Id: I9dd54beb08f771be886c03fa0f8a3335f574c47c

7 years agoMerge "Uses a notification to request auto-fill."
TreeHugger Robot [Mon, 14 Nov 2016 21:08:57 +0000 (21:08 +0000)]
Merge "Uses a notification to request auto-fill."

7 years agoMerge "Add WiFi toggle prompts - framework"
Sohani Rao [Mon, 14 Nov 2016 20:59:35 +0000 (20:59 +0000)]
Merge "Add WiFi toggle prompts - framework"

7 years agoDump the entire state of WebViewUpdateService on demand.
Gustav Sennton [Fri, 21 Oct 2016 12:40:10 +0000 (13:40 +0100)]
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

7 years agoMerge "Permissions check for Wifi Display configuration" am: f5c32a411c am: 7342bb84c...
Sohani Rao [Mon, 14 Nov 2016 20:07:39 +0000 (20:07 +0000)]
Merge "Permissions check for Wifi Display configuration" am: f5c32a411c am: 7342bb84cd am: b4663456d4
am: ac2191ebb0  -s ours

Change-Id: I5a03c8b0f8859fc4cefcdf795a7282543c74d708

7 years agoMerge "Permissions check for Wifi Display configuration" am: f5c32a411c am: 7342bb84cd
Sohani Rao [Mon, 14 Nov 2016 19:59:22 +0000 (19:59 +0000)]
Merge "Permissions check for Wifi Display configuration" am: f5c32a411c am: 7342bb84cd
am: b4663456d4

Change-Id: I9bfd828577029c3ebb6b89b6830a5c8d72833768

7 years agoMerge "Permissions check for Wifi Display configuration" am: f5c32a411c
Sohani Rao [Mon, 14 Nov 2016 19:44:46 +0000 (19:44 +0000)]
Merge "Permissions check for Wifi Display configuration" am: f5c32a411c
am: 7342bb84cd

Change-Id: Iac379dace6fd8b01e5bb80a193f79c65ace1f9b9

7 years agoMerge "2D recents: full screen view and semi-transparent dark background"
TreeHugger Robot [Mon, 14 Nov 2016 19:35:05 +0000 (19:35 +0000)]
Merge "2D recents: full screen view and semi-transparent dark background"

7 years agoMerge "Permissions check for Wifi Display configuration"
Sohani Rao [Mon, 14 Nov 2016 19:33:31 +0000 (19:33 +0000)]
Merge "Permissions check for Wifi Display configuration"
am: f5c32a411c

Change-Id: I7a1c2d0f48728cd5e056076a2cf1499a7abb2438

7 years agoreturn 0 for allocation size if recycled
John Reck [Mon, 14 Nov 2016 19:28:17 +0000 (11:28 -0800)]
return 0 for allocation size if recycled

Change-Id: Ic471701faf026411938ebe87131533a8ef09bbd7
Fixes: 19804653
Test: none

7 years agoUpdate usage of ActivityManagerNative.
Sudheer Shanka [Thu, 10 Nov 2016 23:30:17 +0000 (15:30 -0800)]
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

7 years agoMerge "Bind AutoFillService on demand."
TreeHugger Robot [Mon, 14 Nov 2016 19:23:18 +0000 (19:23 +0000)]
Merge "Bind AutoFillService on demand."

7 years agoMerge "Permissions check for Wifi Display configuration"
Sohani Rao [Mon, 14 Nov 2016 19:21:57 +0000 (19:21 +0000)]
Merge "Permissions check for Wifi Display configuration"

7 years agoMerge "Add @HalfFloat annotation for fp16 data types stored in shorts"
TreeHugger Robot [Mon, 14 Nov 2016 19:17:55 +0000 (19:17 +0000)]
Merge "Add @HalfFloat annotation for fp16 data types stored in shorts"

7 years agoZygote: Additional whitelists for runtime overlay / other static resources. am: d9a8e...
Narayan Kamath [Mon, 14 Nov 2016 19:10:14 +0000 (19:10 +0000)]
Zygote: Additional whitelists for runtime overlay / other static resources. am: d9a8ee7598 am: 7521a1b465
am: e824efaa20

Change-Id: I46c105c58fff536ddfa18de39c306135d710b176

7 years agoRemoved WallpaperController dependency on WindowList.
Wale Ogunwale [Wed, 9 Nov 2016 21:24:43 +0000 (13:24 -0800)]
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

7 years agoZygote: Additional whitelists for runtime overlay / other static resources. am: d9a8e...
Narayan Kamath [Mon, 14 Nov 2016 19:03:16 +0000 (19:03 +0000)]
Zygote: Additional whitelists for runtime overlay / other static resources. am: d9a8ee7598
am: 7521a1b465

Change-Id: I8988c6ef182a55bbd361ccc4db8ffde6297742cb

7 years agoUses a notification to request auto-fill.
Felipe Leme [Fri, 11 Nov 2016 22:50:31 +0000 (14:50 -0800)]
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

7 years agoZygote: Additional whitelists for runtime overlay / other static resources.
Narayan Kamath [Mon, 14 Nov 2016 18:56:09 +0000 (18:56 +0000)]
Zygote: Additional whitelists for runtime overlay / other static resources.
am: d9a8ee7598

Change-Id: Ie7c2ec8ec358ce403a0c8afe6305d3164d3892e8

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Mon, 14 Nov 2016 18:38:13 +0000 (18:38 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Mon, 14 Nov 2016 18:33:30 +0000 (18:33 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount." am: 8223dc1ae9 am...
Tyler Gunn [Mon, 14 Nov 2016 18:32:04 +0000 (18:32 +0000)]
Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount." am: 8223dc1ae9 am: 8b58e73c48 am: 9e976c8565
am: 4a15007915

Change-Id: I40d164a429d05870b2f760e6740d3f27b3e2f224

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Mon, 14 Nov 2016 18:30:06 +0000 (18:30 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoAdd WiFi toggle prompts - framework
Svetoslav Ganov [Wed, 27 Jul 2016 01:23:01 +0000 (18:23 -0700)]
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

7 years agoMerge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount." am: 8223dc1ae9 am...
Tyler Gunn [Mon, 14 Nov 2016 18:22:14 +0000 (18:22 +0000)]
Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount." am: 8223dc1ae9 am: 8b58e73c48
am: 9e976c8565

Change-Id: If743a67bff170096f028c7d7f3fc88c8548dfbf1

7 years agoPermissions check for Wifi Display configuration
Sohani Rao [Thu, 29 Sep 2016 23:20:45 +0000 (16:20 -0700)]
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

7 years agoRemove 'until next alarm'.
Julia Reynolds [Fri, 11 Nov 2016 19:30:51 +0000 (14:30 -0500)]
Remove 'until next alarm'.

Test: manual
Bug: 32773368
Change-Id: I03db93d9371327a8e32929ce7fda66729cfe4a82

7 years agoMerge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount." am: 8223dc1ae9
Tyler Gunn [Mon, 14 Nov 2016 18:15:12 +0000 (18:15 +0000)]
Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount." am: 8223dc1ae9
am: 8b58e73c48

Change-Id: Ifdbfdb2f418297eae83a69196462dc847650e3e2

7 years agoMerge "Permissions check for Wifi Display configuration"
Sohani Rao [Mon, 14 Nov 2016 18:11:04 +0000 (18:11 +0000)]
Merge "Permissions check for Wifi Display configuration"

7 years agoMerge "resolve merge conflicts of 50c5f04 to master"
Andreas Gampe [Mon, 14 Nov 2016 18:09:29 +0000 (18:09 +0000)]
Merge "resolve merge conflicts of 50c5f04 to master"

7 years agoMerge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount."
Tyler Gunn [Mon, 14 Nov 2016 18:08:11 +0000 (18:08 +0000)]
Merge "Add CAPABILITY_SUPPORTS_VIDEO_CALLING to PhoneAccount."
am: 8223dc1ae9

Change-Id: Id8c6077d099f9ef943c09242acb22173b6628c1a

7 years agoFix testActivity on buildbot
Jerome Gaillard [Mon, 14 Nov 2016 17:11:38 +0000 (17:11 +0000)]
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)

7 years agoMerge "Added a callback for AutoFillService."
TreeHugger Robot [Mon, 14 Nov 2016 17:56:54 +0000 (17:56 +0000)]
Merge "Added a callback for AutoFillService."

7 years ago2D recents: full screen view and semi-transparent dark background
Manu Cornet [Mon, 14 Nov 2016 17:49:17 +0000 (09:49 -0800)]
2D recents: full screen view and semi-transparent dark background

This matches the newest mocks better than the previous version.

Bug: 32101881
Test: Locally on local Ryu device
Change-Id: I85769215a48b7a4f1e7b52bd7572eb48ca333471

7 years agoresolve merge conflicts of 50c5f04 to master
Andreas Gampe [Mon, 14 Nov 2016 17:42:42 +0000 (09:42 -0800)]
resolve merge conflicts of 50c5f04 to master

Change-Id: I2b1154e636258ccce6c4482415752444d2ac1326

7 years agoAdd @HalfFloat annotation for fp16 data types stored in shorts
Romain Guy [Mon, 14 Nov 2016 17:20:39 +0000 (09:20 -0800)]
Add @HalfFloat annotation for fp16 data types stored in shorts

This CL has a companion CL to add the @HalfFloat annotation to the
support library.

Test: cts-tradefed run singleCommand cts-dev --module CtsUtilTestCases --test android.util.cts.HalfTest
Bug: 29940137
Change-Id: I4e1dc456687c1c026437150e9cc94a54f3264d4e

7 years agoZygote: Additional whitelists for runtime overlay / other static resources.
Narayan Kamath [Mon, 14 Nov 2016 17:25:09 +0000 (17:25 +0000)]
Zygote: Additional whitelists for runtime overlay / other static resources.
am: 9087f331a8

Change-Id: I800230fd9a4baf543d53834b00019f81aa07bdc9

7 years agoZygote: Additional whitelists for runtime overlay / other static resources.
Narayan Kamath [Fri, 23 Sep 2016 08:07:11 +0000 (09:07 +0100)]
Zygote: Additional whitelists for runtime overlay / other static resources.

Partially cherry picked from commit 1c15c635785c64a.

These files are safe to reopen for the same reason that files in
/system/framework are. They're regular files and will not change after
the first zygote fork.

Bug: 32618130

Change-Id: I119e0bfcbf397cb331064adf148d92a5cd3ea92f
(cherry picked from commit 25cd01cc69fcad34756b00e52a79c0c54178f2e6)
(cherry picked from commit 9087f331a85790d49d1095e1eaf0305b7863e0ba)