OSDN Git Service

android-x86/frameworks-base.git
7 years agoWatchDog: dump hal pids when killing a process.
Steven Moreland [Tue, 21 Mar 2017 19:52:16 +0000 (12:52 -0700)]
WatchDog: dump hal pids when killing a process.

Test: `adb shell am hang --allow-restart` -> Watchdog dumps
  hal traces (eventually)
Bug: 36414311
Change-Id: I5143cedf3e5ab4695d2507a29993e748f6de17d5

7 years agoAdd a default Surface to the VR Virtual Display.
Santos Cordon [Wed, 22 Mar 2017 00:05:36 +0000 (17:05 -0700)]
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

7 years agoMerge "Make auto-fill UI robust"
Felipe Leme [Sat, 25 Mar 2017 00:36:38 +0000 (00:36 +0000)]
Merge "Make auto-fill UI robust"

7 years agoMerge "Update hidden WifiManager API."
TreeHugger Robot [Fri, 24 Mar 2017 23:48:05 +0000 (23:48 +0000)]
Merge "Update hidden WifiManager API."

7 years agoMerge "Use resolved ActivityInfo to set instant app installer"
TreeHugger Robot [Fri, 24 Mar 2017 23:13:56 +0000 (23:13 +0000)]
Merge "Use resolved ActivityInfo to set instant app installer"

7 years agoMerge "Collect background stats: bluetooth, wifi, sensors"
TreeHugger Robot [Fri, 24 Mar 2017 23:04:02 +0000 (23:04 +0000)]
Merge "Collect background stats: bluetooth, wifi, sensors"

7 years agoMerge "Fix companion device feature presence check"
TreeHugger Robot [Fri, 24 Mar 2017 22:58:11 +0000 (22:58 +0000)]
Merge "Fix companion device feature presence check"

7 years agoMerge "Added support for maxAspectRatio manifest attribute."
TreeHugger Robot [Fri, 24 Mar 2017 22:42:08 +0000 (22:42 +0000)]
Merge "Added support for maxAspectRatio manifest attribute."

7 years agoMerge "Restructure a11y shortcut settings"
Phil Weaver [Fri, 24 Mar 2017 22:31:12 +0000 (22:31 +0000)]
Merge "Restructure a11y shortcut settings"

7 years agoMerge "Remove "Allow persistent changes to the vendor overlay theme""
TreeHugger Robot [Fri, 24 Mar 2017 22:25:16 +0000 (22:25 +0000)]
Merge "Remove "Allow persistent changes to the vendor overlay theme""

7 years agoMake auto-fill UI robust
Felipe Leme [Thu, 23 Mar 2017 03:24:00 +0000 (20:24 -0700)]
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

7 years agoMerge "AAPT2: Fix up file IO"
TreeHugger Robot [Fri, 24 Mar 2017 22:04:55 +0000 (22:04 +0000)]
Merge "AAPT2: Fix up file IO"

7 years agoMerge "Persist functions for oemOverride across reboot"
Badhri Jagan Sridharan [Fri, 24 Mar 2017 21:56:12 +0000 (21:56 +0000)]
Merge "Persist functions for oemOverride across reboot"

7 years agoMerge "Enable Wifi Wakeup Setting by default."
Stephen Chen [Fri, 24 Mar 2017 21:27:08 +0000 (21:27 +0000)]
Merge "Enable Wifi Wakeup Setting by default."

7 years agoMerge "Checks if an adapter item is null before addint it to options."
Felipe Leme [Fri, 24 Mar 2017 21:26:25 +0000 (21:26 +0000)]
Merge "Checks if an adapter item is null before addint it to options."

7 years agoAdded support for maxAspectRatio manifest attribute.
Wale Ogunwale [Mon, 20 Mar 2017 15:56:38 +0000 (08:56 -0700)]
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

7 years agoUse resolved ActivityInfo to set instant app installer
Fyodor Kupolov [Fri, 24 Mar 2017 18:38:16 +0000 (11:38 -0700)]
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

7 years agoMerge "Expose connection update callback (4/4)" am: 60865e4a8d am: 45487910b4
Jakub Pawlowski [Fri, 24 Mar 2017 20:46:59 +0000 (20:46 +0000)]
Merge "Expose connection update callback (4/4)" am: 60865e4a8d am: 45487910b4
am: ccff3be9d4

Change-Id: I621210ff8d2c0b203d86e6ad2a11402466724b97

7 years agoMerge "Expose connection update callback (4/4)" am: 60865e4a8d
Jakub Pawlowski [Fri, 24 Mar 2017 20:41:51 +0000 (20:41 +0000)]
Merge "Expose connection update callback (4/4)" am: 60865e4a8d
am: 45487910b4

Change-Id: I43cca913c52aac4bd3487f7450ef8167c19db0df

7 years agoFix companion device feature presence check
Eugene Susla [Fri, 24 Mar 2017 20:35:45 +0000 (13:35 -0700)]
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

7 years agoMerge "Expose connection update callback (4/4)"
Jakub Pawlowski [Fri, 24 Mar 2017 20:36:30 +0000 (20:36 +0000)]
Merge "Expose connection update callback (4/4)"
am: 60865e4a8d

Change-Id: I0f5301b195b697743d1fb552dac4af8e1fd1445c

7 years agoMerge "Expose connection update callback (4/4)"
Jakub Pawlowski [Fri, 24 Mar 2017 20:31:31 +0000 (20:31 +0000)]
Merge "Expose connection update callback (4/4)"

7 years agoCreate a metrics event for ag/1972563 (instant apps detail screen)
Antony Sargent [Thu, 23 Mar 2017 23:32:04 +0000 (16:32 -0700)]
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

7 years agoMerge "Add theme Theme.DeviceDefault.Settings.Dialog.NoActionBar"
Lei Yu [Fri, 24 Mar 2017 20:01:22 +0000 (20:01 +0000)]
Merge "Add theme Theme.DeviceDefault.Settings.Dialog.NoActionBar"

7 years agoMerge "Move percentage to left of battery"
Evan Laird [Fri, 24 Mar 2017 19:43:30 +0000 (19:43 +0000)]
Merge "Move percentage to left of battery"

7 years agoMerge "Update metrics proto for revised Magnification Settings"
Casey Burkhardt [Fri, 24 Mar 2017 19:35:19 +0000 (19:35 +0000)]
Merge "Update metrics proto for revised Magnification Settings"

7 years agoMerge "Allow system UID to call isSecurityLoggingEnabled()"
TreeHugger Robot [Fri, 24 Mar 2017 19:11:08 +0000 (19:11 +0000)]
Merge "Allow system UID to call isSecurityLoggingEnabled()"

7 years agodocs: Removing Android dev docs from Gerrit am: ecf817682a am: d4fdb6e3b2 am: 7ba81a3884
Andrew Solovay [Fri, 24 Mar 2017 18:20:15 +0000 (18:20 +0000)]
docs: Removing Android dev docs from Gerrit am: ecf817682a am: d4fdb6e3b2 am: 7ba81a3884
am: 5613cfb013  -s ours

Change-Id: I9ec75adb7ac3045a934ecfaf2d09de1990f1c2bc

7 years agodocs: Removing Android dev docs from Gerrit am: ecf817682a am: d4fdb6e3b2
Andrew Solovay [Fri, 24 Mar 2017 18:15:39 +0000 (18:15 +0000)]
docs: Removing Android dev docs from Gerrit am: ecf817682a am: d4fdb6e3b2
am: 7ba81a3884

Change-Id: Ibf17dbc51a17e5155bee49024bf6772bcec88967

7 years agodocs: Removing Android dev docs from Gerrit am: ecf817682a
Andrew Solovay [Fri, 24 Mar 2017 18:12:20 +0000 (18:12 +0000)]
docs: Removing Android dev docs from Gerrit am: ecf817682a
am: d4fdb6e3b2

Change-Id: I5fe711e6596afacc4bb363224dcb78057abd99c2

7 years agodocs: Removing Android dev docs from Gerrit
Andrew Solovay [Fri, 24 Mar 2017 18:03:12 +0000 (18:03 +0000)]
docs: Removing Android dev docs from Gerrit
am: ecf817682a

Change-Id: I0bcc2c8d0b63e73d88187c19ef4addeaed2bfdf0

7 years agoChecks if an adapter item is null before addint it to options.
Felipe Leme [Fri, 24 Mar 2017 17:39:40 +0000 (10:39 -0700)]
Checks if an adapter item is null before addint it to options.

Change-Id: I60634d0990d1d5bc33703abd41997e560f59ec77
Fixes: 36589254
Test: CheckoutActivityTest.testAutoFillDynamicAdapterWithNullItems()

7 years agoEnable Wifi Wakeup Setting by default.
Stephen Chen [Fri, 24 Mar 2017 01:21:56 +0000 (18:21 -0700)]
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

7 years agoMerge "Fix issue #34855227: Bg check Android O: Able to start..."
TreeHugger Robot [Fri, 24 Mar 2017 17:30:27 +0000 (17:30 +0000)]
Merge "Fix issue #34855227: Bg check Android O: Able to start..."

7 years agoFix issue #34855227: Bg check Android O: Able to start...
Dianne Hackborn [Thu, 23 Mar 2017 23:11:25 +0000 (16:11 -0700)]
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

7 years agoMerge "Partially return NEW_PICTURE and NEW_VIDEO."
Dianne Hackborn [Fri, 24 Mar 2017 17:28:54 +0000 (17:28 +0000)]
Merge "Partially return NEW_PICTURE and NEW_VIDEO."

7 years agoExpose connection update callback (4/4)
Jakub Pawlowski [Fri, 24 Mar 2017 02:05:55 +0000 (19:05 -0700)]
Expose connection update callback (4/4)

Test: manual
Bug: 30622771
Change-Id: I56a3c42814249abc33e95e84ce092c2d8df65434

7 years agoMerge "Deprecated getDeviceId and added getMeid and getImei" am: ad2e7405ad am: 9b7d3...
Jack Yu [Fri, 24 Mar 2017 17:22:45 +0000 (17:22 +0000)]
Merge "Deprecated getDeviceId and added getMeid and getImei" am: ad2e7405ad am: 9b7d3a86bd
am: 7da96487ab  -s ours

Change-Id: I14c2cfa9d1b4ba7986393b7aab00abe94d24fce5

7 years agoMerge "Deprecated getDeviceId and added getMeid and getImei" am: ad2e7405ad
Jack Yu [Fri, 24 Mar 2017 17:16:46 +0000 (17:16 +0000)]
Merge "Deprecated getDeviceId and added getMeid and getImei" am: ad2e7405ad
am: 9b7d3a86bd

Change-Id: I322d40e7696b34ad93781882120352587ff36363

7 years agoMerge "Deprecated getDeviceId and added getMeid and getImei"
Jack Yu [Fri, 24 Mar 2017 17:10:54 +0000 (17:10 +0000)]
Merge "Deprecated getDeviceId and added getMeid and getImei"
am: ad2e7405ad

Change-Id: I4e006290c54a371fc5f080c37f86ca946507d871

7 years agoMerge "Add strings for link beneath CA Certs disclosures"
Philipp Weiß [Fri, 24 Mar 2017 17:07:35 +0000 (17:07 +0000)]
Merge "Add strings for link beneath CA Certs disclosures"

7 years agoMerge "Deprecated getDeviceId and added getMeid and getImei"
Jack Yu [Fri, 24 Mar 2017 17:02:58 +0000 (17:02 +0000)]
Merge "Deprecated getDeviceId and added getMeid and getImei"

7 years agoMerge "Add plugin interfaces to control notification menu / swipe behavior"
Mady Mellor [Fri, 24 Mar 2017 16:54:14 +0000 (16:54 +0000)]
Merge "Add plugin interfaces to control notification menu / swipe behavior"

7 years agoMerge "Fix SystemUI intents"
TreeHugger Robot [Fri, 24 Mar 2017 16:39:56 +0000 (16:39 +0000)]
Merge "Fix SystemUI intents"

7 years agoMerge "Adding TV-specific strings"
Dmitri Plotnikov [Fri, 24 Mar 2017 15:58:55 +0000 (15:58 +0000)]
Merge "Adding TV-specific strings"

7 years agoMerge "Do not reuse fragment indices."
TreeHugger Robot [Fri, 24 Mar 2017 15:49:52 +0000 (15:49 +0000)]
Merge "Do not reuse fragment indices."

7 years agoMerge "Post WebView Zygote connection code to a background thread."
TreeHugger Robot [Fri, 24 Mar 2017 15:33:51 +0000 (15:33 +0000)]
Merge "Post WebView Zygote connection code to a background thread."

7 years agoManage controller connection from VrCore to VrWindowManager.
Kevin Schoedel [Wed, 22 Mar 2017 15:40:38 +0000 (11:40 -0400)]
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

7 years agoMerge "QS: Clean up dual target accessibility"
Jason Monk [Fri, 24 Mar 2017 14:57:58 +0000 (14:57 +0000)]
Merge "QS: Clean up dual target accessibility"

7 years agoFix SystemUI intents
Peeyush Agarwal [Fri, 24 Mar 2017 14:56:01 +0000 (14:56 +0000)]
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

7 years agoMove percentage to left of battery
Evan Laird [Fri, 24 Mar 2017 14:55:29 +0000 (10:55 -0400)]
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

7 years agoMerge "Dispose font cache on bridge.dispose"
Diego Perez [Fri, 24 Mar 2017 14:45:57 +0000 (14:45 +0000)]
Merge "Dispose font cache on bridge.dispose"

7 years agoAdd strings for link beneath CA Certs disclosures
phweiss [Fri, 24 Mar 2017 14:28:15 +0000 (15:28 +0100)]
Add strings for link beneath CA Certs disclosures

And fixing typos in other strings.

Bug: 34369166
Test: Only string fixes
Change-Id: If60b653dc387975ae7a6a7fcddcbd17773c854f3

7 years agoMerge "Enterprise string clean-up for O"
TreeHugger Robot [Fri, 24 Mar 2017 14:27:50 +0000 (14:27 +0000)]
Merge "Enterprise string clean-up for O"

7 years agoMerge "Revert "Integrate new looper apis into testables""
TreeHugger Robot [Fri, 24 Mar 2017 14:20:12 +0000 (14:20 +0000)]
Merge "Revert "Integrate new looper apis into testables""

7 years agoAllow system UID to call isSecurityLoggingEnabled()
Bartosz Fabianowski [Fri, 24 Mar 2017 13:22:24 +0000 (14:22 +0100)]
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

7 years agoMerge "Add strings for quick settings security footer"
TreeHugger Robot [Fri, 24 Mar 2017 13:23:51 +0000 (13:23 +0000)]
Merge "Add strings for quick settings security footer"

7 years agoMerge "Re-inflate fragments in sysui on font scale change"
Jason Monk [Fri, 24 Mar 2017 12:52:06 +0000 (12:52 +0000)]
Merge "Re-inflate fragments in sysui on font scale change"

7 years agoRevert "Integrate new looper apis into testables"
Jason Monk [Fri, 24 Mar 2017 12:44:34 +0000 (12:44 +0000)]
Revert "Integrate new looper apis into testables"

This reverts commit f715f417d23d0605abcac309135340ac6ce311ce.

Change-Id: I4c0c12d8687426cecccf0f8dad710ea42699727b

7 years agoPost WebView Zygote connection code to a background thread.
Gustav Sennton [Wed, 22 Mar 2017 19:30:33 +0000 (19:30 +0000)]
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

7 years agoAdd strings for quick settings security footer
phweiss [Mon, 20 Mar 2017 17:06:40 +0000 (18:06 +0100)]
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

7 years agoEnterprise string clean-up for O
Charles He [Thu, 23 Mar 2017 21:00:51 +0000 (21:00 +0000)]
Enterprise string clean-up for O

Bug: 34326838
Test: make
Change-Id: I70db223ea4ef77e791eb7ce98638909442a593aa

7 years agoMerge "Fix textStyle being ignored for Font resources in TextView"
Clara Bayarri [Fri, 24 Mar 2017 11:11:16 +0000 (11:11 +0000)]
Merge "Fix textStyle being ignored for Font resources in TextView"

7 years agoDispose font cache on bridge.dispose
Diego Perez [Fri, 24 Mar 2017 11:07:42 +0000 (11:07 +0000)]
Dispose font cache on bridge.dispose

Test: N/A
Change-Id: I81404740835814a018bfd70cf70b5c22933f19f5

7 years agoMerge "Added shadow to RemoteViews used by authentication requests."
TreeHugger Robot [Fri, 24 Mar 2017 07:25:59 +0000 (07:25 +0000)]
Merge "Added shadow to RemoteViews used by authentication requests."

7 years agoUpdate metrics proto for revised Magnification Settings
Casey Burkhardt [Thu, 23 Mar 2017 05:52:24 +0000 (22:52 -0700)]
Update metrics proto for revised Magnification Settings

Adds 1 new constants for metrics logging:
 - Magnification Settings UI in Settings > Accessibility
   > Magnification

Bug: 1428815208
Test: Manual
Change-Id: I2d15b5b8525235b46ff344fa67a07bf993838df7

7 years agoMerge "MediaBrowser: Add a disconnecting state"
TreeHugger Robot [Fri, 24 Mar 2017 05:57:27 +0000 (05:57 +0000)]
Merge "MediaBrowser: Add a disconnecting state"

7 years agoMerge "Temporarily ignore RuntimeException when displaying the UI."
TreeHugger Robot [Fri, 24 Mar 2017 05:54:04 +0000 (05:54 +0000)]
Merge "Temporarily ignore RuntimeException when displaying the UI."

7 years agoMerge "Unminimizing after toggle screen on/off shows docked app correctly (1/2)"
TreeHugger Robot [Fri, 24 Mar 2017 05:20:56 +0000 (05:20 +0000)]
Merge "Unminimizing after toggle screen on/off shows docked app correctly (1/2)"

7 years agoMerge "Removing unused method indexOfValueByValue"
TreeHugger Robot [Fri, 24 Mar 2017 05:04:53 +0000 (05:04 +0000)]
Merge "Removing unused method indexOfValueByValue"

7 years agoMerge "Hook up data saver to battery saver."
TreeHugger Robot [Fri, 24 Mar 2017 04:55:10 +0000 (04:55 +0000)]
Merge "Hook up data saver to battery saver."

7 years agoMerge "Set volume handling of the default route properly"
Sungsoo Lim [Fri, 24 Mar 2017 04:40:34 +0000 (04:40 +0000)]
Merge "Set volume handling of the default route properly"

7 years agoTemporarily ignore RuntimeException when displaying the UI.
Felipe Leme [Thu, 23 Mar 2017 22:41:21 +0000 (15:41 -0700)]
Temporarily ignore RuntimeException when displaying the UI.

Change-Id: Ia01f9204736418a8f1e5027aef755d0855feab04
Fixes: 36392498
Test: manual verification by forcing an exception

7 years agoMerge "Cherrypicked from nyc-mr1-dev docs: Removing Android docs from Gerrit Original...
Andrew Solovay [Fri, 24 Mar 2017 03:26:23 +0000 (03:26 +0000)]
Merge "Cherrypicked from nyc-mr1-dev docs: Removing Android docs from Gerrit Original Change-Id: I5331cdc968be817ff70ba32dd03fce76493a6ab8 Test: make ds-docs" into nyc-mr2-dev-plus-aosp
am: df3c192bfe

Change-Id: Ic088a9409d8edbd30c84f6a10dc290501dc87f97

7 years agoMerge "Cherrypicked from nyc-mr1-dev docs: Removing Android docs from Gerrit Original...
TreeHugger Robot [Fri, 24 Mar 2017 03:21:49 +0000 (03:21 +0000)]
Merge "Cherrypicked from nyc-mr1-dev docs: Removing Android docs from Gerrit Original Change-Id: I5331cdc968be817ff70ba32dd03fce76493a6ab8 Test: make ds-docs" into nyc-mr2-dev-plus-aosp

7 years agoAdded shadow to RemoteViews used by authentication requests.
Felipe Leme [Fri, 24 Mar 2017 02:54:27 +0000 (19:54 -0700)]
Added shadow to RemoteViews used by authentication requests.

Also removed obsolete autofill symbols and dimensions.

Fixes: 36492836
Bug: 36569941

Test: visual verification
Test: CtsAutoFillServiceTestCases pass

Change-Id: Id8169358bf426af5d70a82fa315e92304d06c159

7 years agoMerge "Minor string change to screen pinning"
TreeHugger Robot [Fri, 24 Mar 2017 02:39:28 +0000 (02:39 +0000)]
Merge "Minor string change to screen pinning"

7 years agoMerge "Use a single thread to handle multiple AppFuse mounts."
TreeHugger Robot [Fri, 24 Mar 2017 02:18:52 +0000 (02:18 +0000)]
Merge "Use a single thread to handle multiple AppFuse mounts."

7 years agoMerge "Some logging for settings reset"
TreeHugger Robot [Fri, 24 Mar 2017 02:17:15 +0000 (02:17 +0000)]
Merge "Some logging for settings reset"

7 years agoMerge "Create plugin interface for volume dialog"
TreeHugger Robot [Fri, 24 Mar 2017 02:14:21 +0000 (02:14 +0000)]
Merge "Create plugin interface for volume dialog"

7 years agoMerge "Moved the waiting for fingerprint string to the hint"
TreeHugger Robot [Fri, 24 Mar 2017 02:13:04 +0000 (02:13 +0000)]
Merge "Moved the waiting for fingerprint string to the hint"

7 years agoMerge "Deprecated getDeviceId and added getMeid and getImei"
Jack Yu [Fri, 24 Mar 2017 02:09:42 +0000 (02:09 +0000)]
Merge "Deprecated getDeviceId and added getMeid and getImei"

7 years agoUpdate hidden WifiManager API.
Amin Shaikh [Fri, 24 Mar 2017 00:59:48 +0000 (17:59 -0700)]
Update hidden WifiManager API.

- Refactor getWpsNfcConfigurationToken(int) to getCurrentNetworkWpsNfcConfigurationToken()

Bug: 35725168
Test: runtest frameworks-wifi
Change-Id: Ia362e4d781297d7f89a4437a0c5ae6edecff24e5

7 years agoMerge "Unhide FLAG_SUPPORT_EJECT and related methods."
TreeHugger Robot [Fri, 24 Mar 2017 01:23:45 +0000 (01:23 +0000)]
Merge "Unhide FLAG_SUPPORT_EJECT and related methods."

7 years agoRemoving unused method indexOfValueByValue
Suprabh Shukla [Thu, 23 Mar 2017 23:09:27 +0000 (16:09 -0700)]
Removing unused method indexOfValueByValue

The method was confusing and not used by anyone. Same functionality can
be implemented trivially in the client code.

Test: N/A

Bug: 35765468
Change-Id: Ia019088cd023c62d83760d9ebe883f7559a43375

7 years agoMerge "Recents: Remove TV Specific blacklist"
TreeHugger Robot [Fri, 24 Mar 2017 00:48:21 +0000 (00:48 +0000)]
Merge "Recents: Remove TV Specific blacklist"

7 years agoMerge "Add logging constant for vr display preference"
TreeHugger Robot [Fri, 24 Mar 2017 00:47:36 +0000 (00:47 +0000)]
Merge "Add logging constant for vr display preference"

7 years agoMerge "Fix add user tint, some people thought it was disabled"
TreeHugger Robot [Fri, 24 Mar 2017 00:45:46 +0000 (00:45 +0000)]
Merge "Fix add user tint, some people thought it was disabled"

7 years agoMerge "PIP: Move TV PIP location to the bottom right"
Jaewan Kim [Fri, 24 Mar 2017 00:44:02 +0000 (00:44 +0000)]
Merge "PIP: Move TV PIP location to the bottom right"

7 years agoSome logging for settings reset
Amith Yamasani [Tue, 21 Mar 2017 22:23:47 +0000 (15:23 -0700)]
Some logging for settings reset

If settings db gets reset because it disappeared/got corrupted,
then write the Build.ID of the OTA, so we know when it was reset.

Bug: 36365648
Test: manual
Change-Id: I499a7f65f07a61c0e4651dbd046fc5b16408c09d

7 years agoCreate plugin interface for volume dialog
Jason Monk [Wed, 22 Mar 2017 16:50:57 +0000 (12:50 -0400)]
Create plugin interface for volume dialog

Very few logic changes, mostly just breaking out certain interfaces
and classes to the plugin lib.

Test: make + volume keys
Change-Id: Ieabc6d35f6ef980842849236a0b8ffd5543b3a2c

7 years agoUse a single thread to handle multiple AppFuse mounts.
Daichi Hirono [Thu, 2 Feb 2017 04:56:45 +0000 (13:56 +0900)]
Use a single thread to handle multiple AppFuse mounts.

Previously StorageManagerService launched a thread per AppFuse mount
point. The CL changes the behavior so that it just launches a single
thread to handle multiple AppFuse mounts.

Bug: 34903085
Test: CTS and manually testing
Change-Id: I2d9e7232834b0c8eff633b85110a3b38534171f7

7 years agoMerge "Less cereal, more stable"
Jason Monk [Fri, 24 Mar 2017 00:35:24 +0000 (00:35 +0000)]
Merge "Less cereal, more stable"

7 years agoDo not reuse fragment indices.
George Mount [Thu, 23 Mar 2017 21:23:29 +0000 (14:23 -0700)]
Do not reuse fragment indices.

Bug 25472591

Use a SparseArray instead of two ArrayLists to track
active fragments. This allows monotonically increasing
indexes instead of reusing indexes in the ArrayList.

Test: ran cts tests

Change-Id: I98f1b7928a0ef2373b719b76582a4c6da3425817

7 years agoMerge commit '745766e11e8bb7e8642be33be6bdf501af245074' into HEAD
The Android Automerger [Thu, 23 Mar 2017 23:51:20 +0000 (23:51 +0000)]
Merge commit '745766e11e8bb7e8642be33be6bdf501af245074' into HEAD

* commit '745766e11e8bb7e8642be33be6bdf501af245074':
  Forward package removed broadcast to KeyChainService

7 years agoUnminimizing after toggle screen on/off shows docked app correctly (1/2)
Matthew Ng [Mon, 13 Feb 2017 19:09:37 +0000 (11:09 -0800)]
Unminimizing after toggle screen on/off shows docked app correctly (1/2)

When turning screen off when in minimized mode with resizable launcher,
then turning screen back on and unminimizing, it would have the
incorrect position of the divider from the started split position and
the docked app would have the wrong task bounds compared to its stack
bounds (so the docked app looks clipped). Block toggling minimized state
when screen turns off when being minimized will fix this.

Fixes: 3493750235388501
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test
CtsServicesHostTestCases
android.server.cts.ActivityManagerDockedStackTests
Change-Id: I255a56d6b4041586f9125ee39f6e75a3c61f544f

7 years agoUnhide FLAG_SUPPORT_EJECT and related methods.
Garfield Tan [Wed, 22 Mar 2017 19:01:14 +0000 (12:01 -0700)]
Unhide FLAG_SUPPORT_EJECT and related methods.

Test: Builds and CTS tests pass. Some manual tests as well.
Bug: 36483910
Change-Id: Idd9b1c9d9573222ee12127044ff11b9ab2487f0a

7 years agoMerge "DO NOT MERGE: Add state machine model for skipping initial brightness ramps...
Julius D'souza [Thu, 23 Mar 2017 23:37:31 +0000 (23:37 +0000)]
Merge "DO NOT MERGE: Add state machine model for skipping initial brightness ramps." into cw-f-dev am: e07e8ac99a  -s ours am: 610663ebc5
am: fa64e10e2e  -s ours

Change-Id: If3acbdf6326f37aa78a2ec530e772959f046c514

7 years agoAdding TV-specific strings
Dmitri Plotnikov [Thu, 23 Mar 2017 23:33:55 +0000 (16:33 -0700)]
Adding TV-specific strings

Bug: 36175844
Test: generate a bugreport and check the notification description
Change-Id: I0030d51e566cc2d68b4c87a9e7d7cbb0d5a21ac1

7 years agoMerge "DO NOT MERGE: Add state machine model for skipping initial brightness ramps...
Julius D'souza [Thu, 23 Mar 2017 23:32:40 +0000 (23:32 +0000)]
Merge "DO NOT MERGE: Add state machine model for skipping initial brightness ramps." into cw-f-dev am: e07e8ac99a  -s ours
am: 610663ebc5

Change-Id: If3eb5d3b12f4780177aef37e4133338b0d8eb8d2