Commit Graph

43795 Commits

Author SHA1 Message Date
Svetoslav
100dfcd2fa am b57127fd: am af08fbbf: Merge "Update accessibility focused virtual view bounds." into lmp-dev
* commit 'b57127fd037be7f78d62a9c39a4031c19181d6de':
  Update accessibility focused virtual view bounds.
2014-09-04 18:52:22 +00:00
Svetoslav
ac0d317c31 Merge "Update accessibility focused virtual view bounds." into lmp-dev 2014-09-04 18:40:05 +00:00
Michael Wright
4bed617911 am 3835c405: am c27c79f1: Merge "Add support for SW_CAMERA_LENS_COVER." into lmp-dev
* commit '3835c40568592820429b81185a4b9d4b7de34aff':
  Add support for SW_CAMERA_LENS_COVER.
2014-09-04 18:17:44 +00:00
George Mount
7a4dee660b am 9169d544: am ae572ad4: Merge ""Back" with translucent window now sets ActivityOptions." into lmp-dev
* commit '9169d544573479d30ff47f303c34cf62e54b37fc':
  "Back" with translucent window now sets ActivityOptions.
2014-09-04 18:17:35 +00:00
Ruben Brunk
520c4f64c5 am f0ca58ff: am bb009ddb: Merge "camera2: Fix Nakasi crash-on-start when using Camera2 API." into lmp-dev
* commit 'f0ca58ffdd989a5b11fd82cdb49b5fc5ae5948eb':
  camera2: Fix Nakasi crash-on-start when using Camera2 API.
2014-09-04 18:12:21 +00:00
Michael Wright
18aa9f65fd Merge "Add support for SW_CAMERA_LENS_COVER." into lmp-dev 2014-09-04 18:07:00 +00:00
George Mount
0f6c32af06 Merge ""Back" with translucent window now sets ActivityOptions." into lmp-dev 2014-09-04 18:03:52 +00:00
George Mount
9e18397112 "Back" with translucent window now sets ActivityOptions.
Also made convertToTranslucent set the canvas opacity.

Bug 16215650

Change-Id: Id4325eaed34cda1269d874f239aeb5f6f82c959f
2014-09-04 11:02:29 -07:00
Chris Wren
0ede908c1d am 4b6f4321: am c95be445: Merge "Honor per-app sensitivity setting." into lmp-dev
* commit '4b6f432163c4d50a53a64b27e19f6e71b0b33541':
  Honor per-app sensitivity setting.
2014-09-04 17:57:56 +00:00
Ruben Brunk
69a0966441 Merge "camera2: Fix Nakasi crash-on-start when using Camera2 API." into lmp-dev 2014-09-04 17:47:16 +00:00
Yorke Lee
cbd61cf075 am 42d221f3: am 002e85e1: Merge "Use TelecommManager APIs to detect if we are in a call" into lmp-dev
* commit '42d221f34b50f8823695c26b65659faa2047564c':
  Use TelecommManager APIs to detect if we are in a call
2014-09-04 17:44:30 +00:00
Chris Wren
0fb810a3fa Merge "Honor per-app sensitivity setting." into lmp-dev 2014-09-04 17:42:18 +00:00
Yorke Lee
135b59e597 Merge "Use TelecommManager APIs to detect if we are in a call" into lmp-dev 2014-09-04 17:27:25 +00:00
Alexandra Gherghina
ccb0d76b57 am aa41f76f: am 3d23ae9f: Merge "Fix NPE from empty PackageInfo" into lmp-dev
* commit 'aa41f76f641209a24bc71c7d72c49afaec5519d2':
  Fix NPE from empty PackageInfo
2014-09-04 15:54:37 +00:00
Chris Wren
3ad4e3a45b Honor per-app sensitivity setting.
Settings are stored by NotificationManagerService in the policy file,
and are communicated to NotificationListeners via a hidden API on the
RankingMap object.

Bug: 16324353
Change-Id: I2d5cf6782273744cbf9b309dec76780cc0a4c39e
2014-09-04 11:49:06 -04:00
Alexandra Gherghina
0cd0b186c3 Merge "Fix NPE from empty PackageInfo" into lmp-dev 2014-09-04 15:33:50 +00:00
Alexandra Gherghina
db811dbc70 Fix NPE from empty PackageInfo
Bug: 17325905
Change-Id: I38ae5e242b1bf615620cf069a2cccede6ee42125
2014-09-04 15:46:23 +01:00
Dan Sandler
32e1c51f53 am 5832bf2a: am 195fa1ec: Merge "Notification: Limit length of accepted strings" into lmp-dev
* commit '5832bf2a544f37b7894e0764e133eb98913f248d':
  Notification: Limit length of accepted strings
2014-09-04 13:56:52 +00:00
Dan Sandler
d2961355bd Merge "Notification: Limit length of accepted strings" into lmp-dev 2014-09-04 13:36:34 +00:00
Kenny Guy
c08ab9528e am 0d548a70: am 5c32b77f: Merge "Ensure all RemoteViews use myUserId rather than context." into lmp-dev
* commit '0d548a7043e56d0e5070b475cbdfc9a3fb41c13e':
  Ensure all RemoteViews use myUserId rather than context.
2014-09-04 13:30:39 +00:00
Kenny Guy
a449018105 Merge "Ensure all RemoteViews use myUserId rather than context." into lmp-dev 2014-09-04 13:09:32 +00:00
Sander Alewijnse
a637377217 am 085baf07: am 7b4dc272: Merge "Rename email extra to email bundle key." into lmp-dev
* commit '085baf078946adc9bc97b054309558e97377509a':
  Rename email extra to email bundle key.
2014-09-04 12:16:18 +00:00
Kenny Guy
879ebec4e2 Ensure all RemoteViews use myUserId rather than context.
Remote views may be inflated in another user so
explicitly use processes user id rather than the
user id of the context.

Bug: 17302505
Change-Id: I985c91745f03dd7e6b2ab6357600077664d8e6be
2014-09-04 12:40:24 +01:00
Sander Alewijnse
aff9f4cb88 Rename email extra to email bundle key.
Bug:17197410
Change-Id: I321bc52cbb73a14869538700204ac7b5aefb3755
2014-09-04 12:28:52 +01:00
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
Svetoslav
f0c758be0d Update accessibility focused virtual view bounds.
We keep track of the accessibility focused virtual view in order to
draw the accessibility focus highlight. We were not updating this
virtual view when the view tree changes in a way that may affect
the virtial view's bounds in the screen.

bug:17211255

Change-Id: I69dd949b91ed9c8242521332081d50d75cac6921
2014-09-03 18:29:07 -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
Ruben Brunk
3968a31099 camera2: Fix Nakasi crash-on-start when using Camera2 API.
Bug: 17252693

- WAR to ensure setMeteringAreas and setFocusAreas is never called
  if the max areas is 0.
- Fix AF handling for when there are no AF modes that support
  Camera#autoFocus being called.

Change-Id: Id2517b76e1be51f8adeeee30dc2032e03debed01
2014-09-03 17:32:43 -07: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
Yorke Lee
cc5179f0e3 Use TelecommManager APIs to detect if we are in a call
Bug: 17335666
Change-Id: I5f443c76041e51a2eca903db924fb26031dde055
2014-09-03 17:04:54 -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