Commit Graph

49015 Commits

Author SHA1 Message Date
Xiaohui Chen
753b0ab1a6 am 802ece61: Merge "system_server: add two child chains to firewall" into mnc-dev
* commit '802ece61399e94bbe98cafaa277c71bee73c03ba':
  system_server: add two child chains to firewall
2015-06-18 00:07:00 +00:00
Xiaohui Chen
802ece6139 Merge "system_server: add two child chains to firewall" into mnc-dev 2015-06-17 23:50:28 +00:00
Chet Haase
8710f4d42e am 45bb0ca4: Merge "ImageView updates cached drawable dimensions when drawable updates" into mnc-dev
* commit '45bb0ca49a052cd6da3e4ced7709372972abdf55':
  ImageView updates cached drawable dimensions when drawable updates
2015-06-17 23:16:49 +00:00
Raph Levien
a38abb3a47 am 8872ca4d: Merge "Remove indents from TextView" into mnc-dev
* commit '8872ca4d558a8546c9c934f32fd37d261a6f32d1':
  Remove indents from TextView
2015-06-17 23:16:44 +00:00
Chet Haase
45bb0ca49a Merge "ImageView updates cached drawable dimensions when drawable updates" into mnc-dev 2015-06-17 23:07:17 +00:00
Raph Levien
8872ca4d55 Merge "Remove indents from TextView" into mnc-dev 2015-06-17 23:06:17 +00:00
Xiaohui Chen
b41c9f7f39 system_server: add two child chains to firewall
This is an attempt to speed up getting out of device idle.  It groups
uid firewall rules in these child chains so we can attach/detach a whole
chain instead of individual uid rules.

BUG:21446713
Change-Id: Ie8f392da2deabe7cc86a9ecf4ed080163861d41e
2015-06-17 15:55:37 -07:00
Raph Levien
8edac58e55 Remove indents from TextView
On more careful reflection, the "indents" feature was not ready for
inclusion in the public API. It is still available at a lower level
in StaticLayout.

Also fix a minor typo in the doc for breakStrategy.

Bug: 20641996
Change-Id: I5cd976a536c48615980860396b1564b51b19e14a
2015-06-17 15:53:33 -07:00
Adam Powell
ed77f25d98 am 40359f73: Merge "Request application of WindowInsets when setting a content view" into mnc-dev
* commit '40359f73b189fc8547dd91e6b75a4243b23553ef':
  Request application of WindowInsets when setting a content view
2015-06-17 22:51:09 +00:00
Adam Powell
40359f73b1 Merge "Request application of WindowInsets when setting a content view" into mnc-dev 2015-06-17 22:42:17 +00:00
Dianne Hackborn
610828bd01 am 22433a33: Merge "Fix issue #21814207 and issue #21814212 (alarm manager)" into mnc-dev
* commit '22433a337a712aafbf23df965fa0457ccee3399b':
  Fix issue #21814207 and issue #21814212 (alarm manager)
2015-06-17 22:33:36 +00:00
Chet Haase
8473f5a768 ImageView updates cached drawable dimensions when drawable updates
Changes to drawable dimensions were not propagated to cached dimension
values in ImageView. Now this is done when the drawable is invalidated.

Issue #18798152  ImageView caches wrong value of mDrawableWidth and mDrawableHeight

Change-Id: I8da7d82b0543fa02d8ef3d896595bd0e5ea2a61e
2015-06-17 15:28:25 -07:00
Alan Viverette
a1e8476a21 am e1c94726: Merge "Work around inconsistent views in RelativeLayout.onMeasure()" into mnc-dev
* commit 'e1c947263f1b72510f244458d9cef76883691801':
  Work around inconsistent views in RelativeLayout.onMeasure()
2015-06-17 22:23:05 +00:00
Dianne Hackborn
22433a337a Merge "Fix issue #21814207 and issue #21814212 (alarm manager)" into mnc-dev 2015-06-17 22:18:37 +00:00
Alan Viverette
e1c947263f Merge "Work around inconsistent views in RelativeLayout.onMeasure()" into mnc-dev 2015-06-17 22:10:11 +00:00
Chris Wren
0cd86a76e9 am e222a444: Merge "Revert "remove setLatestEventInfo"" into mnc-dev
* commit 'e222a44429c3c1b662783afee67dc86edf38d546':
  Revert "remove setLatestEventInfo"
2015-06-17 21:18:11 +00:00
Chris Wren
e222a44429 Merge "Revert "remove setLatestEventInfo"" into mnc-dev 2015-06-17 21:03:24 +00:00
Chris Wren
dfdb52abe6 Revert "remove setLatestEventInfo"
This reverts commit 965097321d.

Change-Id: I658bb2611fe8f983309e962d6772d1bd80ed586e
2015-06-17 21:03:11 +00:00
Alan Viverette
3e2e064a1f Work around inconsistent views in RelativeLayout.onMeasure()
Previously, RelativeLayout's measure pass could crash if the view's
children were modified without calling requestLayout() prior to the
next measure pass. This avoids the issue by only looking at the most
recent set of sorted views and preserves the previous behavior where
onMeasure() could return incorrect data.

Bug: 21123292
Change-Id: If471d071d1d2e2729cf13854d95b1f517c1fe73a
2015-06-17 13:42:32 -07:00
Adam Powell
896fec7e99 am 074c3404: Merge "Add matching xml attributes for existing Toolbar properties" into mnc-dev
* commit '074c340420105e04791bfd083aa36249a4f9362a':
  Add matching xml attributes for existing Toolbar properties
2015-06-17 20:37:33 +00:00
Adam Powell
41607d5a2b Request application of WindowInsets when setting a content view
For both PhoneWindow and VoiceInteractionSession, call
requestApplyInsets when the content view(s) change. This is generally
what the developer expects if the new view tree responds to insets in
any way.

Bug 21620924

Change-Id: I60a88af55bf85217c3587aa37f03fdc3fdce686d
2015-06-17 13:37:06 -07:00
Adam Powell
074c340420 Merge "Add matching xml attributes for existing Toolbar properties" into mnc-dev 2015-06-17 20:22:37 +00:00
Chris Wren
2611a90790 am c20c1eec: Merge "remove setLatestEventInfo" into mnc-dev
* commit 'c20c1eec9e222870b08c079898dbc334858994cc':
  remove setLatestEventInfo
2015-06-17 20:17:21 +00:00
Chris Wren
c20c1eec9e Merge "remove setLatestEventInfo" into mnc-dev 2015-06-17 20:05:11 +00:00
Dianne Hackborn
f3f24792d6 am d1419ed2: Merge "Bring back screenshot API." into mnc-dev
* commit 'd1419ed29a694dffc98e9f352f952b805c6e0583':
  Bring back screenshot API.
2015-06-17 19:58:37 +00:00
Dianne Hackborn
d1419ed29a Merge "Bring back screenshot API." into mnc-dev 2015-06-17 19:47:11 +00:00
Eino-Ville Talvala
526f227ff3 am b7bbd629: Merge "Camera2: Do not throw unexpected runtime exception to app" into mnc-dev
* commit 'b7bbd629eb0370f36ce27cbc9ecfc7e5c9d8953f':
  Camera2: Do not throw unexpected runtime exception to app
2015-06-17 18:44:40 +00:00
Dianne Hackborn
a750a63d63 Fix issue #21814207 and issue #21814212 (alarm manager)
Issue #21814207: AlarmManager.setAndAllowWhileIdle should also allow wake locks.

Introduce a whole new infrastructure for providing options when
sending broadcasts, much like ActivityOptions.  There is a single
option right now, asking the activity manager to apply a tempory
whitelist to each receiver of the broadcast.

Issue #21814212: Need to allow configuration of alarm manager parameters

The various alarm manager timing configurations are not modifiable
through settings, much like DeviceIdleController.  Also did a few
tweaks in the existing DeviceIdleController impl.

Change-Id: Ifd01013185acc4de668617b1e46e78e30ebed041
2015-06-17 11:41:45 -07:00
Eino-Ville Talvala
b7bbd629eb Merge "Camera2: Do not throw unexpected runtime exception to app" into mnc-dev 2015-06-17 18:31:45 +00:00
Eino-Ville Talvala
d3e39d16cb Camera2: Do not throw unexpected runtime exception to app
Use a generic CameraAccessException DEVICE_ERROR exception instead

Bug: 21869917
Change-Id: I73581b817cbdcbb4b876c234f050f725a459a29b
2015-06-17 11:18:43 -07:00
Chien-Yu Chen
e6c3c17b29 am 563d60e0: Merge "Camera2: Handle getting input surface failures" into mnc-dev
* commit '563d60e03f8d5961e5578fca66092bd6b8d5496e':
  Camera2: Handle getting input surface failures
2015-06-17 18:09:24 +00:00
Zhijun He
d103c0bdce am 0f70c415: Merge "Camera2: fix high speed request builder creation issue" into mnc-dev
* commit '0f70c415519f0a89f8ba765f9046802a2223f790':
  Camera2: fix high speed request builder creation issue
2015-06-17 18:09:19 +00:00
Alex Klyubin
411b8a3a2a am 4250c8d6: Merge "Expose AES GCM backed by Android Keystore." into mnc-dev
* commit '4250c8d6435cca2c14839f7adec0a43773d01e3b':
  Expose AES GCM backed by Android Keystore.
2015-06-17 18:09:14 +00:00
Yigit Boyar
202bb20378 am 5ddaa72b: Merge "Handle negative view types properly in getScrapView" into mnc-dev
* commit '5ddaa72b9a60dda43c9e199f85990c01b0bf702c':
  Handle negative view types properly in getScrapView
2015-06-17 18:09:09 +00:00
Chien-Yu Chen
563d60e03f Merge "Camera2: Handle getting input surface failures" into mnc-dev 2015-06-17 18:02:31 +00:00
Zhijun He
0f70c41551 Merge "Camera2: fix high speed request builder creation issue" into mnc-dev 2015-06-17 18:00:17 +00:00
Alex Klyubin
4250c8d643 Merge "Expose AES GCM backed by Android Keystore." into mnc-dev 2015-06-17 17:58:35 +00:00
Yigit Boyar
5ddaa72b9a Merge "Handle negative view types properly in getScrapView" into mnc-dev 2015-06-17 17:58:27 +00:00
Mady Mellor
6b7bdd98c7 am 5279d11f: Merge "Drag to select text: add some slop for moving between lines" into mnc-dev
* commit '5279d11f258a01cfdf0a16d965b5e4cd7566b8ac':
  Drag to select text: add some slop for moving between lines
2015-06-17 17:45:30 +00:00
Mady Mellor
5279d11f25 Merge "Drag to select text: add some slop for moving between lines" into mnc-dev 2015-06-17 17:36:31 +00:00
Mady Mellor
7e2e9da668 am f0522882: Merge "Insertion cursor: add some slop for moving between lines" into mnc-dev
* commit 'f05228822c5da6333f20dc3a29c8f064b7562e06':
  Insertion cursor: add some slop for moving between lines
2015-06-17 17:14:34 +00:00
Mady Mellor
ee3821e565 Insertion cursor: add some slop for moving between lines
Applying same method to insertion cursor as the text selection drag
handles to improve moving along lines.

Basically adds some slop above / below the current line and only
allows you to change lines if you move outside of that.

Bug: 21306433
Change-Id: I6c7f3a496fbd1ea66936832f96325736cea872aa
2015-06-17 09:48:38 -07:00
Mady Mellor
f9f8aebdc6 Drag to select text: add some slop for moving between lines
It's pretty easy to accidentally move to a different line when
selecting text. This CL makes an adjustment so that if the user
is on a line, they must move above the top of it + slop to move
up a line, and they must move below the bottom of it + slop to move
down a line. This applies the changes to the drag accelerator.

This CL also makes an adjustment to not apply the finger offset
to the drag accelerator until the user has moved lines, this was
causing an issue where it would immediately include the above line
when initiating the selection.

Bug: 21306433
Bug: 21303943
Change-Id: Id240136493f62524fe6445d8bd65479084fe8126
2015-06-17 09:46:01 -07:00
Mady Mellor
19457a41e9 am 13e54ff0: Merge "Text selection: add some slop for moving between lines" into mnc-dev
* commit '13e54ff0ebc5fe6f425c16d9d30ea9ecd5db1348':
  Text selection: add some slop for moving between lines
2015-06-17 16:45:08 +00:00
Mady Mellor
13e54ff0eb Merge "Text selection: add some slop for moving between lines" into mnc-dev 2015-06-17 16:30:19 +00:00
Mady Mellor
cc65c37f10 Text selection: add some slop for moving between lines
It's pretty easy to accidentally move to a different line when
selecting text. This CL makes an adjustment so that if the user
is on a line, they must move above the top of it + slop to move
up a line, and they must move below the bottom of it + slop to move
down a line.

This CL also makes a small modification to check if the layout is
null and return early which simplifies some of the following code.

Bug: 21306433
Change-Id: I4a854e644faafaf1e159201ae1f2838862f16b25
2015-06-17 09:25:19 -07:00
Alex Klyubin
00af27b7d9 Expose AES GCM backed by Android Keystore.
Bug: 18088752
Bug: 21786749
Change-Id: Ica90491037d2920f7635195894ba18882fc4406d
2015-06-17 09:24:06 -07:00
Zhijun He
a002fb4df4 Camera2: fix high speed request builder creation issue
The metadata local copy was mutated (swapped) to an empty copy after use,
we need make a copy every time.

Bug: 21442271
Change-Id: I8a71663ba964288bdd1d7f50b42db762d28d89c0
2015-06-17 09:23:22 -07:00
Narayan Kamath
1248c94934 am 2c89e7d8: Merge "Delete android.speech.srec.*" into mnc-dev
* commit '2c89e7d8dba1713de17157a164071c65f4b00915':
  Delete android.speech.srec.*
2015-06-17 11:51:37 +00:00
Narayan Kamath
2c89e7d8db Merge "Delete android.speech.srec.*" into mnc-dev 2015-06-17 11:38:16 +00:00