197461 Commits

Author SHA1 Message Date
Amith Yamasani
2d42d5f41e Check user state after clearing identity.
This is to fix the case where the caller has GRANT_REVOKE_PERMISSIONS
but does not have MANAGE_USERS permission.

Related to a recent fix for
Bug: 22356546

Change-Id: Id51157abad14a0bdba3a16d7cd168f61ba25e890
2015-07-11 10:24:45 -07:00
Geoff Mendal
388d1cc875 Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-07-11 17:07:21 +00:00
Geoff Mendal
2154298fd1 Import translations. DO NOT MERGE
Change-Id: If92ad99cfc2fab1a96e9bd99d7bbac850cba9bf5
Auto-generated-cl: translation import
2015-07-11 12:06:50 -05:00
Geoff Mendal
efa098a763 Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-07-11 16:57:22 +00:00
Geoff Mendal
5486bbcb9a Import translations. DO NOT MERGE
Change-Id: I787a0e53f646c1b015882b689785f24b641e4eba
Auto-generated-cl: translation import
2015-07-11 11:54:16 -05:00
Geoff Mendal
bc69f1c952 Import translations. DO NOT MERGE
Change-Id: I7201c2b8f3e2e5319ed1ca4fd25f6d8987547913
Auto-generated-cl: translation import
2015-07-11 11:51:36 -05:00
Geoff Mendal
d64ba82e89 Import translations. DO NOT MERGE
Change-Id: I69aef7f3e9d819732675c4103553a6afe4b062b3
Auto-generated-cl: translation import
2015-07-11 06:47:43 -07:00
Raph Levien
1b3d03512e Merge "Improve Html.toHtml() documentation" into mnc-dev 2015-07-11 06:09:12 +00:00
David Friedman
5c3bf5847c am e0f0fabb: am ccb8a9af: am b510225e: Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs
* commit 'e0f0fabbb1a416d71677fe7d9692530023cd53ec':
  docs: replacing command line tool instructions with Studio and Monitor steps
2015-07-11 03:19:07 +00:00
David Friedman
e0f0fabbb1 am ccb8a9af: am b510225e: Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs
* commit 'ccb8a9af1cf4c392b05ec7654d2a7213c8ef4019':
  docs: replacing command line tool instructions with Studio and Monitor steps
2015-07-11 03:06:00 +00:00
David Friedman
ccb8a9af1c am b510225e: Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs
* commit 'b510225e44742d488beb7dcf0248c9ba9b4010c9':
  docs: replacing command line tool instructions with Studio and Monitor steps
2015-07-11 02:53:54 +00:00
Jim Miller
9da440786d Change MANAGE_FINGERPRINT permission to system|signature
This allows fingerprint enrollment to be done from
system-installed apps, such as Setup Wizard.

Fixes bug 21695577

Change-Id: I990912dcf229aa03f6350f96a09ff4588b20ca48
2015-07-10 19:48:53 -07:00
David Friedman
b510225e44 Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs 2015-07-11 02:41:13 +00:00
Amith Yamasani
292eb65f1e Merge "Fix new user creation regression due to vold remount calls" into mnc-dev 2015-07-11 02:28:01 +00:00
Amith Yamasani
5449ee0786 Merge "Avoid IPC call with an empty array" into mnc-dev 2015-07-11 02:27:33 +00:00
Sanket Padawe
233bd3ceff Merge "Changes security for Passpoint to EAP security from "Passpoint"." into mnc-dev 2015-07-11 01:46:33 +00:00
Svet Ganov
824d453246 Check signatures of privileged persistent apps for granting defailt permissions
bug:22391058

Change-Id: I56d060f0435fadf87a8cf255ea887dd5b3903821
2015-07-10 18:28:52 -07:00
Adrian Roos
d374c20fc9 Merge "Fix flash of uninitialized surface" into mnc-dev 2015-07-11 00:57:20 +00:00
Raph Levien
c55277d689 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
2015-07-10 17:44:18 -07:00
Carlos Valdivia
97cf0f1d76 Merge "Revert "Revert "Security: AccountChooser shouldn't auto reveal accounts.""" into mnc-dev 2015-07-11 00:40:09 +00:00
Mady Mellor
1c277ca8cd Merge "Fix: line slop shouldn't always increase / decrease by one line" into mnc-dev 2015-07-11 00:30:33 +00:00
Mady Mellor
a9f07ccf38 Merge "Fix line slop issue at end of line for Thai & CJK" into mnc-dev 2015-07-11 00:26:35 +00:00
Amit Mahajan
1cfd45701b Do not check runtime READ_PHONE_STATE if caller has the privileged one.
Also removed READ_PHONE_STATE from SystemUI since it has
READ_PRIVILEGED_PHONE_STATE.

Bug: 22376654
Change-Id: I437f9bf324950cb70bae5be76699824da5897a6f
2015-07-10 17:15:59 -07:00
Mady Mellor
a6a0f7829f 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
2015-07-10 16:43:32 -07:00
Eric Gilmore
f13e914d23 am 8cce3984: Merge "Adding a link to what is currently our most popular "100 Days" video." into mnc-preview-docs
* commit '8cce398480f4450fa0a1b1e9422112731eddc161':
  Adding a link to what is currently our most popular "100 Days" video.
2015-07-10 23:31:32 +00:00
Robert Greenwalt
3ac71b7f87 Fix filter on CONNECTIVITY_ACTION updates
Only send for network types which the network supports.

bug:22411968
Change-Id: I97765544eb653caf0ea4fc5d3feec5742d5d88dc
2015-07-10 16:26:40 -07:00
Eric Gilmore
8cce398480 Merge "Adding a link to what is currently our most popular "100 Days" video." into mnc-preview-docs 2015-07-10 23:19:43 +00:00
Wale Ogunwale
26b0f1e420 Merge "Revert "Finish already paused activity if it should be finished after pausing"" into mnc-dev 2015-07-10 22:53:14 +00:00
Adrian Roos
18a0b9e041 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
2015-07-10 15:50:24 -07:00
John Reck
8657d9e8a5 Merge "JNI optimization tweaks to Paint high-frequency methods" into mnc-dev 2015-07-10 22:46:18 +00:00
Chris Craik
9f00492008 Merge "Reduce cost of span type checking" into mnc-dev 2015-07-10 22:44:28 +00:00
Wale Ogunwale
12bb956828 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
2015-07-10 15:25:38 -07:00
Carlos Valdivia
a3db8acf3d Revert "Revert "Security: AccountChooser shouldn't auto reveal accounts.""
Fixes api stuff.

This reverts commit f2d248db8078e716b809e0a17cacdea5c5609bd5.

Change-Id: I75c05a17ebde4f245e1f3e0cc22e622d06534c4b
2015-07-10 14:47:07 -07:00
Chris Wren
05aa88a937 add new enums to MetricsConstans
Bug: 21114836
Change-Id: Id62701be012c10bc11ee1ff8aa8435e178d35684
2015-07-10 17:33:39 -04:00
Robin Lee
6795a2aeaf 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
2015-07-10 21:22:46 +00:00
Jorim Jaggi
0c758805b3 Merge "Fix empty keyguard for once and all" into mnc-dev 2015-07-10 21:16:26 +00:00
Jinsuk Kim
256642aa2f Merge "CEC: Do not switch language if the new one is same as the old one" into mnc-dev 2015-07-10 21:09:14 +00:00
Jorim Jaggi
4474f54f4e 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
2015-07-10 21:06:44 +00:00
David Friedman
888436f5ee am c1541571: am 1c231da0: am 48143e6a: Docs: Fixes to Preview "Program Overview" page; rewording on "Support" page
* commit 'c1541571ff501ba7f58ab9f066828e6620aaa90c':
  Docs: Fixes to Preview "Program Overview" page; rewording on "Support" page
2015-07-10 20:28:22 +00:00
Chris Craik
fc121c2430 Reduce cost of span type checking
bug:22378829

Change-Id: I1da5154b2fb4f5032eaed44586d5470d28ceb45b
2015-07-10 13:12:35 -07:00
David Friedman
c1541571ff 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
2015-07-10 20:11:46 +00:00
David Friedman
1c231da06c 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
2015-07-10 19:55:22 +00:00
Eric Gilmore
08983186de Adding a link to what is currently our most popular "100 Days" video.
Change-Id: Iae8beba1a7530262424d305d0a609b541503b236
2015-07-10 12:42:38 -07:00
David Friedman
48143e6ab9 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
2015-07-10 12:39:41 -07:00
Robin Lee
2164cf4f40 am f180fe31: Merge "Legacy VPN calls to require a userID" into mnc-dev
* commit 'f180fe31de4cc428c298a2faed394c417ade5483':
  Legacy VPN calls to require a userID
2015-07-10 19:21:44 +00:00
Robin Lee
f180fe31de Merge "Legacy VPN calls to require a userID" into mnc-dev 2015-07-10 19:05:38 +00:00
Dan Sandler
a17703138b Allow notification strings to be unredacted in dump output.
This won't happen automatically and unredacted strings will
still not appear in bugreports, but if you are attached via
adb you can now do `dumpsys notification --unredact` to get
the contents of String/CharSequence fields and extras
emitted along with the rest of the dump.

The arg handling is also improved so that multiple filters
can be specified at once, e.g. --package (was "p") to
restrict to a single package, and --stats to get JSON
output.

Bug: 20451514
Change-Id: I37fc5ce86c7e28e8f8286917f6764d64bc081108
2015-07-10 14:56:29 -04:00
Raph Levien
9320bb082f am 5d1654a9: Merge "Fix StaticLayout crash when maxLines = 0" into mnc-dev
* commit '5d1654a9439f0ed81ecccecfacda34872270dfcb':
  Fix StaticLayout crash when maxLines = 0
2015-07-10 18:48:36 +00:00
Robert Greenwalt
66f59dc1bd am 1570b6b3: Merge "Enable EMERGENCY mobile connections." into mnc-dev
* commit '1570b6b3c7d1d41a52555312d161d0afe4b81df3':
  Enable EMERGENCY mobile connections.
2015-07-10 18:38:22 +00:00
Robert Greenwalt
d30a3d6693 am 1ebcb6f8: Merge "Fix permissions." into mnc-dev
* commit '1ebcb6f8b2f989c84311555f4961506dba959d37':
  Fix permissions.
2015-07-10 18:38:15 +00:00