Commit Graph

63765 Commits

Author SHA1 Message Date
Patrick Baumann
81f65fe3eb Adding advanced pattern support to PatternMatcher am: 2baf095ca9 am: 564d936eb1
am: c14db5b2de

Change-Id: I6bc888ffcb625ee109a2fecdbd8becb58b545c66
2016-09-15 21:39:09 +00:00
Patrick Baumann
c14db5b2de Adding advanced pattern support to PatternMatcher am: 2baf095ca9
am: 564d936eb1

Change-Id: I1c3619477b56c583c3d85f2185a1381676136293
2016-09-15 21:34:18 +00:00
TreeHugger Robot
84024c1f09 Merge "Allow Condition Providers to bind/unbind themselves" 2016-09-15 21:29:10 +00:00
Patrick Baumann
564d936eb1 Adding advanced pattern support to PatternMatcher
am: 2baf095ca9

Change-Id: Id4e05a79797af961e6505715b69da4319f2042cc
2016-09-15 21:28:27 +00:00
TreeHugger Robot
e74a1b192b Merge "Delete L->M upgrade code." 2016-09-15 20:05:21 +00:00
Phil Weaver
be2b372069 Merge "Reduce overhead of obtain/recycle a11y checking." 2016-09-15 19:53:31 +00:00
Julia Reynolds
38e6ca4e74 Allow Condition Providers to bind/unbind themselves
So they only run when needed.

Change-Id: I5cf3a572837cb773dcb4f278a9f86a9d909147e4
Fixes: 30727598
2016-09-15 19:31:29 +00:00
Julia Reynolds
88dabdeeb2 Animate volume slider changes.
Change-Id: I03f83d25eeb2ef30346c377d6b4fcb8688faaffc
Fixes: 30670594
2016-09-15 18:47:21 +00:00
TreeHugger Robot
0c76907fc4 Merge "resolve merge conflicts of b97129e to master" 2016-09-15 18:24:46 +00:00
Patrick Baumann
2baf095ca9 Adding advanced pattern support to PatternMatcher
This change adds a new pathMatch attribute to the intent-filter tag
that supports a subset of regular expression syntax. Supported
tokens include dot (.) and set ([]) and supported modifiers include
zero-or-more (*), one-or-more(+) and ranges ({}).

Change-Id: I2ec3bc8a9eb3e94d21caf34a1ed0f3fd3fb33a35
Bug: 30805203
2016-09-15 11:17:54 -07:00
Julia Reynolds
206c7e9d83 Delete L->M upgrade code.
Bug: 25497753
Change-Id: I0ae55e0d49b0aa488b86e336a6246fe57cba8601
2016-09-15 18:06:36 +00:00
Phil Weaver
62d20fabf2 Reduce overhead of obtain/recycle a11y checking.
Change-Id: I643ab028aa23c4727b9e0be0db83238034a23960
2016-09-15 11:05:55 -07:00
Julia Reynolds
04499531c2 Make docs match reality.
Change-Id: I51cc6a1e18e9e17284a7afbf0c13257d0de22d5b
Fixes: 30769600
Fixes: 30908728
2016-09-15 16:52:17 +00:00
Lorenzo Colitti
8d4d235a06 resolve merge conflicts of b97129e to master
Change-Id: Ib09134090aa135d88bb807034b262a23c8b40e5f
2016-09-16 01:45:15 +09:00
Lorenzo Colitti
81493a9fef Support displaying a dialog when wifi becomes unvalidated. am: 9be58c5580 am: d660913b0b
am: 56e32083b5

Change-Id: Id908683dce15ffbafc042d506a38ec26d5e9a6ee
2016-09-15 16:18:42 +00:00
Philip P. Moltmann
2c6fe63b4c Merge "Set buffer before UsbRequest is queued" 2016-09-15 16:17:50 +00:00
Lorenzo Colitti
56e32083b5 Support displaying a dialog when wifi becomes unvalidated. am: 9be58c5580
am: d660913b0b

Change-Id: I3ccd36e2ea516b56176bc776e3bd4567bb5c18e3
2016-09-15 16:12:01 +00:00
Lorenzo Colitti
d660913b0b Support displaying a dialog when wifi becomes unvalidated.
am: 9be58c5580

Change-Id: I8b8e2b652510ca75407a9ad3c29ed111367941e0
2016-09-15 16:04:03 +00:00
Hugo Benichi
744c370b7c Support ignoring penalty for bad wifi networks am: c8e9e1229a am: c53b5964f8 am: edabb8e617
am: 9ae080aa9d

Change-Id: I995c1adc61263a0536704fd32bd89efe1a8ec42b
2016-09-15 15:45:03 +00:00
Hugo Benichi
9ae080aa9d Support ignoring penalty for bad wifi networks am: c8e9e1229a am: c53b5964f8
am: edabb8e617

Change-Id: Ib9a60eb528eb62ebf26d5d5a1941bfed0bb21163
2016-09-15 15:36:58 +00:00
Hugo Benichi
edabb8e617 Support ignoring penalty for bad wifi networks am: c8e9e1229a
am: c53b5964f8

Change-Id: Ideee96cc5fc1631cfbc90cd9a59f34a2d5fde160
2016-09-15 15:30:26 +00:00
Hugo Benichi
c53b5964f8 Support ignoring penalty for bad wifi networks
am: c8e9e1229a

Change-Id: I6666ee45e9a08c02444c6268b2232bbe8aa2adec
2016-09-15 15:23:57 +00:00
Lorenzo Colitti
9be58c5580 Support displaying a dialog when wifi becomes unvalidated.
Bug: 31075769
Change-Id: I7a6e7580769365bea930f638bd44edcaa28df134
2016-09-15 23:33:34 +09:00
Nicolas Prévot
0d9518b6f9 Merge "Fix constant errors in ActivityManagerNative." 2016-09-15 12:55:43 +00:00
Rubin Xu
3ba5331a83 resolve merge conflicts of 4daa1b7 to master
Change-Id: I5292c074234fccc26c7a843f56eb68edce26d678
2016-09-15 10:42:50 +01:00
Hugo Benichi
c8e9e1229a Support ignoring penalty for bad wifi networks
This patch adds a way to configure devices so that a validated network
that becomes unvalidated is not penalized in the network scoring and
selection logic.

The intent is to prevent devices configured to do so from switching to a
lower scoring network such as cellular networks when a higher scoring
network such as wifi networks loses internet connectivity.

Bug: 31075769
Change-Id: Ie7e0f2607d214a178367fedfbef6c44768fa00a4
2016-09-15 18:34:13 +09:00
Michal Karpinski
4a134a93d2 Merge "Fingerprint Strong auth timeout" 2016-09-15 07:46:07 +00:00
Hongming Jin
afe9a6c768 Only return password for account session flow if the caller is signed with system key and have get_password permission. am: 9342e137c6 am: 8b75ebf0bb
am: adc906206a

Change-Id: I3c9aee82df05e9a74eed960c1d03ea5d9fe477d7
2016-09-14 23:44:52 +00:00
Hongming Jin
adc906206a Only return password for account session flow if the caller is signed with system key and have get_password permission. am: 9342e137c6
am: 8b75ebf0bb

Change-Id: I95794bb5269c849fe740576a344e43da4306ac56
2016-09-14 23:32:29 +00:00
Hongming Jin
914e549bce Only return password for account session flow if the caller is signed with system key and have get_password permission. am: 9342e137c6
am: 57e38003e8

Change-Id: Iaa63cf3bc288803e92a81386f03d1151d78e6b02
2016-09-14 23:32:11 +00:00
Hongming Jin
8b75ebf0bb Only return password for account session flow if the caller is signed with system key and have get_password permission.
am: 9342e137c6

Change-Id: I932c85bdc302899b42342d3efc249a5420da764c
2016-09-14 23:23:05 +00:00
Hongming Jin
57e38003e8 Only return password for account session flow if the caller is signed with system key and have get_password permission.
am: 9342e137c6

Change-Id: I10134040a7596000e768433943979c9af790e582
2016-09-14 23:23:05 +00:00
TreeHugger Robot
43c53a6311 Merge "Leak UsbDeviceConnection fd if not closed" 2016-09-14 22:59:24 +00:00
Philip P. Moltmann
4346f3c5ec Set buffer before UsbRequest is queued
Otherwise a second thread might dequeue() it in between
native_queue_direct and mBuffer = buffer. If that happens the dequeue
operation does mBuffer.isDirect which triggers a NPE.

Fixes: 30914003
Change-Id: I3ca3b72db8f53a14be1c5f0e37f8924eba44b9bc
2016-09-14 22:44:50 +00:00
Kirill Grouchnikov
33d21b1a7a Merge "Mark a hidden MotionEvent method to be visible for tests" 2016-09-14 21:39:14 +00:00
TreeHugger Robot
944b003747 Merge "Support for specifying orientation in WindowContainer" 2016-09-14 21:21:21 +00:00
Hongming Jin
9342e137c6 Only return password for account session flow if the caller is signed
with system key and have get_password permission.

Bug: 30455516
Change-Id: I78484c59e4de1dff685ab91a0a8e7a756fffd9bf
2016-09-14 14:15:56 -07:00
Philip P. Moltmann
3390281f71 Leak UsbDeviceConnection fd if not closed
This is the previous behavior and there are users that just copy the fd
and then forget about the connection. In this case it is unsafe to close
the fd when finalizing.

Change-Id: I5cd76564e1e8ddbd61c829b34b0f43b9c699f094
2016-09-14 14:13:46 -07:00
Phil Weaver
94126cc631 Strengthen language about use of a11y API. am: 752047dd3d am: 8f27aabc12
am: f5b9956bdb

Change-Id: Id34ef1868cded7ba0161aaa42227ab65d1ff8c9b
2016-09-14 20:11:56 +00:00
liulvping
83a219be68 Merge "fix NullPointerException in RegisteredServicesCache" am: 4b1a8f46d6 am: 506bf0741a am: 5f4f8d2441
am: 9eadea585c

Change-Id: I928d9cccf7c99f36540dcde1cf31c4e35b3d79ff
2016-09-14 20:11:40 +00:00
Wale Ogunwale
45dcd8fb9e Immediately deliver new intent to paused activity in docked stack am: 826c706156 am: 35871b76b3
am: f872ce62c4

Change-Id: I266b97e858e7b4aa9c56fd3b55401970b4575698
2016-09-14 19:59:55 +00:00
Lorenzo Colitti
ae747eb76f Add a NET_CAPABILITY_FOREGROUND capability. am: f0e9a33435 am: aaec66110d
am: 9ba472d619

Change-Id: I08ca73666668ddc6c9bfe002844a9d2e0ecb28e4
2016-09-14 19:22:54 +00:00
Rubin Xu
4daa1b7df4 Allow direct-boot aware activity to show before profile is unlocked am: 89927b3cd9
am: df5e18245f

Change-Id: I38cb058bf7cf58c0553a2addfc68517244c87df7
2016-09-14 17:53:40 +00:00
Rubin Xu
df5e18245f Allow direct-boot aware activity to show before profile is unlocked
am: 89927b3cd9

Change-Id: Ia4fd5feb1e2b5efbe52fde21ec871cf4f679330e
2016-09-14 17:30:09 +00:00
Nicolas Prevot
011aaa1a15 Fix constant errors in ActivityManagerNative.
Change-Id: Ie68ea6fcfb95dfa44d29418f3fbc0f6dd7b241a8
2016-09-14 17:27:15 +01:00
Wale Ogunwale
5136249a71 Support for specifying orientation in WindowContainer
Also,
- Fixed failing tests when they are ran as a package vs.
individual classes due to multiple window manager instance.
- Correct some isVisible logic to so a window container that
is invisible is not said to be visible, because one of its
children is visible.

Bug: 30060889
Change-Id: I1bb8730361be2a9f5ce88cd59b7d57d5a459bde6
2016-09-14 08:43:12 -07:00
Rubin Xu
89927b3cd9 Allow direct-boot aware activity to show before profile is unlocked
Work profile challenge is shown by intercepting normal activity launching and
replacing it with the confirm credential activity. For direct boot aware
activities, they should be able to be displayed when the work profile is
still locked, so add a conditional in the activity intercepting logic to bypass
work challenge in this case.

Also launching work profile activities from notification is handled specially
in order to avoid dismissing the notification if the work challenge is canceled,
so add similar logic there to allow direct boot aware activity to go through.

Bug: 30296144
Change-Id: Ib6395271cee2d4781009bb08d50351d73824de0c
2016-09-14 11:59:56 +01:00
Alan Viverette
f612a576ca Cancel pending selection before filtering input am: 57fe701ddf am: 1fd7fadfe4
am: 24e9362289

Change-Id: I4836b0ac8b4b2addee6d757f45d2774508869cca
2016-09-14 06:16:57 +00:00
Robert Carr
1838dcb6ef PopupWindow: Don't ignore top decorations in getMaxAvailableHeight. am: 701d73084d am: 5712f5474a
am: 5f09d331f3

Change-Id: I24e2d71371de96fd95b6905258f950ea2fb06145
2016-09-14 05:43:48 +00:00
Lorenzo Colitti
786a4b8300 Add a background NetworkRequest type for mobile data always on. am: 3d4a10617c am: 9396da4e10
am: 4c698d3eed

Change-Id: I9e11b75fe0af8a116593394b151c7fb4d1e167f8
2016-09-14 05:02:12 +00:00