OSDN Git Service
Chris Wren [Mon, 13 Jul 2015 16:21:21 +0000 (16:21 +0000)]
Merge "add new enums to MetricsConstans" into mnc-dev
Jason Monk [Mon, 13 Jul 2015 16:21:00 +0000 (16:21 +0000)]
Merge "Show volume restriction toast on all users" into mnc-dev
Geoff Mendal [Mon, 13 Jul 2015 15:37:09 +0000 (15:37 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 13 Jul 2015 15:34:33 +0000 (10:34 -0500)]
Import translations. DO NOT MERGE
Change-Id: Idab7fc2dc586c8544d17263428c5556929303a64
Auto-generated-cl: translation import
Jason Monk [Mon, 13 Jul 2015 15:02:13 +0000 (11:02 -0400)]
Show volume restriction toast on all users
Bug:
21642285
Change-Id: I18ed4036543e1f13cd3010b9e1d790b16aa8e7a0
Rubin Xu [Mon, 13 Jul 2015 13:55:51 +0000 (13:55 +0000)]
Merge "Remove ExternalStorageFormatter" into mnc-dev
Esteban Talavera [Mon, 13 Jul 2015 09:48:45 +0000 (09:48 +0000)]
Merge "Use correct user when filtering app link candidates" into mnc-dev
Esteban Talavera [Mon, 13 Jul 2015 09:48:18 +0000 (09:48 +0000)]
Merge "Don't send app links to parent profile if status == never" into mnc-dev
Billy Lau [Sun, 12 Jul 2015 22:02:34 +0000 (22:02 +0000)]
Merge "Bug:
21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission" into mnc-dev
Billy Lau [Tue, 7 Jul 2015 23:31:01 +0000 (00:31 +0100)]
Bug:
21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission
Raised the protection level of WRITE_SETTINGS permission to appop and also
allowed backwards compatibility with pre23 flag. Also made sure that this
permission is not added as RuntimePermission in DefaultPermissionGrantPolicy as
that breaks a lot of gmscore stuff.
Introduced new action to manage write system settings as a new API and
renamed the string that describes the managing of overlay permission.
Change-Id: Ifd25a6ddc06de68ee37015cb9fb23452e4ef10f4
Zhijun He [Sun, 12 Jul 2015 03:02:30 +0000 (20:02 -0700)]
Camera metadata: fix typos.
Bug:
22417740
Change-Id: I871b990da43132f4967faf7ee23a9a2d962c4320
Geoff Mendal [Sat, 11 Jul 2015 19:01:43 +0000 (19:01 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Sat, 11 Jul 2015 17:35:45 +0000 (10:35 -0700)]
Import translations. DO NOT MERGE
Change-Id: I59264674ef40a0f68a80c0ca9973e3aba2c06db1
Auto-generated-cl: translation import
Geoff Mendal [Sat, 11 Jul 2015 13:47:43 +0000 (06:47 -0700)]
Import translations. DO NOT MERGE
Change-Id: I69aef7f3e9d819732675c4103553a6afe4b062b3
Auto-generated-cl: translation import
Raph Levien [Sat, 11 Jul 2015 06:09:09 +0000 (06:09 +0000)]
Merge "Improve Html.toHtml() documentation" into mnc-dev
Amith Yamasani [Sat, 11 Jul 2015 02:27:59 +0000 (02:27 +0000)]
Merge "Fix new user creation regression due to vold remount calls" into mnc-dev
Amith Yamasani [Sat, 11 Jul 2015 02:27:31 +0000 (02:27 +0000)]
Merge "Avoid IPC call with an empty array" into mnc-dev
Sanket Padawe [Sat, 11 Jul 2015 01:46:31 +0000 (01:46 +0000)]
Merge "Changes security for Passpoint to EAP security from "Passpoint"." into mnc-dev
Adrian Roos [Sat, 11 Jul 2015 00:57:17 +0000 (00:57 +0000)]
Merge "Fix flash of uninitialized surface" into mnc-dev
Raph Levien [Sat, 11 Jul 2015 00:11:39 +0000 (17:11 -0700)]
Improve Html.toHtml() documentation
The existing documentation is very terse and users were getting
confused whether the method escapes HTML metacharacters or not. Expand
the description a bit and explicitly state that metacharacters are
escaped.
Bug:
17456925
Change-Id: Icaae7fe1344629de5c0860674f3913781de18013
Carlos Valdivia [Sat, 11 Jul 2015 00:40:07 +0000 (00:40 +0000)]
Merge "Revert "Revert "Security: AccountChooser shouldn't auto reveal accounts.""" into mnc-dev
Mady Mellor [Sat, 11 Jul 2015 00:30:32 +0000 (00:30 +0000)]
Merge "Fix: line slop shouldn't always increase / decrease by one line" into mnc-dev
Mady Mellor [Sat, 11 Jul 2015 00:26:33 +0000 (00:26 +0000)]
Merge "Fix line slop issue at end of line for Thai & CJK" into mnc-dev
Mady Mellor [Fri, 10 Jul 2015 23:43:32 +0000 (16:43 -0700)]
Fix line slop issue at end of line for Thai & CJK
Previously touch slop for line movement was based on the line position
of the HandleView, not the previous line touched.
Thai and CJK languages don't have a space at the end of a line so
the handle jumps to the beginning of the next line. This meant that
when calculating the touch slop it'd be from the incorrect line.
This CL tracks the previous line touched and uses that instead to
calculate touch slop and applies it to the selection and insertion
handles.
Note this is *not* added to the drag accelerator because
it does not have the problem of the handle jumping to the next line
since it has no handles.
Bug:
21925162
Change-Id: If4b231725c06489ec780a5b5a308ceffee804c20
Wale Ogunwale [Fri, 10 Jul 2015 22:53:11 +0000 (22:53 +0000)]
Merge "Revert "Finish already paused activity if it should be finished after pausing"" into mnc-dev
Adrian Roos [Fri, 10 Jul 2015 22:49:03 +0000 (15:49 -0700)]
Fix flash of uninitialized surface
Fixes a bug where during the animation of
the backdrop uninitialized memory was showing
because the backdrop's alpha was zero, so RenderNode
didn't issue any drawing commands.
Bug:
21472158
Change-Id: I7ad6bb64e739059febffca10463c8097693a9563
John Reck [Fri, 10 Jul 2015 22:46:17 +0000 (22:46 +0000)]
Merge "JNI optimization tweaks to Paint high-frequency methods" into mnc-dev
Chris Craik [Fri, 10 Jul 2015 22:44:27 +0000 (22:44 +0000)]
Merge "Reduce cost of span type checking" into mnc-dev
Wale Ogunwale [Fri, 10 Jul 2015 22:25:38 +0000 (15:25 -0700)]
Revert "Finish already paused activity if it should be finished after pausing"
This reverts commit
bef8a3e39372ca85104b894f7359deddc97a8fec.
Changed caused some existing apps to crash. Reverting to unblock the
build while I investigate.
Bug:
22170595
Bug:
22397812
Carlos Valdivia [Fri, 10 Jul 2015 20:04:43 +0000 (13:04 -0700)]
Revert "Revert "Security: AccountChooser shouldn't auto reveal accounts.""
Fixes api stuff.
This reverts commit
f2d248db8078e716b809e0a17cacdea5c5609bd5.
Change-Id: I75c05a17ebde4f245e1f3e0cc22e622d06534c4b
Chris Wren [Fri, 10 Jul 2015 21:33:39 +0000 (17:33 -0400)]
add new enums to MetricsConstans
Bug:
21114836
Change-Id: Id62701be012c10bc11ee1ff8aa8435e178d35684
Robin Lee [Tue, 7 Jul 2015 02:20:59 +0000 (19:20 -0700)]
Check legacy VPN is connected before alerting
Legacy VPN does nothing if the device has no underlying network
connection, so showing this warning in that case is confusing.
Conversely third-party VPN can still be dangerous since a malicious
app will store sensitive information and upload it later.
Bug:
21499103
Change-Id: I25a0d4e1e5b10198cb067f06645f0e5ecf81bf56
Jorim Jaggi [Fri, 10 Jul 2015 21:16:24 +0000 (21:16 +0000)]
Merge "Fix empty keyguard for once and all" into mnc-dev
Jinsuk Kim [Fri, 10 Jul 2015 21:09:07 +0000 (21:09 +0000)]
Merge "CEC: Do not switch language if the new one is same as the old one" into mnc-dev
Jorim Jaggi [Thu, 9 Jul 2015 23:08:02 +0000 (16:08 -0700)]
Fix empty keyguard for once and all
When a Keyguard exit animation was played while the screen was
turning off, the window animation was cancelled. However, since
we didn't reset mPostKeyguardExitAnimation, we thought we need to
apply it again, with a start time of Long.MIN_VALUE. For some reason,
this animation never ended, and it was stuck at the beginning. Thus,
the alpha was 0 and the user just saw a blank wallpaper.
In addition, we also forbid starting the Keyguard exit animation when
the screen is about to turn off.
Bug:
21124013
Change-Id: Ief022c5bd758a9fedcaab3fe9fc385fa4234b37f
Chris Craik [Fri, 10 Jul 2015 20:12:34 +0000 (13:12 -0700)]
Reduce cost of span type checking
bug:
22378829
Change-Id: I1da5154b2fb4f5032eaed44586d5470d28ceb45b
David Friedman [Fri, 10 Jul 2015 20:11:46 +0000 (20:11 +0000)]
am
1c231da0: am
48143e6a: Docs: Fixes to Preview "Program Overview" page; rewording on "Support" page
* commit '
1c231da06c9e9f82c52d36211a865703a5d0cd62':
Docs: Fixes to Preview "Program Overview" page; rewording on "Support" page
David Friedman [Fri, 10 Jul 2015 19:55:22 +0000 (19:55 +0000)]
am
48143e6a: Docs: Fixes to Preview "Program Overview" page; rewording on "Support" page
* commit '
48143e6ab960860a87171563d8a7535b41762ffa':
Docs: Fixes to Preview "Program Overview" page; rewording on "Support" page
David Friedman [Fri, 10 Jul 2015 18:41:02 +0000 (11:41 -0700)]
Docs: Fixes to Preview "Program Overview" page; rewording on "Support" page
Fixes broken anchors in yellow banner on English version. Adds the banner
to non-English version pages. Adjusted wording for a Known Issue on the
"Support and Release Notes" page.
Change-Id: Ia1db8db34cec854bcc4ad7daa1ad44fa23fc878e
Robin Lee [Fri, 10 Jul 2015 19:05:36 +0000 (19:05 +0000)]
Merge "Legacy VPN calls to require a userID" into mnc-dev
Raph Levien [Fri, 10 Jul 2015 18:37:43 +0000 (18:37 +0000)]
Merge "Fix StaticLayout crash when maxLines = 0" into mnc-dev
Robert Greenwalt [Fri, 10 Jul 2015 18:23:12 +0000 (18:23 +0000)]
Merge "Enable EMERGENCY mobile connections." into mnc-dev
Robert Greenwalt [Fri, 10 Jul 2015 18:21:45 +0000 (18:21 +0000)]
Merge "Fix permissions." into mnc-dev
John Reck [Fri, 10 Jul 2015 17:55:49 +0000 (10:55 -0700)]
JNI optimization tweaks to Paint high-frequency methods
Bug:
22378829
Use fast-jni for getFontMetrics, drops from 35us -> 30us
Note the "heavy" part of the method, getMetricsInternal, is
already called by other fast-jni methods.
Use critical array access for getRunAdvance_* methods. This
will avoid the copy and the access is appropriately scoped
and fast enough to not significantly block the moving GC.
Improves from 88us -> 79us on short text
Change-Id: I7c1481c23f6dba3420fbcf48220f6335cf9f6d10
Chris Banes [Fri, 10 Jul 2015 17:54:40 +0000 (17:54 +0000)]
am
98b1f102: am
c2b0d1d4: Merge "Support Library v22.2.0 API diff" into mnc-preview-docs
* commit '
98b1f1025c606f955ab9afc3872a435a770e3813':
Support Library v22.2.0 API diff
Sanket Padawe [Fri, 10 Jul 2015 17:53:31 +0000 (10:53 -0700)]
Changes security for Passpoint to EAP security from "Passpoint".
Bug:
22402754
Change-Id: I3afbb6f3f446657a3e9505122032f4edc6401302
John Reck [Fri, 10 Jul 2015 17:50:27 +0000 (17:50 +0000)]
Merge "Improve ImageView drawable re-use" into mnc-dev
John Reck [Fri, 10 Jul 2015 17:50:10 +0000 (17:50 +0000)]
Merge "Create a thread_local cache for textLocale" into mnc-dev
David Friedman [Fri, 10 Jul 2015 17:43:32 +0000 (17:43 +0000)]
am
3f831568: am
6fb22b4e: Docs: Revisions to top DAC landing page and several Preview-page revisions.
* commit '
3f83156867fba70db9f2a03f2f0192d8f3b4688e':
Docs: Revisions to top DAC landing page and several Preview-page revisions.
Chris Banes [Fri, 10 Jul 2015 17:39:34 +0000 (17:39 +0000)]
am
c2b0d1d4: Merge "Support Library v22.2.0 API diff" into mnc-preview-docs
* commit '
c2b0d1d42cf6ba2e77fdf31982b3436eeb95b89c':
Support Library v22.2.0 API diff
John Reck [Fri, 10 Jul 2015 16:56:34 +0000 (09:56 -0700)]
Create a thread_local cache for textLocale
Bug:
22378829
toLanguageTag is significantly more expensive than previously
thought (note ULOC_FULLNAME_CAPACITY is 157) and weighs
in at around 40us. Given that this is called on every Paint
and that there are typically thousands of Paint objects
created this adds up very quickly.
Given that the locale is almost always Locale.getDefault(),
a very simple thread_local cache of size 1 fixes this trivially
Change-Id: I819e60cac7a4b27e9dd5538332c22ce5bbd0851c
John Reck [Fri, 10 Jul 2015 17:02:58 +0000 (10:02 -0700)]
Improve ImageView drawable re-use
Bug
22403868
Initial attempt only helped if setImageBitmap() was the only
thing called but during new-loading content it's common for a
placeholder to be set via setImageDrawable.
Tweak ImageView slightly to just have a BitmapDrawable that it
lazy-creates but will hold on to for any subsequent calls
to setImageBitmap
Change-Id: I7380521c7b363d458e4cda041f1f8b2b1fb3a93a
Roshan Pius [Fri, 10 Jul 2015 16:54:42 +0000 (16:54 +0000)]
Merge "Correct the comparison done in removeAdapter." into mnc-dev
Robert Greenwalt [Fri, 10 Jul 2015 16:08:13 +0000 (09:08 -0700)]
Fix permissions.
Legacy API should not need new permissions.
Also found some more hidden/system that should have permissions.
bug:
22379438
bug:
19257083
Change-Id: I24be0a90dffcffe03d25982a9b02eedcf03fbd59
Paul Jensen [Fri, 10 Jul 2015 16:19:38 +0000 (12:19 -0400)]
Fix build break.
Automatic merge commit caused breakage due to someone else's
intervening change adding a call site of a function whose last
parameter I removed. Function in question is
ConnectivityService.rematchAllNetworksAndRequests.
Changes that merged badly are
85cf78e and
8d48252.
Change-Id: I8fd32e1a187236a65c1b7c0ecdf17b817d108fd0
Paul Jensen [Fri, 10 Jul 2015 15:51:35 +0000 (15:51 +0000)]
Merge "Fallback to Cellular if WiFi fails to validate" into mnc-dev
Paul Jensen [Fri, 10 Jul 2015 15:51:21 +0000 (15:51 +0000)]
Merge "Prepare some ConnectivityService logic for fallback to Cellular change" into mnc-dev
Paul Jensen [Fri, 10 Jul 2015 14:57:09 +0000 (14:57 +0000)]
Merge "Add android.net.CaptivePortal class for captive-portal-handling-app callbacks" into mnc-dev
Esteban Talavera [Fri, 10 Jul 2015 13:59:49 +0000 (14:59 +0100)]
Use correct user when filtering app link candidates
Bug:
22288835
Change-Id: I29b3ac04e66b5e93f5cf29fd618b98d1c8106f58
Tom Hudson [Fri, 10 Jul 2015 12:35:10 +0000 (12:35 +0000)]
Merge "New setLocalMatrix() operation for HWUI" into mnc-dev
Chris Banes [Fri, 10 Jul 2015 07:29:16 +0000 (07:29 +0000)]
Merge "Support Library v22.2.0 API diff" into mnc-preview-docs
Bart Sears [Fri, 10 Jul 2015 04:06:27 +0000 (21:06 -0700)]
Fix the build.
Correct a typo.
Change-Id: I16131cf7c0ce17fa09dedc67264e8199482cd27e
Jinsuk Kim [Fri, 10 Jul 2015 04:01:06 +0000 (13:01 +0900)]
CEC: Do not switch language if the new one is same as the old one
Do not switch language if the new language is the same as
the current one. This helps avoid accidental country variant
switching such as from en_US to en_AU due to the limitation of CEC.
Bug:
22373619
Change-Id: Ia98aff67e37b470b3f550a5c097e8140c1a51ecf
David Friedman [Fri, 10 Jul 2015 03:40:47 +0000 (03:40 +0000)]
am
6fb22b4e: Docs: Revisions to top DAC landing page and several Preview-page revisions.
* commit '
6fb22b4e42c18c91238cc687f84e4fe5f2950c52':
Docs: Revisions to top DAC landing page and several Preview-page revisions.
Svetoslav [Fri, 10 Jul 2015 03:31:53 +0000 (03:31 +0000)]
Merge "Fix build" into mnc-dev
Svetoslav [Fri, 10 Jul 2015 03:19:41 +0000 (20:19 -0700)]
Fix build
Change-Id: I1b56c07aa5b85662f25158156d2c0eff115e9544
Bart Sears [Fri, 10 Jul 2015 03:15:48 +0000 (03:15 +0000)]
Merge "Revert "Security: AccountChooser shouldn't auto reveal accounts."" into mnc-dev
Eino-Ville Talvala [Fri, 10 Jul 2015 03:14:29 +0000 (03:14 +0000)]
Merge "Camera2: Reorganize high-speed recording API slightly" into mnc-dev
Baligh Uddin [Fri, 10 Jul 2015 03:01:47 +0000 (03:01 +0000)]
Revert "Security: AccountChooser shouldn't auto reveal accounts."
This reverts commit
c3b3f46d5fcbd89deeb557556e5a695c3e5349a1.
Change-Id: I6d156e1ad82c052606f76644fe6085f14e82a734
David Friedman [Thu, 9 Jul 2015 23:00:38 +0000 (16:00 -0700)]
Docs: Revisions to top DAC landing page and several Preview-page revisions.
Top landing page now has a link direct to Preview 2.
The "Program Overview" now explicitly mentions that Preview 2 is available,
and is updated so that it no longer refers to Previews 1 and 2 in the future
tense. "Support" page is renamed to "Support and Release Notes."
TOC revised to reflect new page name. Direct links to Preview 2 are added
to the respective languages' Preview landing pages.
Change-Id: Ic463b123b25224b7064b4771faa79bdfe63e9ff5
David Friedman [Fri, 10 Jul 2015 01:31:06 +0000 (01:31 +0000)]
am
a70109e4: am
019a0943: Docs: Fixes a typo.
* commit '
a70109e4cc21a58649716e8b4fcf2a7c63274f04':
Docs: Fixes a typo.
Dirk Dougherty [Fri, 10 Jul 2015 01:30:49 +0000 (01:30 +0000)]
am
8d56096b: am
f739ad7f: Fix typos in preview support.
* commit '
8d56096b59dbbcfd18ab137309fe203cca0033d8':
Fix typos in preview support.
Carlos Valdivia [Fri, 10 Jul 2015 01:25:27 +0000 (01:25 +0000)]
Merge "Security: AccountChooser shouldn't auto reveal accounts." into mnc-dev
Adrian Roos [Fri, 10 Jul 2015 01:24:47 +0000 (01:24 +0000)]
Merge "Fix premature clearing of clearable sysui flags" into mnc-dev
Dianne Hackborn [Fri, 10 Jul 2015 01:19:48 +0000 (01:19 +0000)]
Merge "Improve alarm manager docs." into mnc-dev
Carlos Valdivia [Tue, 7 Jul 2015 22:37:54 +0000 (15:37 -0700)]
Security: AccountChooser shouldn't auto reveal accounts.
Bug:
9739125
Change-Id: Ib9032271def423aaafdab2505afaf6b1d3fcad06
Dianne Hackborn [Fri, 10 Jul 2015 01:17:54 +0000 (18:17 -0700)]
Improve alarm manager docs.
Change-Id: I7547b48327a709783d908509efc7afd1a3f1a06a
John Reck [Fri, 10 Jul 2015 01:02:38 +0000 (01:02 +0000)]
Merge "Deep-copying sucks when all you want is a borrow" into mnc-dev
Eino-Ville Talvala [Tue, 30 Jun 2015 17:34:48 +0000 (10:34 -0700)]
Camera2: Reorganize high-speed recording API slightly
- Split off distinct high speed capture session class from base capture session
- Move createHighSpeedRequestList to CameraConstrainedHighSpeedCaptureSession
Bug:
21664295
Change-Id: I67d705fdeee1eaa6e5e3e1416771d5d0df642843
John Reck [Fri, 10 Jul 2015 00:45:39 +0000 (17:45 -0700)]
Deep-copying sucks when all you want is a borrow
Bug:
22378829
std::string only knows how to move & deep-copy, and we really
don't want either here since the Paint object for certain outlives
the stack scope so use a const reference instead.
Change-Id: I1c822c6ba9647953899cfe89dcc670d7265e3973
John Reck [Fri, 10 Jul 2015 00:37:34 +0000 (17:37 -0700)]
Teach ImageView to recycle internal drawables
Bug:
22289362
It's pretty common for ImageView#setBitmap to be called
repeatedly. Avoid re-creating the BitmapDrawable in this scenario
as that has high object churn of semi-expensive objects like
Paint.
Change-Id: Ib77719cd0366d02c1a42f774850bf3b9caa9c288
Svet Ganov [Fri, 10 Jul 2015 00:32:11 +0000 (00:32 +0000)]
Merge "Add an API for apps to query if a permisison is denied by policy." into mnc-dev
John Reck [Fri, 10 Jul 2015 00:30:58 +0000 (00:30 +0000)]
Merge "Delete dead code" into mnc-dev
Adrian Roos [Fri, 10 Jul 2015 00:01:19 +0000 (00:01 +0000)]
Merge "Fix black keyguard / missing status bar" into mnc-dev
Adrian Roos [Thu, 9 Jul 2015 23:22:24 +0000 (16:22 -0700)]
Fix premature clearing of clearable sysui flags
Fixes a bug where all clearable flags would be cleared even if
only a subset actually changes; new behavior is clearing only
the flags that actually got cleared.
Bug:
22331526
Change-Id: Icbb12121c977e48457692c054571521c6f6eb730
Todd Kennedy [Thu, 9 Jul 2015 23:17:38 +0000 (23:17 +0000)]
Merge "Allow codepath changes for new OTA packages" into mnc-dev
Adrian Roos [Thu, 9 Jul 2015 21:54:08 +0000 (14:54 -0700)]
Fix black keyguard / missing status bar
The status bar window was stuck in the READY_TO_SHOW state
because it was not policy visible, whereas the policy
was waiting for the window to become HAS_DRAWN.
Now BarController also updates states if the window
is READY_TO_SHOW, which in turn allows the window to
become visible and HAS_DRAWN.
Bug:
22072099
Change-Id: I1836c276723ee2205d7d5759be079f02aaa23e2e
Mady Mellor [Thu, 9 Jul 2015 23:05:36 +0000 (16:05 -0700)]
Fix: line slop shouldn't always increase / decrease by one line
Touch slop is from the bottom (or top) of the line + line height / 2.
It only makes sense to apply touch slop if the user is within a line
from the previous line. Additionally, not doing this can cause some
undesirable behavior if the user moves very quickly and the selection
catches up with a weird line by line selection increase, potentially
even having the selection be stalled until a next move event.
This CL alters the logic so that if the user isn't within one line
of the previous selection, it'll just use whatever line the user is
currently on.
Bug:
22385003
Change-Id: I4f37988893868e5e2b7925314fe824c3da9c1b97
Raph Levien [Thu, 9 Jul 2015 22:38:04 +0000 (15:38 -0700)]
Fix StaticLayout crash when maxLines = 0
An app setting maxLines = 0 is an edge case, but it can happen. We
had some logic that would index an array at -1 in that case. This
patch just skips the fixup of the ellipsis line break in that case.
Bug:
22353342
Change-Id: I940cf0782b319010f5aedf75b9291df4ac2976d8
Robert Greenwalt [Thu, 9 Jul 2015 21:49:35 +0000 (14:49 -0700)]
Enable EMERGENCY mobile connections.
Hooks the ConnectivityManager.TYPE_MOBILE_EMERGENCY,
PhoneConstants.APN_TYPE_EMERGENCY, and NetworkCapabilities.NET_CAPABILITY_EIMS
together so carrier apps can request connections to this APN.
bug:
21785357
Change-Id: Id92a5e28d19407cc7a8f8b5478b23457f2f7f89d
Dianne Hackborn [Thu, 9 Jul 2015 21:48:36 +0000 (21:48 +0000)]
Merge "Fix issue #
22328792: Fix scalability issues in AssistStructure" into mnc-dev
Fyodor Kupolov [Fri, 19 Jun 2015 22:35:11 +0000 (15:35 -0700)]
Do not return devices when caller has no location permission
During startLeScan, do not return devices if calling process has no location
permission/appop
Bug:
21852542
Change-Id: Idce8f4704558574e373e8144390f2a2fa1a7e84a
John Reck [Thu, 9 Jul 2015 21:19:01 +0000 (14:19 -0700)]
Delete dead code
Bug:
22378829
Every time setText is called a BoringLayout is created.
BoringLayout internally creates a new Paint called mWorkPaint.
However, creating a Paint turns out to be somewhat substantial
amount of work, and mWorkPaint is never actually used. Deleting
this shaves off roughly 50ms and 1,000 object creations during
a fling on a listview.
Change-Id: I5d03402b9027df6ce0f3e58160752c66c69a4d2d
Amith Yamasani [Thu, 9 Jul 2015 21:16:27 +0000 (14:16 -0700)]
Fix new user creation regression due to vold remount calls
When creating a new user, there's no need to call into vold when
setting up default system permissions for storage. This was otherwise
adding 2 seconds to the user creation time, causing a frozen screen
before showing "Switching to user ...".
Fix is to call the permission setup code synchronously and not
call into vold if the user hasn't been initialized yet.
Bug:
22356546
Change-Id: I4c8632813e8c0f2ac90da386691af439521bb25a
Dianne Hackborn [Thu, 9 Jul 2015 00:36:37 +0000 (17:36 -0700)]
Fix issue #
22328792: Fix scalability issues in AssistStructure
We can now stream the AssistStructure across processes, avoiding
IPC size limitations for large structures. There is also a new
API that gets called on the VoiceInteractionSession if there is
a failure retrieving the assist data.
Also fix issue #
22351981: Runtime restart due to ANR in system server,
getting rid of a deadlock.
And also tweak object lifecycles to try to avoid keeping around
in an app the previous AssistStructure after we request a new one.
Change-Id: Ifb136a0d31a14e56a8db6b90768d9fc65557a17f
Christopher Tate [Thu, 9 Jul 2015 21:04:30 +0000 (21:04 +0000)]
Merge "Remote extraneous debugging log message" into mnc-dev
David Friedman [Thu, 9 Jul 2015 21:03:49 +0000 (21:03 +0000)]
am
019a0943: Docs: Fixes a typo.
* commit '
019a0943c332040bd6bde9d5afc109d1bd4c4195':
Docs: Fixes a typo.
Rubin Xu [Thu, 9 Jul 2015 20:39:01 +0000 (21:39 +0100)]
Remove ExternalStorageFormatter
Bug:
9433509
Change-Id: I815770e0e0314fc7012ebc213f2167a13d6f37d1
Jeff Brown [Thu, 9 Jul 2015 20:36:26 +0000 (13:36 -0700)]
Fix a bad merge.
Change-Id: Ib722459a25c189bb800eb85d48b80bdc91a2b7db
David Friedman [Thu, 9 Jul 2015 20:33:22 +0000 (13:33 -0700)]
Docs: Fixes a typo.
Change-Id: If8dfaab493c2cff4e247e5018d764e81ad2cf46a