192659 Commits

Author SHA1 Message Date
Paul Jensen
f361e3dff9 Undeprecate android.net.ProxyInfo as it's still used.
It was deprecated as part of the Apache deprecation, however it is used
by ConnectivityManager.getLinkProperties() and .getDefaultProxy().
The alternatives (e.g. java.net.Proxy) do not offer a complete
replacement as they lack certain fields (e.g. PAC URL).

Bug:21274137
Change-Id: I99163a2611a738f337fb9907349ef6255dbed6d6
2015-05-19 15:09:17 -04:00
Deepanshu Gupta
5deaa13844 Merge "Fix include tag rendering." into mnc-dev 2015-05-19 19:07:46 +00:00
Deepanshu Gupta
21b5645733 Fix include tag rendering.
A missing catch clause caused rendering to be failed when there is an
include tag that doesn't specify layout_width and layout_height. Also
improve the error messages to make debugging easier next time.

Change-Id: I617762636973a010b34da167c7b5fcd328b7d178
2015-05-19 12:06:22 -07:00
Paul Jensen
d9be23fa4c Report invalid network after one failed attempt.
Also, blame UID requesting re-evaluation for first 5 attempts.

Bug:19648073
Change-Id: Ia04eeb1aeb59fcb21de098193dfad832d5fbe3a2
2015-05-19 14:53:01 -04:00
Yigit Boyar
9b7167937a Merge "Revert "Make VPA.setInterpolator(null) unset the interpolator."" into lmp-mr1-ub-dev 2015-05-19 18:40:37 +00:00
Dianne Hackborn
2d9c6015b3 Merge "Fix issue #20679383: Add text style to assist.ViewNode..." into mnc-dev 2015-05-19 18:26:28 +00:00
Chih-Hung Hsieh
fa5d3eea92 Merge "Add missing const qualifier to compile with clang/llvm." into mnc-dev 2015-05-19 18:22:25 +00:00
Paul McLean
6f421764fe Merge "Turning off logging in ALSA device connection routines." into mnc-dev 2015-05-19 18:21:38 +00:00
Dianne Hackborn
02beb41c97 Fix issue #20679383: Add text style to assist.ViewNode...
...from text nodes in WebView

Add a new explicit API for setting the text style information associated
with a view structure.

Also, how about some documentation!

Change-Id: Ia948b2d66382b973d0d00a67172a281ad55ce592
2015-05-19 11:18:16 -07:00
Alex Klyubin
8ec2bed833 Merge "Use consistent name for KeyPairGeneratorSpi." into mnc-dev 2015-05-19 18:07:22 +00:00
Alex Klyubin
0b878e496f Merge "Switch from getSpi to getCurrentSpi." into mnc-dev 2015-05-19 18:07:01 +00:00
Paul Jensen
c1a9436d27 Merge "Query HTTP proxy for network via a new API to avoid permissions exceptions" into mnc-dev 2015-05-19 17:58:11 +00:00
Jason Monk
bf45b3f426 Merge "SysUI: Move BT receivers to bg" into mnc-dev 2015-05-19 17:56:31 +00:00
Eino-Ville Talvala
77545f6a19 Merge "Camera2: Add SDK annotations" into mnc-dev 2015-05-19 17:55:37 +00:00
Jason Monk
10bfd94ae6 Merge "Update 0th level icon for QS wifi sub panel" into mnc-dev 2015-05-19 17:55:30 +00:00
Nicolas Prevot
5f645339e4 Merge "Allow creating a managed profile if there is only one user." into mnc-dev 2015-05-19 17:52:15 +00:00
Jason Monk
3d804a4fe5 Update 0th level icon for QS wifi sub panel
Bug: 21019691
Change-Id: I3086c5105b418e618a7d4df9bb8b9cb4189beeb8
2015-05-19 13:46:00 -04:00
Chih-Hung Hsieh
2f1e21d995 Add missing const qualifier to compile with clang/llvm.
BUG: 21298442
Change-Id: Iad211237fdb0128d8f4490419687bf1da1cd261c
2015-05-19 10:44:53 -07:00
Glenn Kasten
b0e172304c Merge "Explain the void send() throws IOException" into mnc-dev 2015-05-19 17:34:22 +00:00
Paul McLean
afe55a5ce9 Turning off logging in ALSA device connection routines.
bug: 21298614
Change-Id: Ia88393698072af8f7c101382f180192646bf713e
2015-05-19 10:32:13 -07:00
Eino-Ville Talvala
8b905578b5 Camera2: Add SDK annotations
- Annotate everything with @NonNull, @Nullable
- Annotate a few @IntRange
- Annotate a few @IntDef
  - Most metadata enums probably canont be annotated usefully,
    since get/set() are generic and the annotation system
    can't yet manage that.
  - Plus metadata annotations need to be auto-generated anyway
- Also add explicit null check to prepare's surface argument
- Also update docs of getCameraCharacteristics to match reality

Bug: 21029463
Change-Id: Ifd81b2a782e29ad069fe25c7db4a1fda73dabcd7
2015-05-19 10:31:06 -07:00
Alan Viverette
6246ade0b3 Merge "Remove controlBackground attribute, replace with direct reference" into mnc-dev 2015-05-19 17:13:25 +00:00
Jason Monk
744cf647f7 SysUI: Move BT receivers to bg
Bug: 19520495
Change-Id: I58e7d023b9eaf67fccd1634e00803c8c8d871fff
2015-05-19 13:13:15 -04:00
Hemant Gupta
58fbffc36f Bluetooth: Check for mPanService before changing tethering state
Checking for mPanService before changing OR checking tethering state,
otherwise it will lead to application crash while checking isTetheringOn
OR changing tethering state.

Change-Id: I00844c03cdb8616118c1d50d7d31c75e51f0ef9b
2015-05-19 10:07:19 -07:00
Abodunrinwa Toki
378939ad14 Merge "Hide floating toolbar when selection is out of bounds." into mnc-dev 2015-05-19 17:00:07 +00:00
Yohei Yukawa
c2cc6fff1b Merge "Keep IMM#mCurRootView synchronized with the actual window focus." into mnc-dev 2015-05-19 16:52:26 +00:00
Alex Klyubin
e21f023176 Use consistent name for KeyPairGeneratorSpi.
This renames AndroidKeyPairGeneratorSpi to
AndroidKeyStoreKeyPairGeneratorSpi for consistency with other SPI
implementations of AndroidKeyStore provider.

Bug: 18088752
Change-Id: Iea1c4d35987b3e64f92dd1706273ffb75a6addd6
2015-05-19 09:50:53 -07:00
Abodunrinwa Toki
737c6f16a5 Merge "Fix wrong delay values for floatingtoolbar.hide/dismiss" into mnc-dev 2015-05-19 16:45:20 +00:00
Dianne Hackborn
8e3f29540d Merge "Update power manager to track uid state like netstats." into mnc-dev 2015-05-19 16:44:12 +00:00
John Spurlock
5ddde02ac2 Merge "Volume: Dialog should not interfere when not showing." into mnc-dev 2015-05-19 16:40:06 +00:00
Abodunrinwa Toki
4ce050bd83 Fix wrong delay values for floatingtoolbar.hide/dismiss
Change-Id: Ie16b5f49babd0df0c70b188c9637e17c661e029c
2015-05-19 17:36:55 +01:00
Narayan Kamath
b904863476 Scan package to derive ABIs before optimizing.
This requires a minor refactor to extract the ABI detection logic
out of scanPackageDirtyLI.

Note that there's a minor regression here : we ignore the
cpuAbiOverride from the package settings when calculating the
CPU ABI. This is OK (and possibly better behaviour) because this
is only a debug only option (for adb install) AND because the instructions
require users to specify the abi override on every adb install
invocation. Furthermore, the behaviour when an ADB installed app
(with an override) is auto-updated is more consistent.

bug: 21144503
Change-Id: I74e7c493468ee0088eb615c9a7fe30b4d7cf27de
2015-05-19 16:36:42 +00:00
Roozbeh Pournader
03340feb33 Merge "Update Naskh font names to match upstream and add Tibetan." into mnc-dev 2015-05-19 16:29:27 +00:00
Roozbeh Pournader
2d8a02e68b Update Naskh font names to match upstream and add Tibetan.
The latest files from the upstream Noto repository are named
NotoNaskhArabic* instead of the previous NotoNaskh*.

Also, Noto Sans Tibetan is now included in the fallback chain. Apart
from supporting Tibetan and Dzongkha langauges, this adds a character
(U+0FD6) that completes coverage for ARIB character sets.

Bug: 13680438
Bug: 18181755
Bug: 18639453
Bug: 19390244
Change-Id: I09b493340d1453ef61b08c841e1731119d645822
2015-05-19 16:28:18 +00:00
Wale Ogunwale
1ca9c68740 Merge "Send AppTransitionFinish notification when there was no animation" into mnc-dev 2015-05-19 16:27:29 +00:00
John Spurlock
e56efa71bb Volume: Dialog should not interfere when not showing.
Also dump volume dialog controller state properly as part of
the sysui service dump.

Bug: 21207717
Change-Id: I5146d4159d9b017bc91852b91a585725821c19d9
2015-05-19 12:26:25 -04:00
Xiyuan Xia
00d1fcf737 Merge "No input instead of disabling password entry" into mnc-dev 2015-05-19 16:06:06 +00:00
Xiyuan Xia
cead91974a No input instead of disabling password entry
So that the keyboard does not come and go all the time.

Bug:21271425
Change-Id: I9ba2fa7034777885a6e53f135eca31fc89568e9d
2015-05-19 09:04:43 -07:00
Alex Klyubin
29542143b1 Merge "Document the security features of Android Keystore." into mnc-dev 2015-05-19 15:55:10 +00:00
Glenn Kasten
5db6637f8c Explain the void send() throws IOException
Bug: 21044677
Change-Id: If6b51058813aff3780821db7c619004622df64ca
2015-05-19 08:46:48 -07:00
Xiyuan Xia
1ca3541857 Merge "Abort swipe up gesture when long press is detected" into mnc-dev 2015-05-19 15:44:44 +00:00
Alex Klyubin
3c5d5f0b4a Document the security features of Android Keystore.
Bug: 18088752
Change-Id: Iec995e39065d9c4f159cb4eea38486f9c75de072
2015-05-19 08:39:31 -07:00
Glenn Kasten
c4ddf16c8b Merge "send without timestamp is not equivalent to send now" into mnc-dev 2015-05-19 15:38:01 +00:00
Lorenzo Colitti
84b83c5a95 Add a hidden method to clear the capabilities of a NetworkRequest
Change-Id: I41d4f2229259d0bf9d68aa00f92f3bf4e2e71fbc
2015-05-20 00:35:24 +09:00
Glenn Kasten
a32d5c8472 send without timestamp is not equivalent to send now
Change-Id: I68decbd005932c762ccd376ee80b52ac9884fba4
2015-05-19 08:33:36 -07:00
Derek Sollenberger
252893df57 Merge "Check that the parcel contained the expected amount of region data." into mnc-dev 2015-05-19 14:38:52 +00:00
Abodunrinwa Toki
a8151e4ef7 Hide floating toolbar when selection is out of bounds.
Bug: 20212141
Change-Id: I7844308e339ba9a5027c629da8090053011e019d
2015-05-19 15:21:10 +01:00
Abodunrinwa Toki
1f21d2a8b1 Merge "Hide floating toolbar when user interacts with screen." into mnc-dev 2015-05-19 14:06:46 +00:00
Abodunrinwa Toki
fd3a3a1163 Hide floating toolbar when user interacts with screen.
- Adds an ActionMode.snooze(int) API.
- Clients call this to hide the floating toolbar on DOWN touch event.
- This is called repeatedly as a snooze timeout will re-show the
  toolbar.
- ActionMode.snooze(0) will "wake" the toolbar, reshowing it.
- Clients call this to re-show the toolbar on UP touch event.
- This CL also adds code to hide the toolbar when the "content rect"
  is changing.

Bug: 20148125
Change-Id: If5a9a15f72c73cad8ca01a4328a58570b3e29f66
2015-05-19 14:25:39 +01:00
Paul Jensen
7597dc7c4d Merge "Avoid surfacing "Sign in to network" notification if user selects "use as is" from captive portal app." into mnc-dev 2015-05-19 12:07:47 +00:00