Commit Graph

43766 Commits

Author SHA1 Message Date
Svetoslav Ganov
a0fc968327 am 85a57781: am bb9a2035: This is no longer needed for factory ROM and since it changes behavior - reverting. Also causes NPE crash.
* commit '85a577817ce618fc490da0876d3b0587b6dcaf5c':
  This is no longer needed for factory ROM and since it changes behavior - reverting. Also causes NPE crash.
2014-09-04 03:55:09 +00:00
Adam Powell
06e6ef2c9e am 3d20a2c0: am bc01a3e4: Merge "Fix a regression in SearchView focusability" into lmp-dev
* commit '3d20a2c0aebe1faa58e00ccd3b2f3cd5eae20389':
  Fix a regression in SearchView focusability
2014-09-04 03:44:43 +00:00
Svetoslav Ganov
588e117cce This is no longer needed for factory ROM and since it changes behavior - reverting. Also causes NPE crash.
Revert "NumberPicker not announcing current selection."

This reverts commit 44d026c95bb9e582b7b18e355ec7a3458df52259.

Change-Id: I0bb6db9666fc9eb477737d1114c5c87035ed202b
2014-09-04 03:28:50 +00:00
Adam Powell
b5bbe5745e am f1197ed9: am c3070461: Merge "Change the CAB to use the up-glyph for closing action modes" into lmp-dev
* commit 'f1197ed9d98716a2bb572efc6960672a55baee79':
  Change the CAB to use the up-glyph for closing action modes
2014-09-04 03:21:54 +00:00
Adam Powell
ea4ecd6241 Fix a regression in SearchView focusability
A bit of code was removed that re-read the View style attributes
during SearchView construction to extract the focusable attribute, but
with a different default value if it was entirely missing. Restore it,
and lump re-reading the focusable attribute in with SearchView's
styleable filter array instead of using the giant View one for a
second time during inflation.

Bug 17292230

Change-Id: Ic5a2dd2d55893b0b290f1f7a3b6de09b37329245
2014-09-03 19:35:37 -07:00
Adam Powell
4ef16eaa8d Merge "Change the CAB to use the up-glyph for closing action modes" into lmp-dev 2014-09-04 01:18:14 +00:00
Alan Viverette
f2f326561b am ed1bf1cf: am 1d53feb9: Merge "Only use default backgrounds when not extending AlertDialog style" into lmp-dev
* commit 'ed1bf1cfeb069336c26482283592068bede937d9':
  Only use default backgrounds when not extending AlertDialog style
2014-09-04 00:42:04 +00:00
Adam Powell
b2536cf473 Change the CAB to use the up-glyph for closing action modes
In an effort to reduce glyph proliferation, change the "done"
checkmark from the CAB to the up-navigation arrow, placing the CAB
firmly in the current navigation hierarchy. This matches behavior for
expandable action views such as SearchView.

Allow the use of different CAB "done" layouts by theme; the material
layout should not include the "done" text and should use the standard
borderless selectable item background.

Bug 17372188

Change-Id: Icfb3e0bbc6a718e22ab27f9d520da5fe4eb833e7
2014-09-03 17:17:45 -07:00
Selim Gurun
ab70d707eb am 972bff24: am 5a1bcaba: Merge "Remove unpublished optOutDataReductionProxyApi" into lmp-dev
* commit '972bff24d77c4d196f6b4253d48f71b1a8bce5b0':
  Remove unpublished optOutDataReductionProxyApi
2014-09-03 23:48:44 +00:00
Dan Sandler
5b01afa072 am c0a4823d: am cdb9de6a: Merge "Reduce RAM requirements of grayscale icon testing" into lmp-dev
* commit 'c0a4823dfb0381c810f8610660d723cd5048d989':
  Reduce RAM requirements of grayscale icon testing
2014-09-03 23:48:39 +00:00
Svetoslav
4fe51bf45a am 068d7dd0: am c23f9664: Merge "NumberPicker not announcing current selection." into lmp-dev
* commit '068d7dd0b7ed5bd633045b7a7a61f9b8ed0bdeee':
  NumberPicker not announcing current selection.
2014-09-03 23:47:54 +00:00
Eino-Ville Talvala
067ef0f682 am 5bb3b70b: am 25c35986: Merge "JobScheduler: Fix doc build break" into lmp-dev
* commit '5bb3b70b4614ee5075474d63246d5205f7656720':
  JobScheduler: Fix doc build break
2014-09-03 23:47:33 +00:00
Amith Yamasani
1a48d88f09 am 7202fd15: am f27739f7: Merge "Add some @SystemApi tags for internal user-related APIs" into lmp-dev
* commit '7202fd15a22c2f36dee702eb04f415d36882ee32':
  Add some @SystemApi tags for internal user-related APIs
2014-09-03 23:46:53 +00:00
Matthew Xie
2e0c5d32c3 am 59cd77e9: am 0465993a: Merge "Close the base socket when bindListen fails" into lmp-dev
* commit '59cd77e9258e2604020b54b7df7c0a78ffe68ddb':
  Close the base socket when bindListen fails
2014-09-03 23:46:17 +00:00
Alan Viverette
f8cf4cdf90 am 1f211a18: am 3778a6aa: Merge "Remove partial support for hotspot changes on focus movement" into lmp-dev
* commit '1f211a187fe60814f2b7729919600fb30c93475b':
  Remove partial support for hotspot changes on focus movement
2014-09-03 23:45:30 +00:00
Alan Viverette
98a31b2ef0 Merge "Only use default backgrounds when not extending AlertDialog style" into lmp-dev 2014-09-03 23:42:42 +00:00
Alan Viverette
b17c6c178f Only use default backgrounds when not extending AlertDialog style
BUG: 17368867
Change-Id: I440dad33cfb093c13b450a5f2369481fb30665ad
2014-09-03 16:27:51 -07:00
Selim Gurun
628025335a Merge "Remove unpublished optOutDataReductionProxyApi" into lmp-dev 2014-09-03 22:18:13 +00:00
Dan Sandler
d1dc910eff Merge "Reduce RAM requirements of grayscale icon testing" into lmp-dev 2014-09-03 22:15:38 +00:00
Dan Sandler
05c362d564 Reduce RAM requirements of grayscale icon testing
The isGrayscale family of methods is designed to identify
drawables and bitmaps that apps are using in the largeIcon
position to pose as small icons in order to get the
appropriate background treatment (a solid blue or gray block
in KK/JB, or geniune selvedge denim in ICS/HC).

We can optimize this search two ways:

(1) Reject immediately any largeIcon that is larger than
    largeIcons should be (64x64dp). We could one day simply
    reject, or resize, these in the notification manager,
    but regardless these are not plausible smallIcon
    subsitutes. This new constraint is commemorated in the
    new name, isGrayscaleIcon().

(2) Shrink the bitmap even smaller before scanning it slowly
    in Java.  This lets native_drawBitmap do the heavy
    lifting across the entire bitmap; we need only scan a
    few pixels.

Bug: 16513124
Change-Id: I3a2b79130ed2465a4aedfbb5a556db7f8a7aa132
2014-09-03 23:52:47 +02:00
Selim Gurun
c7a8d06731 Remove unpublished optOutDataReductionProxyApi
Bug: 17253647

Per Api council's request, remove this API.

Change-Id: I8e706cc7173b88f3f13b2ac0697f54b25f163798
2014-09-03 14:34:24 -07:00
Svetoslav
058e1f5a38 Merge "NumberPicker not announcing current selection." into lmp-dev 2014-09-03 21:29:16 +00:00
Eino-Ville Talvala
93b47603bf JobScheduler: Fix doc build break
Change-Id: I769da7274fe5e3f64a47c82f893afeee6a11254e
2014-09-03 20:51:13 +00:00
Svetoslav
ca50566101 NumberPicker not announcing current selection.
bug:17299486

Change-Id: I73fd33ef3518ef8e6cdd40cd036e8f104dc492b6
2014-09-03 13:26:34 -07:00
Amith Yamasani
bef1036af7 Merge "Add some @SystemApi tags for internal user-related APIs" into lmp-dev 2014-09-03 20:26:10 +00:00
Amith Yamasani
0e8d7d63ba Add some @SystemApi tags for internal user-related APIs
Also added an internal isManagedProfile()

Bug: 17371392
Change-Id: Ibcc26771d954505cbd530192bf4a8a25a8d4cae0
2014-09-03 13:17:28 -07:00
Matthew Xie
ddfa8e18fd Merge "Close the base socket when bindListen fails" into lmp-dev 2014-09-03 19:29:03 +00:00
Matthew Xie
726652e9d3 Close the base socket when bindListen fails
Bug: 10773872
Change-Id: I0a72b2eb65055fa1959070d2dc32d40a573bd6f2
2014-09-03 19:25:39 +00:00
John Reck
842bb5be58 am 0f6c29dc: am ef908af6: Merge "Have destroy call freePrefetchedLayers" into lmp-dev
* commit '0f6c29dc47d4a9607e79480460a67837c527fd56':
  Have destroy call freePrefetchedLayers
2014-09-03 18:33:24 +00:00
Alan Viverette
94b88e7103 Merge "Remove partial support for hotspot changes on focus movement" into lmp-dev 2014-09-03 18:31:47 +00:00
John Reck
2d72dd2e3e Merge "Have destroy call freePrefetchedLayers" into lmp-dev 2014-09-03 18:18:31 +00:00
Matthew Williams
61dd95f7ba am 3e3a7489: am f390c6ac: Merge "Add timeout when waiting to bind to JobService" into lmp-dev
* commit '3e3a7489f074b5f2234d32499cdf229da6562d46':
  Add timeout when waiting to bind to JobService
2014-09-03 18:14:26 +00:00
John Reck
17035b0211 Have destroy call freePrefetchedLayers
Bug: 17208461

 There's a potential race condition between HardwareRenderer.destroy()
 being called (which calls destroyCanvasAndSurface()) and the renderer
 being finalized (which is what calls freePrefetchedLayers), during which
 time it's possible we get a TRIM_MEMORY_COMPLETE and destroy the EGL
 context.

 Fix this race condition by moving stopDrawing() and freePrefetchedLayers()
 into destroyCanvasAndSurface() where they should have been in the first
 place.

 Also, if we hit the assertion failure, dump the current state of
 Caches to try and provide more context for the failure.

Change-Id: Ife0ba3562041e8b08e87e3e13640472b3004eed6
2014-09-03 11:13:53 -07:00
Matthew Williams
5bdc16974a Merge "Add timeout when waiting to bind to JobService" into lmp-dev 2014-09-03 17:49:07 +00:00
George Mount
705dedb2f5 am aecaeaf1: am 62667650: Merge "Fix ChangeTransform to work with interruptions" into lmp-dev
* commit 'aecaeaf1b06ef68b074e719b2efae1b7525a70b1':
  Fix ChangeTransform to work with interruptions
2014-09-03 17:48:12 +00:00
George Mount
31dce2b27f am 1a91de15: am dd815989: Merge "Additional fixes for "back" with translucent windows." into lmp-dev
* commit '1a91de154e18d54b07d2c51da7f74c8f4590e8a0':
  Additional fixes for "back" with translucent windows.
2014-09-03 17:48:07 +00:00
Matthew Williams
75fc5258b7 Add timeout when waiting to bind to JobService
BUG: 17322886

bindService() to an invalid service might never actually result in
onServiceConnected being called , for e.g. if the client service doesn't
actually implement JobService. This wastes an execution slot as we end
up waiting forever.

Also made the javadocs clearer for the JobScheduler class.

Change-Id: Ie15ebbe18c0b7579f2ab77dd46428d354ef632c3
2014-09-03 10:47:27 -07:00
Esteban Talavera
6bf9c6350a am 67330f8c: am 5607db79: Merge "Pass ComponentName to probing certificate methods" into lmp-dev
* commit '67330f8c077570c870846b7618b5196827483c84':
  Pass ComponentName to probing certificate methods
2014-09-03 17:37:01 +00:00
Wally Yau
a5aa2b913b am 77f65a70: am afa51609: Merge "New keycode definitions for TV remotes." into lmp-dev
* commit '77f65a70035e07c29fe74cf08bb9e7efe9b144c7':
  New keycode definitions for TV remotes.
2014-09-03 17:36:48 +00:00
George Mount
66946e22b1 Merge "Fix ChangeTransform to work with interruptions" into lmp-dev 2014-09-03 17:30:24 +00:00
George Mount
d847f1a1e3 Merge "Additional fixes for "back" with translucent windows." into lmp-dev 2014-09-03 17:30:09 +00:00
George Mount
99c82fd1de Additional fixes for "back" with translucent windows.
Ensure background is mutated before changing its alpha.
Ensure resetViews is called when activity options is set.

Bug 16215650

Change-Id: I8482532777652a93b2c0d05c1b902516d281baf0
2014-09-03 17:29:57 +00:00
George Mount
dc19ac008c Fix ChangeTransform to work with interruptions
Bug 17372872

If ChangeTransform was interrupted after its animation completed,
but before the parent's Transition completed, it would think
that its start location was relative to its parent's current
position and not relative to its end position.

Change-Id: Iad25aafc03c41c1e0a7530548fb38acafbaffb8e
2014-09-03 17:29:06 +00:00
Dake Gu
fa28163129 am e3842811: am a45b03f8: Merge "ActivityTransition: fix activity not finished on back" into lmp-dev
* commit 'e384281179ad3a71fcb16e071fa4a575b3e7926c':
  ActivityTransition: fix activity not finished on back
2014-09-03 17:26:00 +00:00
Esteban Talavera
aa924b52e9 Merge "Pass ComponentName to probing certificate methods" into lmp-dev 2014-09-03 17:22:41 +00:00
Wally Yau
a25d54ffb0 Merge "New keycode definitions for TV remotes." into lmp-dev 2014-09-03 17:15:50 +00:00
Dake Gu
dd725ec4a7 Merge "ActivityTransition: fix activity not finished on back" into lmp-dev 2014-09-03 17:07:09 +00:00
Brian Carlstrom
a27a0b379d am 66ce8faf: am ef3d85a5: Merge "Fix DevicePolicyManager javadoc" into lmp-dev
* commit '66ce8faf4cefa5bc9b240c748b60f5eb287f0852':
  Fix DevicePolicyManager javadoc
2014-09-03 16:28:40 +00:00
Brian Carlstrom
f1fe51b914 Fix DevicePolicyManager javadoc
Bug: 17126717
Change-Id: Ib1d83a0e2003296ec1e17fa7c43e32c55b044df3
2014-09-03 09:00:06 -07:00
Chet Haase
688f9161d0 am c26fbab0: am c22d9103: Merge "Fix TransitionManager.go() to allow null transitions" into lmp-dev
* commit 'c26fbab03aa7a38ce6310ca01d6f880df62dd0bf':
  Fix TransitionManager.go() to allow null transitions
2014-09-03 15:43:03 +00:00