Commit Graph

301953 Commits

Author SHA1 Message Date
Julia Reynolds
22f02b3e4a Accept adjustments from notification assistant.
Test: runtest systemui-notification & cts in same topic.
Change-Id: Icff1f89eac32b82d583eca24b0a15f67795912a1
2016-12-07 12:51:16 -05:00
Przemyslaw Szczepaniak
120e0375e9 Track libcore change 547177ca5c312f84fb22e6e7bf12f54129034e5d
Bug: 29935305
Test: CtsLibcoreTestCases
Change-Id: I8ee39da7d7e0a4e94e3772b6e52068b53755693f
2016-12-07 17:43:43 +00:00
Mark Renouf
56cbe002c0 Merge "Revert "Allow power button to close an input method"" into nyc-mr2-dev am: 6e5ff8a87d
am: 4566d01f67

Change-Id: Ibb37c82924fdc61a00c8963568a8e9422ebfe173
2016-12-07 17:39:21 +00:00
Jeff Sharkey
c24fa029bf Yet another set of installd Binder methods.
Pretty straightforward refactoring.

Test: builds, boots, apps install fine
Bug: 13758960, 30944031
Change-Id: Ide533a04e1e31475a16046722f48b1934d8cacd3
2016-12-07 10:38:24 -07:00
Mark Renouf
cb566f368b Revert "Allow power button to close an input method" am: 28f0e5bf48
am: fc526f6e84

Change-Id: Ifcf2f842c91677128e458dd7256013263543937f
2016-12-07 17:38:13 +00:00
Mark Renouf
4566d01f67 Merge "Revert "Allow power button to close an input method"" into nyc-mr2-dev
am: 6e5ff8a87d

Change-Id: I7db082275a2a85229a7cc4014d580e9997cac82d
2016-12-07 17:29:33 +00:00
Mark Renouf
fc526f6e84 Revert "Allow power button to close an input method"
am: 28f0e5bf48

Change-Id: I678857531259617cc26941fcc832cb7670d25bfe
2016-12-07 17:29:25 +00:00
Matthew Fritze
af534b111c Update SearchIndexablesContract
Add Payload and PayloadType to the SearhIndexablesContract to support
the new Search architecture in Settings Search.

Change-Id: I07e411ead11d420c19c737fad79d459f44288681
Test: SettingsUnitTests
Bug: 33390556
2016-12-07 17:24:30 +00:00
TreeHugger Robot
6e5ff8a87d Merge "Revert "Allow power button to close an input method"" into nyc-mr2-dev 2016-12-07 17:22:59 +00:00
Paul Duffin
d5d209a745 Merge "Merge "Add legacy-performance-test-hostdex target" am: f9587a35ba am: c5f2b08e83 am: ef1d2b970c" into nyc-mr2-dev-plus-aosp
am: 4ad5bd10cb

Change-Id: Iad52523da7f43fe5eee84b52d128042c7cd1a466
2016-12-07 17:12:16 +00:00
Paul Duffin
6ea930500a Merge "Add legacy-performance-test-hostdex target" am: f9587a35ba am: c5f2b08e83 am: ef1d2b970c
am: b3237523ee

Change-Id: If7f16f7bf024659c71770ccce03141edf694d561
2016-12-07 17:12:07 +00:00
Alan Viverette
b9f2d6cea5 Add missing API diffs for support library 25.0.0 am: 94280c0a91
am: 6b1507c6b0

Change-Id: I6c64979fcd0873a810a17474f8c0e6c4044d05cc
2016-12-07 17:10:55 +00:00
Android Build Merger (Role)
4ad5bd10cb Merge "Merge "Add legacy-performance-test-hostdex target" am: f9587a35ba am: c5f2b08e83 am: ef1d2b970c" into nyc-mr2-dev-plus-aosp 2016-12-07 17:03:43 +00:00
Alan Viverette
6b1507c6b0 Add missing API diffs for support library 25.0.0
am: 94280c0a91

Change-Id: Ia5b4506fa104b161b2f65dd7820f2dec65e65232
2016-12-07 17:02:54 +00:00
Paul Duffin
b3237523ee Merge "Add legacy-performance-test-hostdex target" am: f9587a35ba am: c5f2b08e83
am: ef1d2b970c

Change-Id: I1236606734e202f674cf8306b6e1734ea683dcc2
2016-12-07 17:02:53 +00:00
Jeff Sharkey
20db11cfda Fix two StrictMode stack collection bugs.
When Binder calls are nested, we can quickly end up with a snowball
of stacktraces that can cause the original transaction to fail.  This
CL makes two specific changes to alleviate this pressure:

-- Consider a nested Binder call from PID A -> B -> C.  If both B and
C encounter dozens of StrictMode violations, then gatheredViolations
in B will end up with 10 ViolationInfo (5 from B and 5 from C).  This
problem only grows with each successive nested call.  To solve this,
always limit ourselves to only ever write out 3 ViolationInfo from
any given process.

-- CrashInfo already nicely truncates any large stack traces to 20kB,
but readAndHandleBinderCallViolations() blindly appends the entire
local trace, and never considers truncating again.  Similar to the
first problem above, nested calls can quickly cause the stackTrace
value to explode in size.  To solve this, we always re-truncate the
stackTrace value after appending our local stack.

Also fix some NPE bugs when missing crashInfo.

(cherry-picked from commit 58f27b5033)

Test: builds, boots
Bug: 32575987
Change-Id: Ie8373ca277296f920f2b1c564d419c702a8ee0f2
2016-12-07 08:58:38 -08:00
Paul Duffin
ef1d2b970c Merge "Add legacy-performance-test-hostdex target" am: f9587a35ba
am: c5f2b08e83

Change-Id: I06eaa24ac578cef6712099f3e12aeac92df89c59
2016-12-07 16:55:29 +00:00
Michael Plass
1ff5bd2646 Remove user-triggered disconnect counters
Removes these fields of WifiConfiguration:
  numUserTriggeredWifiDisableLowRSSI
  numUserTriggeredWifiDisableBadRSSI
  numUserTriggeredWifiDisableNotHighRSSI
  numTicksAtBadRSSI
  numTicksAtNotHighRSSI
  numUserTriggeredJoinAttempts

Add parcel test for WifiConfiguration.

Bug: 33013630
Test: unit tests pass
Change-Id: I39566c4e7845b01899739c36d6ec633f272fec6f
2016-12-07 08:50:10 -08:00
Paul Duffin
c5f2b08e83 Merge "Add legacy-performance-test-hostdex target"
am: f9587a35ba

Change-Id: Id400bbe4ca3ab4c348c07c76dbbdf868d9335087
2016-12-07 16:47:24 +00:00
Paul Duffin
f9587a35ba Merge "Add legacy-performance-test-hostdex target" 2016-12-07 16:37:11 +00:00
Wale Ogunwale
929a81b81d Merge "Revert "Correct error in Configuration.updateFrom"" 2016-12-07 16:09:10 +00:00
Wale Ogunwale
64145dcbeb Revert "Correct error in Configuration.updateFrom"
Change is preventing the device from showing the lock screen
after the boot animation.

This reverts commit 4647acb60e.

Bug: 33098677
Change-Id: If7ecb04b74d5b626c7c3517e7e8d1dc1566ccb17
2016-12-07 16:00:53 +00:00
Mike Reed
6e49c9f007 switch over clip calls to use SkClipOp instead of SkRegion::Op
Change-Id: I67d23c487b5249bc31d96e3b2393f693c0b2bcff
2016-12-07 10:34:39 -05:00
Alan Viverette
94280c0a91 Add missing API diffs for support library 25.0.0
Bug: 33408968
Test: n/a
Change-Id: I497b2a24248c1511c0d6eca4d5951451e4870b83
2016-12-07 15:16:46 +00:00
Wyatt Riley
bb9c9906b7 Restoring Network Available Notification to AGnssRil
Bug: 33350903
Change-Id: I8fe0ddbd011689258890ce37e37271cc6f170c6a
Fixes: 33350903
Test: On device GPS-still-works check (Ril check to be done by partners)
2016-12-07 07:16:25 -08:00
TreeHugger Robot
9751197d30 Merge "Fix javadoc of EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION" 2016-12-07 14:29:28 +00:00
Paul Duffin
02f42f9a8b Add legacy-performance-test-hostdex target
This is needed for some internal targets that currently depend
directly on the source files and which break when the source
file is moved.

Bug: 30188076
Test: make legacy-performance-test-hostdex
Change-Id: I653325605204c1f272bd5f669e2297eedeaf7d61
2016-12-07 14:21:53 +00:00
Hal Canary
10219fb261 SkImageEncoder->SkEncodeImage
Test: none
Change-Id: I15630d2852d12840329181f135852e28d287bbcf
(cherry picked from commit 8c6bac4c77caeefb667bec90d16b5384fd2b2b31)
2016-12-07 13:29:42 +00:00
Paul Duffin
4a7cda98fc Merge "Replace core-junit with junit" am: 6ac5293751 am: a4d7100a3b am: 9cb5f2815d
am: b6961ffa53

Change-Id: Id397baf01c8285b0843a66afd544ddf89abf451f
2016-12-07 13:24:14 +00:00
Paul Duffin
b6961ffa53 Merge "Replace core-junit with junit" am: 6ac5293751 am: a4d7100a3b
am: 9cb5f2815d

Change-Id: Ic5d35084e11387696997082f9c83ef25f543590b
2016-12-07 13:16:12 +00:00
Paul Duffin
9cb5f2815d Merge "Replace core-junit with junit" am: 6ac5293751
am: a4d7100a3b

Change-Id: If81ca0656d26e2b0e05913c491615f769cb63b55
2016-12-07 13:08:36 +00:00
Paul Duffin
a4d7100a3b Merge "Replace core-junit with junit"
am: 6ac5293751

Change-Id: I855552fe62801b2534ef63c2c62919bbd845a9af
2016-12-07 13:00:32 +00:00
Paul Duffin
6ac5293751 Merge "Replace core-junit with junit" 2016-12-07 12:52:03 +00:00
Diego Perez
289f090abe Adding missing SurfaceView methods
Some methods were not implemented in the mock SurfaceView and they were
causing some custom components to fail on the preview.

Bug: http://b.android.com/158592
Test: This is a mock class, not tested.
Change-Id: Id8faa7e6b5edf1238b02ae07f3dd59dc6539cb62
2016-12-07 12:28:14 +00:00
Erik Kline
6b87b3df2c Merge "Handle IpReachabilityMonitor errors better." am: 3af34c8e0a am: 4467b79592 am: 7549504970
am: cc8bbffbd6

Change-Id: Ib4c34608802e1180df2175edae8736a6e78a269f
2016-12-07 09:42:07 +00:00
Diego Perez
48a285ce1b Fix status and nav bar translucency
Bug: http://b.android.com/204831
Test: Added new UI tests
Change-Id: I992f4ccc391d9a4a0dda941689ec29fb44acf69b
2016-12-07 09:41:42 +00:00
Erik Kline
cc8bbffbd6 Merge "Handle IpReachabilityMonitor errors better." am: 3af34c8e0a am: 4467b79592
am: 7549504970

Change-Id: Icf0ac5ea30fb0a72038979793ea8c673963a7764
2016-12-07 09:38:06 +00:00
Erik Kline
7549504970 Merge "Handle IpReachabilityMonitor errors better." am: 3af34c8e0a
am: 4467b79592

Change-Id: I5d4d2d9888d85a684425b8204785099f818e6546
2016-12-07 09:30:09 +00:00
Erik Kline
4467b79592 Merge "Handle IpReachabilityMonitor errors better."
am: 3af34c8e0a

Change-Id: Ie13ed70165359e8f312a3744cc26a8d1b6f4730c
2016-12-07 09:26:05 +00:00
Treehugger Robot
3af34c8e0a Merge "Handle IpReachabilityMonitor errors better." 2016-12-07 09:17:21 +00:00
TreeHugger Robot
82ddb5e118 Merge "Fix two StrictMode stack collection bugs." 2016-12-07 08:21:42 +00:00
Erik Kline
b406666cf5 Handle IpReachabilityMonitor errors better.
If construction of a new IpReachabilityMonitor throws an IAE then
log it and immediately call onProvisioningFailure().

Test: runtest frameworks-wifi
      passes, except for selectQualifiedNetworkDoesNotChooseDeletedEphemeral()
      which fails with an NPE for unrelated reasons.

Bug: 31038971
Bug: 31742703
Change-Id: Ie91b8bdd509d06ad54d062bf446e74c092eb096c
(cherry picked from commit e452660466)
2016-12-07 16:23:26 +09:00
Jeff Sharkey
dc46397a44 Merge "Move more installd methods to Binder." am: 3101778fb2 am: f058c4048a am: 2c01c43055
am: 173f073ff8

Change-Id: I34f90d25ecc26db6f3f07bc92cef2d7514de1c8a
2016-12-07 07:06:05 +00:00
Hugo Benichi
87de0c2067 Logging improvements in CaptivePortalLoginActivity
Logging improvements to help debugging captive portal issues.

Test: manually tested
Bug: 33126342
Change-Id: Idcc4427a20e24ccb049b05f3b79420ebce0cf111
2016-12-07 16:02:48 +09:00
Jeff Sharkey
173f073ff8 Merge "Move more installd methods to Binder." am: 3101778fb2 am: f058c4048a
am: 2c01c43055

Change-Id: Iba90979d45d700e753a875e1a3b436ca6572fd5d
2016-12-07 06:58:25 +00:00
Jeff Sharkey
2c01c43055 Merge "Move more installd methods to Binder." am: 3101778fb2
am: f058c4048a

Change-Id: I50ea69a6f264df7a674b8fb2fc19c02bdf5ca9db
2016-12-07 06:53:34 +00:00
Jeff Sharkey
f058c4048a Merge "Move more installd methods to Binder."
am: 3101778fb2

Change-Id: I35d40a7a2a368cc36a2d265db87328f3f489fec9
2016-12-07 06:46:15 +00:00
Jeff Sharkey
3101778fb2 Merge "Move more installd methods to Binder." 2016-12-07 06:39:28 +00:00
Jeff Sharkey
58f27b5033 Fix two StrictMode stack collection bugs.
When Binder calls are nested, we can quickly end up with a snowball
of stacktraces that can cause the original transaction to fail.  This
CL makes two specific changes to alleviate this pressure:

-- Consider a nested Binder call from PID A -> B -> C.  If both B and
C encounter dozens of StrictMode violations, then gatheredViolations
in B will end up with 10 ViolationInfo (5 from B and 5 from C).  This
problem only grows with each successive nested call.  To solve this,
always limit ourselves to only ever write out 3 ViolationInfo from
any given process.

-- CrashInfo already nicely truncates any large stack traces to 20kB,
but readAndHandleBinderCallViolations() blindly appends the entire
local trace, and never considers truncating again.  Similar to the
first problem above, nested calls can quickly cause the stackTrace
value to explode in size.  To solve this, we always re-truncate the
stackTrace value after appending our local stack.

Also fix some NPE bugs when missing crashInfo.

Test: builds, boots
Bug: 32575987
Change-Id: Ie8373ca277296f920f2b1c564d419c702a8ee0f2
2016-12-07 06:31:50 +00:00
Hugo Benichi
f6a7bb54f5 Removing bogus file added by mistake
This patch deletes a bogus file added by mistake in the change with
commit hash 147aa6d53b.

Test: no code change.
Bug: 32198726

Change-Id: Iffc6b3a5ebd854dc81d537576a4405955abacba7
2016-12-07 14:55:21 +09:00