Commit Graph

309172 Commits

Author SHA1 Message Date
TreeHugger Robot
463160177b Merge "SysUI: Fix race condition that is causing test failure" 2017-01-27 20:50:36 +00:00
Adrian Roos
cd4fa97afc Merge "AOD: Fix DirectReply" 2017-01-27 20:50:03 +00:00
Tomasz Wasilczyk
3ce0308695 Merge "Use the new radio_metadata wrapper for safer memory management." am: a9ed0b1c8b am: e163e7b943 am: bb15b50ffc
am: aa70426388

Change-Id: I53b501fe3460165cbb5dd65b7d4427ca17b2e412
2017-01-27 20:49:44 +00:00
Paul Stewart
88b3c589ad Test passing null cert/keys to WifiEnterpriseConfig
Ensure that null certificates and keys don't crash.

Bug: 34765004
Test: This is a test
Change-Id: I439b4f985c1b88ad4a9b58ee6f4eb4f90bd81246
2017-01-27 12:48:55 -08:00
Paul Stewart
1ca57a1d10 Account for null client certificate
If a null certificate is passed to setClientKeyEntry() we should
not pass a non-null array with a single null element to the
setClientKeyEntryWithCertificateChain helper method.  Instead we
should pass a null array.

Cherry-pick of 410a3498ac

Bug: 34765004
Test: cts-tradefed run cts -d --module CtsNetTestCases --test android.net.wifi.cts.WifiEnterpriseConfigTest
Change-Id: I02793b4b29bc7325f98833c58bf652ba68353827
2017-01-27 12:47:20 -08:00
Jason Long
3c12e8f723 Merge "Rename metrics_constants.proto DEFAULT_AUTOFILL_PICKER." 2017-01-27 20:47:20 +00:00
TreeHugger Robot
3f5d1ec256 Merge "Account for null client certificate" 2017-01-27 20:46:18 +00:00
Tomasz Wasilczyk
aa70426388 Merge "Use the new radio_metadata wrapper for safer memory management." am: a9ed0b1c8b am: e163e7b943
am: bb15b50ffc

Change-Id: I09c0c21f69efb739d73f247e76c3b378a0e5c7d6
2017-01-27 20:43:24 +00:00
Tomasz Wasilczyk
bb15b50ffc Merge "Use the new radio_metadata wrapper for safer memory management." am: a9ed0b1c8b
am: e163e7b943

Change-Id: I61a101f50ef6ea56b0ed9b9b1b7ec4b0516220ab
2017-01-27 20:38:55 +00:00
TreeHugger Robot
0ee455a899 Merge "Convert native changing config flags to Java flags" 2017-01-27 20:38:39 +00:00
TreeHugger Robot
d9ab9df05b Merge "Fixed the logic for tethering provisioning re-evaluation" into nyc-mr2-dev 2017-01-27 20:36:33 +00:00
TreeHugger Robot
21b80c2f81 Merge "Moved LinkTextView to settingslib" 2017-01-27 20:35:34 +00:00
Tomasz Wasilczyk
e163e7b943 Merge "Use the new radio_metadata wrapper for safer memory management."
am: a9ed0b1c8b

Change-Id: I7f5391cced1db62be2d9b88823d88d2d77f8b065
2017-01-27 20:32:52 +00:00
Tomasz Wasilczyk
a9ed0b1c8b Merge "Use the new radio_metadata wrapper for safer memory management." 2017-01-27 20:26:08 +00:00
TreeHugger Robot
977b106de6 Merge "Notification: Fix Ambient view text color" 2017-01-27 20:17:28 +00:00
TreeHugger Robot
ef92186d45 Merge "Fix broken lock screen affordances" 2017-01-27 20:17:12 +00:00
Clara Bayarri
ed00bfdfae Implement .xml font resource support
This change implements the loading and parsing
of xml type font resources, and makes sure it is
used properly by TextView styles.

Test: run cts -m CtsContentTestCases -t android.content.res.cts.ResourcesTest
run cts -m CtsWidgetTestCases -t android.widget.cts.TextViewTest#testFontResources*

Change-Id: I5a2930b3ba7dad67d9607e9036a5dde6bab0c5a4
2017-01-27 20:16:48 +00:00
Albert Chaulk
3bf2e57f8d Propagate surface type and owner through to SurfaceFlinger.
This allows VrWindowManager to identify things like permission
dialogues in the list of SurfaceFlinger layers that show up while a
VR application is running and display them without leaving VR mode.

Bug: 30984984
Test: Run VR application, request permission at runtime, observe and
  accept permission in VrWindowManager without leaving VR mode.

Change-Id: I347313b5fcd08dea3cd6fddfaeb15640938e3a87
2017-01-27 15:14:48 -05:00
TreeHugger Robot
7d670b4f73 Merge "OMS: introduce the OverlayManagerService" 2017-01-27 19:42:59 +00:00
Android Build Merger (Role)
3bec1cf5a5 Merge "Merge "Switch to listening for all network changes." am: 085ffa76fa am: 46f8abd229 am: 118c0c9e7d am: 8aba32468a" 2017-01-27 19:40:46 +00:00
Erik Kline
e17a1754ed Merge "Switch to listening for all network changes." am: 085ffa76fa am: 46f8abd229 am: 118c0c9e7d
am: 8aba32468a

Change-Id: I00951c996b04124f3d8fba83802e3610e7b0e6e3
2017-01-27 19:39:31 +00:00
TreeHugger Robot
f8150a33bf Merge "Add tooltip for the search button in SearchView" 2017-01-27 19:39:17 +00:00
Android Build Merger (Role)
edc5db9bf7 Merge "Merge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling." am: e924640c4b am: b0f03a64ea am: 221e58fe95 -s ours am: 83b3c5994e" 2017-01-27 19:39:12 +00:00
Brad Ebinger
71c07ed6c9 Merge "Adds @hide ImsResolver API and device overlays (2/3)" 2017-01-27 19:38:48 +00:00
Shukang Zhou
a3a36dc327 Merge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling." am: e924640c4b am: b0f03a64ea am: 221e58fe95 -s ours
am: 83b3c5994e

Change-Id: I88c81184669adf69686af3af649b5f602720e57b
2017-01-27 19:38:30 +00:00
Chris Craik
9de95db4f2 Replace invalidateChild/invalidateChildInParent
Fixes: 34361503
Test: CTS: android.view.cts.ViewGroupTest
      APCT: android.view.ViewInvalidateTest

Simplify and unify HW accelerated invalidate/damage codepaths, since
both simply walk up to ViewRootImpl and schedule a traversal.

Adds a new overridable method 'onDescendantInvalidated' for observing
subtree rendering updates.

Change-Id: I7ef1f914c3411317692451787b3810b23e019591
2017-01-27 11:36:27 -08:00
Erik Kline
8aba32468a Merge "Switch to listening for all network changes." am: 085ffa76fa am: 46f8abd229
am: 118c0c9e7d

Change-Id: I82ac34a2f846f4ebe164e4190716559186204934
2017-01-27 19:33:16 +00:00
Shukang Zhou
83b3c5994e Merge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling." am: e924640c4b am: b0f03a64ea
am: 221e58fe95  -s ours

Change-Id: I3e70c3a349fd4ce05e88b84e2b987bbf26cadeba
2017-01-27 19:32:24 +00:00
TreeHugger Robot
27abaf483a Merge "AOD: Refine ambient notification view" 2017-01-27 19:28:24 +00:00
Chih-hung Hsieh
cd57014151 Merge "Work around clang-tidy segmentation fault." 2017-01-27 19:28:15 +00:00
Adrian Roos
f552cc32a7 AOD: Refine ambient notification view
Bug: 30876804
Test: manual
Change-Id: I63599e674a4e6794a2ff730736244c2f71720e8e
2017-01-27 19:27:23 +00:00
Nicolas Geoffray
347b1df988 Introduce DEBUG_JAVA_DEBUGGABLE.
For notifying ART it will run a debuggable app.

Also rename ENABLE_DEBUGGER to ENABLE_JDWP.

Test: builds and runs
bug: 28769520
Change-Id: Ic096a176edfd5bf0bbe92b8367fbaa687a07d284
2017-01-27 11:26:53 -08:00
Felipe Leme
cd55f670f3 Initial, unpolished version of DatasetPicker.
Bug: 31001899
Bug: 34637800
Test: manual verification
Change-Id: If0d1c61ffbac0b166de1fbd2184f68ca72b2cd08
2017-01-27 19:26:40 +00:00
Erik Kline
118c0c9e7d Merge "Switch to listening for all network changes." am: 085ffa76fa
am: 46f8abd229

Change-Id: I28ad47a86ea534c5b675a530ffbaac415fd60b25
2017-01-27 19:20:19 +00:00
Erik Kline
46f8abd229 Merge "Switch to listening for all network changes."
am: 085ffa76fa

Change-Id: I87157788c5c2dc1015f9518c1c443256cfd30bae
2017-01-27 19:14:39 +00:00
Fyodor Kupolov
5c0ecfdb37 Introduced UserDataPreparer class
Extracted the logic for preparing and destroying user data into a new
class. Unit tests will be added in a follow up cl.

Test: manual + UserManagerTest
Bug: 34736064
Change-Id: I4df7189c4ad8703cb34f54da21873b9ec83589c5
2017-01-27 11:11:57 -08:00
Jiaquan He
083c6fbbd0 2D Recents: Fix the thumbnail radius.
Changes the task thumbnail radius to 4dp.

Test: Checked that Recents task thumbnail radius is changed to 4dp on
local sw600dp device.
Bug: 32101881
Bug: 34746192

Change-Id: I1e950d305ed5edf7da577a8f05cf6005b4405205
2017-01-27 11:09:07 -08:00
Treehugger Robot
085ffa76fa Merge "Switch to listening for all network changes." 2017-01-27 19:07:08 +00:00
Adrian Roos
4320e89ffa AOD: Fix DirectReply
Test: Receive notification with RemoteInput on Ambient Display, tap the action with the remote input. Observe that the device wakes up, unlocks and opens the RemoteInput.
Bug: 34500641
Change-Id: Iabb3ca0b33944cdf41c798852ff68cd74489bff4
2017-01-27 11:06:50 -08:00
TreeHugger Robot
ffc7b78434 Merge "Reparent the activity in the task with associated window containers." 2017-01-27 19:05:57 +00:00
John Reck
ed065024a5 Fix a bunch of repeated reads of a ro.* property
SystemProperties.get() is not particularly fast,
especially if a string is returned. Since ro.* values
are unable to be changed, there's no need to
continously re-query them. Cache the value at
static init time to trivially fix this.

Test: refactoring CL.
Change-Id: Iccb021d3cb2ba3a4a1d0048ddec6811bb7409eec
(cherry picked from commit aa67f684ff)
2017-01-27 11:04:39 -08:00
Shukang Zhou
221e58fe95 Merge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling." am: e924640c4b
am: b0f03a64ea

Change-Id: I35fa80e43cd4f6af76099848714f838f217b7989
2017-01-27 19:01:44 +00:00
Shukang Zhou
b0f03a64ea Merge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling."
am: e924640c4b

Change-Id: I7e56dd815f5ac72b27ac6e2e2ca7614eaa648db1
2017-01-27 18:57:12 +00:00
TreeHugger Robot
cd7b114f14 Merge "Fixed the logic for tethering provisioning re-evaluation" 2017-01-27 18:53:46 +00:00
Daniel Nishi
eb70ad490a Add storage management days to retain to settings for backup.
Bug: 34440059
Test: None
Change-Id: I308e9c6c4536f11ab55e7b3d367b6cee5c5a5bea
2017-01-27 10:51:35 -08:00
Treehugger Robot
e924640c4b Merge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling." 2017-01-27 18:49:45 +00:00
Jason Monk
809aadf69e SysUI: Fix race condition that is causing test failure
Test: runtest systemui
Change-Id: I7f3bf7bbcc75820231fd59ca20551ac377dea601
2017-01-27 13:46:51 -05:00
Adrian Roos
72171629e6 Notification: Fix Ambient view text color
Change-Id: Ib45e2288932939896bb05fc1dc606e3551dd951d
Test: Trigger Ambient Display, check text is readable.
Fixes: 34767438
2017-01-27 10:42:20 -08:00
Paul Stewart
410a3498ac Account for null client certificate
If a null certificate is passed to setClientKeyEntry() we should
not pass a non-null array with a single null element to the
setClientKeyEntryWithCertificateChain helper method.  Instead we
should pass a null array.

Bug: 34765004
Test: cts-tradefed run cts -d --module CtsNetTestCases --test android.net.wifi.cts.WifiEnterpriseConfigTest
Change-Id: I02793b4b29bc7325f98833c58bf652ba68353827
2017-01-27 10:39:39 -08:00
Jason Monk
9ef7307324 Fix broken lock screen affordances
The state change callback stopped getting added as part of the
dependency injection refactor, which turns out has a pretty serious
effect on how the buttons work.

Change-Id: Ic2c412248373de80acc581d09e3073f541238e9a
Fixes: 34739383
Test: Click on lock screen mic or camera
2017-01-27 13:34:17 -05:00