308614 Commits

Author SHA1 Message Date
Derek Sollenberger
dfe0647f6c Fix unit test that failed due to incorrect refactor.
Test: hwui unit tests
Change-Id: I88b962718086ff1ca3df1999b2040fb1007b6f33
2017-02-23 14:30:18 -05:00
William Luh
204af1cb44 Remove ContentProvider queries in updateTileData.
The ContentProvider queries in updateTileData are not being used, and
adds extra latency. Queries are performed later in Settings to get the
freshest data.

Bug: 35708630
Test: make RunSettingsLibRoboTests
Change-Id: I3798af0a89ed7261cfa4ebec4fada077495034ed
2017-02-23 11:16:47 -08:00
Doris Ling
edb84c3a7c Add metrics constant for Settings->Security->Encryption & credentials.
Bug: 35630998
Test: build
Change-Id: I46f364a654440e6b0ba17477e6404e20449d3e0e
2017-02-23 11:07:36 -08:00
TreeHugger Robot
8716ef9419 Merge "Revert "Don't trigger auto-fill request if mode is manual"" 2017-02-23 18:58:26 +00:00
Phil Weaver
e231986368 Revert "Remove abstract from AccessibilityService methods"
This reverts commit 7c01afdd18fd4e81c0bfff2f9062b752a13576a5.

Change-Id: I08990f4fc695b9323051e05a32c35fb9fe426146
2017-02-23 18:51:34 +00:00
TreeHugger Robot
7f7a7fa018 Merge "Fix an unintentional switch-case fall-through" 2017-02-23 18:42:53 +00:00
Rebecca Silberstein
28d9de269c wifi.proto: add SoftApReturnCode enum
SoftAp startup returns a failure mode if it does not start.  This
additional information is useful in determining where we need to add
logging and retry logic to make SoftAp mode more reliable.  The
combination of Failure + failure reason is mapped to an enum defined for
wifi metrics.

Bug: 30899122
Test: checked WifiMetricsProto.java for the enum
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I944e3e249d3be5738352b26a1d12139fdd50bf80
2017-02-23 10:42:05 -08:00
Daniel Nishi
7fc6aef099 Merge "Add metric for new storage screen." 2017-02-23 18:39:35 +00:00
TreeHugger Robot
4098172f46 Merge "Ensure we use the fullscreen stack bounds when expanding PiP." 2017-02-23 18:36:50 +00:00
Bryce Lee
576115819f Merge "Have VirtualDisplayDevice handle Binder death directly." 2017-02-23 18:35:35 +00:00
TreeHugger Robot
112a5b62d8 Merge "Temporarily whitelist apps known to hit the wtf case" 2017-02-23 18:33:18 +00:00
Jason Monk
9d3dcdfe1c Fix roaming getting stuck after changing sims
The header was keeping a map of roaming states which could have
stray old subids in it when it shouldn't. It just needs to be
cleared when the sims change.

Test: runtest systemui
Change-Id: I62c5acab5739b9c4acf69a8c7e00b2f75de903dc
2017-02-23 13:29:52 -05:00
Amin Shaikh
d6a62ed405 Fix failing WifiConfigManagerTest test.
Bug: 35671673
Test: runtest frameworks-core frameworks-wifi
Change-Id: I55ff41464cabfb97d03a0758d73145df808ec2c8
Merged-In: I55ff41464cabfb97d03a0758d73145df808ec2c8
2017-02-23 10:29:10 -08:00
Shreyas Basarge
ba9e399ffd Merge "Disallow parallel backups" 2017-02-23 18:27:25 +00:00
Shreyas Basarge
6a4b9a33dc Merge "Serialize restore operations" 2017-02-23 18:26:57 +00:00
Rob Carr
c864ca3039 Merge "Correct SurfaceControl matrix parameter names." 2017-02-23 18:26:29 +00:00
Jean-Michel Trivi
0fbcb86389 PlayerBase: reference to IAppOpsService may be null
The reference to IAppOpsService may be null for a player
  that failed to be initialized correctly, account for this.

Test: see bug
Bug 35415129

Change-Id: I9da40b87736a7890fcb63640eeabd17d0da3d5d3
2017-02-23 10:21:17 -08:00
Todd Kennedy
e991022423 Load splits on-demand
A split may be declared in an application's base manifest, but,
defined in a feature split. When resolving such a component,
invoke the installer to download and install the necessary split(s)

At the moment, this only works for instant apps. However, the
implementation is generic and could be applied to any application.

Bug: 25119046
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
Change-Id: I6598abb34becfd049fc03199813226736e5057b1
2017-02-23 10:19:04 -08:00
Svet Ganov
28a2c7e057 Update fill UI
1. Abstracted the fill/save view and window management
   in dedicated classs

2. Avoided the need of a second window to detect outside
   touches

3. Simplified the fill-ui window management

4. Moved the UI in its own package to ease mmigration to
   sys UI.

5. Removed hard-coded colors from the layout

6. Make sure the save UI cannot grow as wide as the screen
   as this would not look good on tablets

7. Update the save UI to look closer to mocks

Test: CTS tests pass
Bug: 35708258

Change-Id: Ia74a5aad6f16bba0047a9e8e61958c77af0d358d
2017-02-23 10:13:03 -08:00
Amin Shaikh
34cfdb26a6 Fix failing WifiConfigManagerTest test.
Bug: 35671673
Test: runtest frameworks-core frameworks-wifi
Change-Id: I55ff41464cabfb97d03a0758d73145df808ec2c8
2017-02-23 10:08:10 -08:00
TreeHugger Robot
c302a1adc6 Merge "Add isBundled argument to LoadedApk.makePaths call" 2017-02-23 18:05:04 +00:00
Jason Monk
79f21a3f41 Update clipboard icon for the tuner
Change-Id: Ie8ff3e6d87afbbd09efe8f529756710f6a61da6e
Fixes: 35707044
Test: visual
2017-02-23 12:52:32 -05:00
Jerome Gaillard
90f096f475 Merge "Add autofill service to BridgeContext" 2017-02-23 17:23:29 +00:00
TreeHugger Robot
707b4aebe6 Merge changes from topic 'skia_merge_1933880'
* changes:
  Fix HWUI tests to use android-only SkPaint flags
  Update framework to use new method for disabling DF path rendering.
2017-02-23 17:18:18 +00:00
Philip P. Moltmann
e572989b3f Revert "Don't trigger auto-fill request if mode is manual"
This reverts commit 576a847e03f213693f4e7f2f0361f52217f9e1cf.

Fixes: 35701500
Change-Id: I972c2d0e56d365d1fad76a66e74bfad227bf26c4
2017-02-23 17:06:27 +00:00
TreeHugger Robot
189796dace Merge "Expose isStateSaved() in FragmentManager." 2017-02-23 16:36:02 +00:00
Bryan Cassell
7c4e9341d2 Merge "Added VSYNC and INTENDED_VSYNC timestamps to FrameMetrics API." 2017-02-23 16:08:37 +00:00
Matt Sarett
3a8ded5955 Merge "BitmapFactory: Remove legacy premultiply hacks" 2017-02-23 15:24:23 +00:00
TreeHugger Robot
f30b879c73 Merge "Added sanitization for CompoundButton and RadioGroup." 2017-02-23 15:24:07 +00:00
TreeHugger Robot
c6baac4710 Merge "Display longer date string in certificate information" 2017-02-23 15:23:38 +00:00
Bryce Lee
a3320fe80c Have VirtualDisplayDevice handle Binder death directly.
Previously, the VirtualDisplayDevice delegated its cleanup to the
parent VirtualDisplayAdapter. The adapter looked up the device
from an AppToken mapping. It is possible for this mapping to not
include the token, leading to the device not being destroyed.

This changelist has the VirtualDisplayDevice take care of calling
destroy on itself. It still informs the adapter of this event for
bookkeeping/cleanup purposes.

Fixes: 26221019
Test: Verified through adb shell dumpsys activity activities that the
      virtual displays were removed upon app kill after the
      MediaProjection for these displays ended.

Change-Id: I500fdc87618632184f5d3c9821ccf1979f460595
2017-02-23 07:18:53 -08:00
Jerome Gaillard
88403817a2 Add autofill service to BridgeContext
Test: layoutlib tests
Change-Id: I52b360a64518165eefee4250b1c32e9f5f87845d
2017-02-23 15:15:49 +00:00
Bryce Lee
32bd2ea56c Merge "Update DisplayAdjustments in Display from Resources." 2017-02-23 15:15:10 +00:00
Derek Sollenberger
f77ca08721 Fix HWUI tests to use android-only SkPaint flags
Test: compile only
Change-Id: Ia3a5710d4ae13d68e5b2655a8b135dae8ffeb513
2017-02-23 10:03:04 -05:00
Paul Duffin
0a4cf4b57f Merge "Deprecate TestSuiteBuilder and related classes." am: a26000b8f5 am: fd61eb1e39
am: 9dcdc8f187

Change-Id: Icbc80cc054244f2660814bde4a9dc681b501024f
2017-02-23 13:56:23 +00:00
Paul Duffin
b6ac8f7f09 Merge "Fix build failure when using javac toolchain" am: c098bea921 am: 5da6f4fbd1
am: df8bb0ec52

Change-Id: If59986dd60ca90836adecdf0cb52f3570bf81f9d
2017-02-23 13:55:14 +00:00
Paul Duffin
9dcdc8f187 Merge "Deprecate TestSuiteBuilder and related classes." am: a26000b8f5
am: fd61eb1e39

Change-Id: I23f137865997ca9ce4aa229c9329d8ea9fbcb6ee
2017-02-23 13:50:05 +00:00
Paul Duffin
df8bb0ec52 Merge "Fix build failure when using javac toolchain" am: c098bea921
am: 5da6f4fbd1

Change-Id: I65623ab75b0cc7b828fe67544074549fc21206ca
2017-02-23 13:49:07 +00:00
Paul Duffin
fd61eb1e39 Merge "Deprecate TestSuiteBuilder and related classes."
am: a26000b8f5

Change-Id: Ia9d491bd72f2a9f08838e298aaf4de5de28c7d4f
2017-02-23 13:44:24 +00:00
Paul Duffin
5da6f4fbd1 Merge "Fix build failure when using javac toolchain"
am: c098bea921

Change-Id: I56e965336c537295efc4c0c778f5c236f955bf10
2017-02-23 13:43:07 +00:00
Paul Duffin
a26000b8f5 Merge "Deprecate TestSuiteBuilder and related classes." 2017-02-23 13:36:30 +00:00
Paul Duffin
c098bea921 Merge "Fix build failure when using javac toolchain" 2017-02-23 13:34:39 +00:00
Derek Sollenberger
ab61fb8b5f Update framework to use new method for disabling DF path rendering.
Test: compile only
Change-Id: Ifa690a0af01cb6b07c4fd303302cb6a557e8dfde
2017-02-23 08:29:59 -05:00
Makoto Onuki
a08c6a1cfb DO NOT MERGE Relax isUserRunning check and allow in-profile calls
Bug 30475753
Bug 35667752

Change-Id: I739ee7e259f041f5e133edf048b6b54cb7a770db
(cherry picked from commit 8198deacb52eb082ae9f0a5658d594dc9b689882)
2017-02-23 11:24:34 +00:00
Dimitry Ivanov
638d810099 Add isBundled argument to LoadedApk.makePaths call
There is a disconnect between the way webview created
classloader and the way makePaths decides if paths are
intended for bundled app.

This change moves decision making out of makePaths method
which allows WebViewZygote to pass correct argument and
have makePath omit java.library.path for libPaths

Bug: http://b/35426785
Test: manual
Change-Id: Iab5a18c0091d0193dafa750498eb00f378411ba0
2017-02-22 23:52:01 -08:00
Guang Zhu
df0824ad4c Merge "Revert "OMS: integrate OverlayManagerService into framework"" 2017-02-23 07:36:16 +00:00
Guang Zhu
9545980692 Revert "OMS: integrate OverlayManagerService into framework"
Bug: 31052947
Bug: 35697944

This reverts commit 21a3d1ad686dee97b9cf0ed80389ee2ab0d48013.

Change-Id: I2d86931020301524c26cf8c8e80d557c97fdd6c3
2017-02-23 07:35:39 +00:00
Hugo Benichi
6dd3529aa6 Merge "IP connectivity metrics: cleanup obsolete code" 2017-02-23 07:02:30 +00:00
Felipe Leme
62fb65fd3c Merge "Added auto-fill support for Spinner." 2017-02-23 06:45:16 +00:00
TreeHugger Robot
30172869a7 Merge "Don't trigger auto-fill request if mode is manual" 2017-02-23 05:57:21 +00:00