228620 Commits

Author SHA1 Message Date
George Mount
2701831775 Merge "Tests for DatePicker keyboard interaction." 2016-01-04 21:14:38 +00:00
Chris Wren
29b7dd8d69 Merge "implement assistant service connection" 2016-01-04 21:07:24 +00:00
Fyodor Kupolov
63f3b88873 Merge "Return USER_OP_SUCCESS when force stopping a user" 2016-01-04 20:59:12 +00:00
Julia Reynolds
bc89558f4d Merge "Add 'more settings' and 'done' to guts." 2016-01-04 20:56:59 +00:00
Chad Brubaker
d8844613a3 Merge "Add ConfigNetworkSecurityPolicy" am: 2786002bd5
am: a35d617cce

* commit 'a35d617cce6c9b1b1cba7e7c786849d21ea42d3e':
  Add ConfigNetworkSecurityPolicy
2016-01-04 20:54:00 +00:00
Chad Brubaker
a35d617cce Merge "Add ConfigNetworkSecurityPolicy"
am: 2786002bd5

* commit '2786002bd51b229d9a4672e3c43f835796de06ea':
  Add ConfigNetworkSecurityPolicy
2016-01-04 20:49:29 +00:00
Fyodor Kupolov
7b4a8a4e80 Return USER_OP_SUCCESS when force stopping a user
Bug: 26379502
Change-Id: I08dc18eec5b8dccf63a806acc9b3bfda890ceedb
2016-01-04 12:47:22 -08:00
Wale Ogunwale
d6f5e6bb91 Merge "Consolidate resume activity code around focused stack." 2016-01-04 20:35:53 +00:00
Philip P. Moltmann
98edbe3e6d Merge "Show indeterminate progress bar when job is queued or started and the progress is not known." 2016-01-04 20:28:27 +00:00
Chad Brubaker
2786002bd5 Merge "Add ConfigNetworkSecurityPolicy" 2016-01-04 20:26:56 +00:00
Julia Reynolds
5682192a8f Add 'more settings' and 'done' to guts.
Change-Id: I0499869b1a40653ff1b179a95c55a22d8e12e718
2016-01-04 15:24:29 -05:00
Dan Sandler
9945e1c67e Merge "Use GregorianCalendar.add() when searching for next alarm." am: b52de8248f
am: 65a35016c1

* commit '65a35016c1f22805c2e70b49ff2b121b9f7dc739':
  Use GregorianCalendar.add() when searching for next alarm.
2016-01-04 20:12:24 +00:00
Jack Yu
6978228ccf Fixed the incorrect cdma RAT detection logic.
am: fa530b4a10

* commit 'fa530b4a10e8553afd58b827dfd7dcd8726126b4':
  Fixed the incorrect cdma RAT detection logic.
2016-01-04 20:10:01 +00:00
Dan Sandler
65a35016c1 Merge "Use GregorianCalendar.add() when searching for next alarm."
am: b52de8248f

* commit 'b52de8248f8e5f95f7984967e646eb9b3a641526':
  Use GregorianCalendar.add() when searching for next alarm.
2016-01-04 20:07:38 +00:00
Jack Yu
fa530b4a10 Fixed the incorrect cdma RAT detection logic.
Used the correct CDMA bitmask to determine if the bearer services
are based on 3GPP2 radio technologies.

bug: 26318528
Change-Id: Ic30c25aa7b67372898a041dd1f3a08a3abede394
2016-01-04 11:58:48 -08:00
Dan Sandler
b52de8248f Merge "Use GregorianCalendar.add() when searching for next alarm." 2016-01-04 19:58:42 +00:00
Jason Monk
154a01ec81 Merge "Remove UserBoolean" 2016-01-04 19:55:41 +00:00
Winson Chung
931c51f545 Refactoring lock-to-task state out of Task
- Moving the logic out of Task to the stack view which is more logical
  and easier to manage
- This also includes a fix for the issue of the screen pinning not 
  showing up immediately after toggling it in Settings

Change-Id: I0357d59fc30b0327bbe6eeca10b310911aba3cc4
2016-01-04 19:54:55 +00:00
Jason Monk
24145bf1ec Merge "Better service management for QS 3rd party tiles" 2016-01-04 19:54:40 +00:00
Jason Monk
66239fbdfc Remove UserBoolean
Animate when the view is visible because its much simpler

Change-Id: I18598faae643124ad014f77a2e8a9229ccb726ce
2016-01-04 14:46:15 -05:00
Jason Monk
d5a204f16e Better service management for QS 3rd party tiles
Better wrapper around the service that will handle rebinding
when it dies, binding when it becomes available, and forwarding
along all messages to the service once it binds.

Also better handling of too many services at a time.  Will only
ever bind to at most 3 tiles and will manage which ones are most
important to show based on pending clicks, last update, etc.

Change-Id: I5f4da0bc751f7eb25baa32e5c0bb9f1bc418f5bb
2016-01-04 14:46:11 -05:00
George Mount
57bbd6e9c7 Tests for DatePicker keyboard interaction.
Bug 26187865

Change-Id: I26e990ef140d129f716eec0dff705e5f78b6608e
2016-01-04 11:01:49 -08:00
Alan Viverette
db8f4e56fd Merge "Clean up date picker, add simple constructors and setter for listener" 2016-01-04 18:47:55 +00:00
Chong Zhang
fe34f6c198 Merge "Fix popup window position calculation in multiwindow mode" 2016-01-04 18:32:16 +00:00
Wale Ogunwale
d046a01392 Consolidate resume activity code around focused stack.
Cleaned up the code to make it obvious that only the top
activity in the focused stack should be in the resumes state.

Bug: 26273032
Change-Id: I8d60270f707fe022007c59d25f5678b33a005acf
2016-01-04 10:17:41 -08:00
Mathew Inwood
db4da1bd20 Merge "Experimental: verify cached constructors before use." 2016-01-04 18:09:57 +00:00
Xiaohui Chen
c33f357b50 Merge "cleanup some confusing comments" 2016-01-04 17:21:45 +00:00
Felipe Leme
af038b61e5 Merge "Minor improvements on 'Take bug report' Action." 2016-01-04 17:06:18 +00:00
Tyler Gunn
bd1bf125e4 Merge "Fix capability/property checking methods to handle multi-bit capabilities." 2016-01-04 16:33:37 +00:00
Chris Wren
51017d0e23 implement assistant service connection
Added a guest-mode to ManagedServices.
Like system services, the lifecycle of a guest is not managed.
Unlike system services, guests are not considered privledged.

The Assistant gets all the usual listener events.
Implemented adjustImportance.
Future work: enqueued, clicked, visibility, removed, annotations

Bug: 22455414
Change-Id: Ic41c0bf625b5e98cb577b49098bba23a539bb507
2016-01-04 11:22:37 -05:00
John Reck
f43f627fc9 Merge "Add some options to macrobench" 2016-01-04 15:26:18 +00:00
Geoff Mendal
4a5b54fb3b Import translations. DO NOT MERGE
Change-Id: I86141e2b59f4b3fd5adf1beb3a848d2dae49e871
Auto-generated-cl: translation import
2016-01-04 05:53:33 -08:00
Robin Lee
56a9953819 Merge "Return null on getPrivateKey failure not exception" 2016-01-04 10:05:13 +00:00
Mathew Inwood
4985c5c782 Experimental: verify cached constructors before use.
Caching constructors can cause problems for dynamically loaded code if
the same class name appears in more than on classloader. Before using
cached constructors, verifty that they come from a valid classloader, i.e.
one that appears in the classloader chain of the current contexts
classloader. Remove ones that do not from the map to allow the associated
classes to be unloaded in case they're no longer in use.

Bug: 21690610
Change-Id: I84f2894cd03a5dc0c33aed9cd710e4a1f6d9515f
2015-12-31 12:32:40 +00:00
Dan Sandler
12d3393249 Use GregorianCalendar.add() when searching for next alarm.
Never attribute to malice that which is adequately explained
by a bug, particularly one involving date math.

Bug: 26326394
Change-Id: I3483ac102c678a8852565c8ea94c06e19b3f26d8
2015-12-31 04:24:22 +00:00
Jack Yu
b42701047a Reduced the radio log
am: d2cf0ce9c1

* commit 'd2cf0ce9c17cd37a12827882b3a10512d2904103':
  Reduced the radio log
2015-12-30 22:34:12 +00:00
Jack Yu
d2cf0ce9c1 Reduced the radio log
Reduced the radio log by moving some to VDBG or merging few lines
into one.

bug: 25956251
Change-Id: I290d894e95c9fdd664db35fd0cee3536c37dbd20
2015-12-30 12:06:01 -08:00
Xiaohui Chen
dc630f0122 cleanup some confusing comments
Change-Id: I21fe6fb2ea37a811f69278058277dd595866ae9b
2015-12-30 11:32:05 -08:00
Doris Liu
6380b4793c Merge "VectorDrawable: Use the matrix scale only if the matrix has no rotation or skew." 2015-12-30 19:17:06 +00:00
Doris Liu
a0e61572ab VectorDrawable: Use the matrix scale only if the matrix has no rotation or skew.
When canvas is rotated or skewed, the scale factor is affected.
Conservatively reset the scale used to modify path stroke size to 1 in these
cases, since the image will be somewhat blurry anyway with rotation / skew..

b/25418943

Change-Id: I6dff1bca5fac5500fa688c68f8b81b6212526b6b
2015-12-30 10:57:15 -08:00
Sudheer Shanka
81a83562fc Merge "Update an error message." 2015-12-30 18:17:30 +00:00
Sudheer Shanka
137241c714 Update an error message.
Change-Id: Ifc32120ccccd14e8e821770995de91008ed518d7
2015-12-30 18:09:10 +00:00
Geoff Mendal
f32d3a06d5 Merge "Import translations. DO NOT MERGE" 2015-12-30 14:12:49 +00:00
Geoff Mendal
4e31a9e688 Import translations. DO NOT MERGE
Change-Id: I8272ade26943091694be6ce0b8d7e8bbbc1e4ac6
Auto-generated-cl: translation import
2015-12-30 06:06:22 -08:00
Geoff Mendal
9638a9a2a4 Import translations. DO NOT MERGE
Change-Id: I0e4698739718df41ce8fc1237bcb41fa87dd4b8a
Auto-generated-cl: translation import
2015-12-30 06:02:31 -08:00
Randy Pan
a47f684020 resolve merge conflicts of 8c79fe5dc4 to master.
Change-Id: Id331e763f64ecbf8ed23764a487e32b94c4d3c09
2015-12-29 15:09:09 -08:00
Chong Zhang
7c9732db0e Fix popup window position calculation in multiwindow mode
When adjusting the popup's layout param to clip it to screen, we
have to convert x, y into screen coords to make any comparision
to the display frame, which is in screen coords.

bug: 25346252
Change-Id: I996286dec83ef2a1782dd2a66435eab45abf1bae
2015-12-29 14:53:27 -08:00
Chong Zhang
bd0d937303 Notify client when the window is moved because of a resize
We need to notify the client that the window has moved if a resize
results in a move without size change. This makes sure that relevent
info on client side (such as mAttachInfo.mWindowLeft/Top) gets updated
to the new frame. Things like View.getLocationOnScreen() may depend
on these to function.

Bug: 25565385
Change-Id: I5b9ded0b16243c14494f9a69257d56570ee8996d
2015-12-29 14:23:16 -08:00
Chong Zhang
7e5445f2b4 Merge "Crop to stack bounds during animation if docked task is non-resizeable" 2015-12-29 21:40:08 +00:00
Randy Pan
8c79fe5dc4 Correct WiFi exponential back off scan
Correct the comments for exponential back off scan. Only binary
exponential back off scan is supported.

Updated the API doc. A couple of un-related fields which were
not updated get updated as well.

Bug: 26236392
Change-Id: I5668092f393b564aa40904ed609a51aa16890614
2015-12-29 11:28:43 -08:00