OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Don't make lockdown VPN source firewall rules over-broad." into lmp-dev
Lorenzo Colitti [Thu, 16 Oct 2014 08:45:02 +0000 (08:45 +0000)]
Merge "Don't make lockdown VPN source firewall rules over-broad." into lmp-dev

9 years agoMerge "Propagate network state changes to the LockdownVpnTracker." into lmp-dev
Lorenzo Colitti [Thu, 16 Oct 2014 08:37:26 +0000 (08:37 +0000)]
Merge "Propagate network state changes to the LockdownVpnTracker." into lmp-dev

9 years agoMerge "Fix spurious restore session timeouts" into lmp-dev
Christopher Tate [Thu, 16 Oct 2014 03:28:58 +0000 (03:28 +0000)]
Merge "Fix spurious restore session timeouts" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Geoff Mendal [Thu, 16 Oct 2014 01:35:17 +0000 (01:35 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Thu, 16 Oct 2014 01:34:07 +0000 (18:34 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ifa43307e6081aa5fae63beb7756b583edf936c72
Auto-generated-cl: translation import

9 years agoFix spurious restore session timeouts
Christopher Tate [Thu, 16 Oct 2014 00:49:42 +0000 (17:49 -0700)]
Fix spurious restore session timeouts

The restore-session idle timeout should not be ticking while we're
doing legitimate restore work.  We now explicitly stop the timeout
ticker [a delayed message on our handler thread] whenever we undertake
a valid restore operation.  The timer is already correctly resumed
when restore operations conclude.

(In practice we need to suspend the timeout tracking at exactly those
times when we're entering the wakelock-protected restore flow.  The
timeout is reestablished when the wakelock is released; this part
is already in the code.)

Bug 17990544

Change-Id: I7318020ce30fd9c35bc3a644f8c101fd3d063c8b

9 years agoMerge "Set threads' contextClassLoader during LoadedApk.makeApplication." into lmp-dev
Brian Carlstrom [Thu, 16 Oct 2014 01:01:25 +0000 (01:01 +0000)]
Merge "Set threads' contextClassLoader during LoadedApk.makeApplication." into lmp-dev

9 years agoMerge "Also consider secondary storage when verifying paths" into lmp-dev
Marco Nelissen [Thu, 16 Oct 2014 00:38:01 +0000 (00:38 +0000)]
Merge "Also consider secondary storage when verifying paths" into lmp-dev

9 years agoMerge "Doc change: Add diffs for API level 21." into lmp-dev
Dirk Dougherty [Thu, 16 Oct 2014 00:20:01 +0000 (00:20 +0000)]
Merge "Doc change: Add diffs for API level 21." into lmp-dev

9 years agoMerge "docs: Added L API overview." into lmp-dev
Quddus Chong [Wed, 15 Oct 2014 23:26:41 +0000 (23:26 +0000)]
Merge "docs: Added L API overview." into lmp-dev

9 years agoMerge "Doc change: Add diffs for l-preview -> API level 21." into lmp-dev
Dirk Dougherty [Wed, 15 Oct 2014 22:40:17 +0000 (22:40 +0000)]
Merge "Doc change: Add diffs for l-preview -> API level 21." into lmp-dev

9 years agoAlso consider secondary storage when verifying paths
Marco Nelissen [Wed, 15 Oct 2014 21:32:22 +0000 (14:32 -0700)]
Also consider secondary storage when verifying paths

Bug: 17673184
Bug: 17982103
Change-Id: Ief14c7776b02983191c46774fa7e4c76380de58d

9 years agoDoc change: Add diffs for API level 21.
Dirk Dougherty [Sat, 11 Oct 2014 02:27:18 +0000 (19:27 -0700)]
Doc change: Add diffs for API level 21.

Change-Id: I6efad4bb407dbfc7684a5651788e116d624e778e

9 years agoDoc change: Add diffs for l-preview -> API level 21.
Dirk Dougherty [Sat, 11 Oct 2014 02:28:51 +0000 (19:28 -0700)]
Doc change: Add diffs for l-preview -> API level 21.

Change-Id: Ie60fbe9ed5891dd87fd9ca53f126c4617e09d3bd

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Geoff Mendal [Wed, 15 Oct 2014 21:52:22 +0000 (21:52 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Remove unnecessary logging." into lmp-dev
Craig Mautner [Wed, 15 Oct 2014 21:48:51 +0000 (21:48 +0000)]
Merge "Remove unnecessary logging." into lmp-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Oct 2014 21:37:19 +0000 (14:37 -0700)]
Import translations. DO NOT MERGE

Change-Id: I5fc63b0e1cf68a8b5f17b46308abebaba76ce81c
Auto-generated-cl: translation import

9 years agoMerge "Add CHANGE_NETWORK_STATE permission to bt tests" into lmp-dev
Eric Rowe [Wed, 15 Oct 2014 21:35:31 +0000 (21:35 +0000)]
Merge "Add CHANGE_NETWORK_STATE permission to bt tests" into lmp-dev

9 years agoRemove unnecessary logging.
Craig Mautner [Wed, 15 Oct 2014 21:30:02 +0000 (14:30 -0700)]
Remove unnecessary logging.

Change-Id: Ia5b5325707f2f02f2c585130938565065e974938

9 years agoMerge "Move desired task to top if not already there." into lmp-dev
Craig Mautner [Wed, 15 Oct 2014 21:13:54 +0000 (21:13 +0000)]
Merge "Move desired task to top if not already there." into lmp-dev

9 years agoMove desired task to top if not already there.
Craig Mautner [Wed, 15 Oct 2014 19:52:10 +0000 (12:52 -0700)]
Move desired task to top if not already there.

Under certain circumstances when launching a new activity, the
topmost stack activity is moved to the front even though the
activity is being created in a different task.

This checks if the topmost stack task matches the desired
task and if not, moves the desired task to the top.

Also make activity dump ordering consistent.

Fixes bug 17721767.

Change-Id: I59397f31b629a208f3863887c57d6f6fb1f6e1f3

9 years agoAdd CHANGE_NETWORK_STATE permission to bt tests
Eric Rowe [Wed, 15 Oct 2014 18:24:09 +0000 (11:24 -0700)]
Add CHANGE_NETWORK_STATE permission to bt tests

Change-Id: Ie0a579de3b7d1163a8fe245eb377f21eeed048a3

9 years agoMerge "Leave zen when apps set ringer-mode = non-silent (normal/vibrate)." into lmp-dev
John Spurlock [Wed, 15 Oct 2014 21:04:32 +0000 (21:04 +0000)]
Merge "Leave zen when apps set ringer-mode = non-silent (normal/vibrate)." into lmp-dev

9 years agoAdd WindowManager.aidl to AIDL list
Evan Charlton [Wed, 15 Oct 2014 20:23:57 +0000 (13:23 -0700)]
Add WindowManager.aidl to AIDL list

WindowManager.aidl has an inner class (WindowManager.LayoutParams)
which needs to be included, but slipped past the api/current.txt grep.

This affects the SDK only

Change-Id: I71bea4e602428ab588d17c5e57cbe08a1d6e9493

9 years agodocs: Added L API overview.
Quddus Chong [Mon, 6 Oct 2014 21:57:45 +0000 (14:57 -0700)]
docs: Added L API overview.

Change-Id: Idd042b41a99f61faa6b011c2900210ed38b017b9

9 years agoMerge "Don't call size on a null metadata" into lmp-dev
RoboErik [Wed, 15 Oct 2014 19:48:49 +0000 (19:48 +0000)]
Merge "Don't call size on a null metadata" into lmp-dev

9 years agoMerge "Externally Reported Moderate Security Issue: SQL Injection in WAPPushManager...
Tom Taylor [Wed, 15 Oct 2014 19:20:35 +0000 (19:20 +0000)]
Merge "Externally Reported Moderate Security Issue: SQL Injection in WAPPushManager" into lmp-dev

9 years agoDon't call size on a null metadata
RoboErik [Wed, 15 Oct 2014 19:17:43 +0000 (12:17 -0700)]
Don't call size on a null metadata

bug:18002951
Change-Id: I3a2d2c781e7b235efbd8518d60eee7f44bbacd75

9 years agoam 645e017c: (-s ours) Merge "DO NOT MERGE Add empty ArrayList check." into klp-modul...
Prashant Malani [Wed, 15 Oct 2014 19:12:33 +0000 (19:12 +0000)]
am 645e017c: (-s ours) Merge "DO NOT MERGE Add empty ArrayList check." into klp-modular-dev

* commit '645e017ca54e654c34b131235e90589a7d92ce0c':
  DO NOT MERGE Add empty ArrayList check.

9 years agoam dc1f3080: am 8a7ba4c6: Merge "docs: Fixing notify link. Bug: 17571861" into klp...
Ricardo Cervera [Wed, 15 Oct 2014 19:12:26 +0000 (19:12 +0000)]
am dc1f3080: am 8a7ba4c6: Merge "docs: Fixing notify link. Bug: 17571861" into klp-modular-docs

* commit 'dc1f308048a732572fae3cf92ddfe5cd943c0059':
  docs: Fixing notify link. Bug: 17571861

9 years agoam c07a288a: am 2a364235: Merge "docs: Android Wear Design fixes" into klp-modular...
Luan Nguyen [Wed, 15 Oct 2014 19:12:18 +0000 (19:12 +0000)]
am c07a288a: am 2a364235: Merge "docs: Android Wear Design fixes" into klp-modular-docs

* commit 'c07a288a889ac88282118d4089e969f20c1aabe3':
  docs: Android Wear Design fixes

9 years agoam e43bb6a9: am 075531ae: add the butterbar for L announce to Preview landing page
smain@google.com [Wed, 15 Oct 2014 19:12:05 +0000 (19:12 +0000)]
am e43bb6a9: am 075531ae: add the butterbar for L announce to Preview landing page

* commit 'e43bb6a9ec8cd0841926e7df8cc738d5357814c1':
  add the butterbar for L announce to Preview landing page

9 years agoam 6fbe299f: am d8d20f52: update analytics event tracking calls to use new script...
smain@google.com [Wed, 15 Oct 2014 19:11:43 +0000 (19:11 +0000)]
am 6fbe299f: am d8d20f52: update analytics event tracking calls to use new script bug: 16331906

* commit '6fbe299fa5bcc084cd69899afdc3c77767b7c1f5':
  update analytics event tracking calls to use new script bug: 16331906

9 years agoMerge "Add a checkbox option to 'require password to decrypt'" into lmp-dev
Jim Miller [Wed, 15 Oct 2014 18:21:50 +0000 (18:21 +0000)]
Merge "Add a checkbox option to 'require password to decrypt'" into lmp-dev

9 years agoMerge "Fix admin policies in managed profiles" into lmp-dev
Amith Yamasani [Wed, 15 Oct 2014 17:44:23 +0000 (17:44 +0000)]
Merge "Fix admin policies in managed profiles" into lmp-dev

9 years agoFix admin policies in managed profiles
Amith Yamasani [Tue, 14 Oct 2014 23:06:13 +0000 (16:06 -0700)]
Fix admin policies in managed profiles

Some of the admin policies are throwing security exceptions in
a managed profile without being documented correctly and others
shouldn't be throwing security exceptions.

Changed setCameraDisabled() to not throw an exception. It now just
prevents work profile apps from using the camera.

Changed wipeData() to allow passing in ERASE_EXTERNAL_STORAGE. In
secondary users/profiles, this is just going to remove the user, so
the flag is harmless.

Updated documentation for setKeyguardDisabledFeatures() and resetPassword()
to indicate that they cannot be called in a managed profile.

Bug: 17987913
Change-Id: I8060be4c2d32bdd4edb46ce543551fabb9c8c983

9 years agoLeave zen when apps set ringer-mode = non-silent (normal/vibrate).
John Spurlock [Wed, 15 Oct 2014 16:03:48 +0000 (12:03 -0400)]
Leave zen when apps set ringer-mode = non-silent (normal/vibrate).

Apps can end up in priority mode by setting ringer-mode = silent.

Now they can leave priority mode by setting ringer-mode = non-silent.
  (normal or vibrate)

Bug: 17884168
Change-Id: I54c853885f4ae9ee618041dd7ac6ab0663fc7b37

9 years agoExternally Reported Moderate Security Issue: SQL Injection in WAPPushManager
Tom Taylor [Wed, 15 Oct 2014 17:20:17 +0000 (10:20 -0700)]
Externally Reported Moderate Security Issue: SQL Injection in WAPPushManager

Bug 17969135

Use query (instead of rawQuery) and pass in arguments instead of building
the query with a giant string. Add a unit test that fails with the old
code but passes with the new code.

Change-Id: Id04a1db6fb95fcd923e1f36f5ab3b94402590918

9 years agoMerge "DO NOT MERGE Add empty ArrayList check." into klp-modular-dev
Prashant Malani [Wed, 15 Oct 2014 17:02:00 +0000 (17:02 +0000)]
Merge "DO NOT MERGE Add empty ArrayList check." into klp-modular-dev

9 years agoMerge "Reduce PackageInstaller Binder memory pressure." into lmp-dev
Jeff Sharkey [Wed, 15 Oct 2014 16:49:04 +0000 (16:49 +0000)]
Merge "Reduce PackageInstaller Binder memory pressure." into lmp-dev

9 years agoReduce PackageInstaller Binder memory pressure.
Jeff Sharkey [Wed, 15 Oct 2014 16:19:47 +0000 (09:19 -0700)]
Reduce PackageInstaller Binder memory pressure.

When restoring hundreds of apps on low-DPI devices, we end up sending
icon Bitmaps inline in the response instead of splitting into ashmem
regions.  To avoid triggering TransactionTooLargeException, switch to
using ParceledListSlice under the hood.

Bug: 17926122
Change-Id: Ib4da6775e79d2fcb4aaea15f58ed998df203a5f9

9 years agoDon't make lockdown VPN source firewall rules over-broad.
Lorenzo Colitti [Wed, 15 Oct 2014 15:55:07 +0000 (00:55 +0900)]
Don't make lockdown VPN source firewall rules over-broad.

Currently, the lockdown VPN adds firewall allow rules matching
the whole subnet that the server assigned, so for example if
the VPN server assigns it the IP address 10.1.23.5/8, it will
allow the whole of 10.0.0.0/8 to pass the firewall.

This is needlessly overbroad and has a particularly bad corner
case where if the prefix length is 0, everything is allowed.

Bug: 17695048
Change-Id: Idbec4b3aea0f72f9bdfd26dcd72d6a97d026fb12

9 years agoPropagate network state changes to the LockdownVpnTracker.
Lorenzo Colitti [Wed, 15 Oct 2014 07:06:07 +0000 (16:06 +0900)]
Propagate network state changes to the LockdownVpnTracker.

Bug: 17695048
Change-Id: I10378df0ab545729a6a315fd1bc8870cd98f47b3

9 years agoam 8a7ba4c6: Merge "docs: Fixing notify link. Bug: 17571861" into klp-modular-docs
Ricardo Cervera [Wed, 15 Oct 2014 15:50:42 +0000 (15:50 +0000)]
am 8a7ba4c6: Merge "docs: Fixing notify link. Bug: 17571861" into klp-modular-docs

* commit '8a7ba4c681d16aab194e1c4ab7b7bfcce5012d17':
  docs: Fixing notify link. Bug: 17571861

9 years agoMerge "docs: Fixing notify link. Bug: 17571861" into klp-modular-docs
Ricardo Cervera [Wed, 15 Oct 2014 15:47:30 +0000 (15:47 +0000)]
Merge "docs: Fixing notify link. Bug: 17571861" into klp-modular-docs

9 years agoam 2a364235: Merge "docs: Android Wear Design fixes" into klp-modular-docs
Luan Nguyen [Wed, 15 Oct 2014 15:17:40 +0000 (15:17 +0000)]
am 2a364235: Merge "docs: Android Wear Design fixes" into klp-modular-docs

* commit '2a364235d27245d999bb1d6e7621c0d6a0e89ef0':
  docs: Android Wear Design fixes

9 years agoMerge "docs: Android Wear Design fixes" into klp-modular-docs
Luan Nguyen [Wed, 15 Oct 2014 15:12:23 +0000 (15:12 +0000)]
Merge "docs: Android Wear Design fixes" into klp-modular-docs

9 years agoDo not show roaming icon for BT Mobile SIM camped on EE UK network
Tony Hill [Tue, 14 Oct 2014 14:45:39 +0000 (15:45 +0100)]
Do not show roaming icon for BT Mobile SIM camped on EE UK network

Bug: 17986042
Change-Id: Ia9802c12363bbe6e93cf0b2e524351b6a3f4871c

9 years agoSet threads' contextClassLoader during LoadedApk.makeApplication.
Narayan Kamath [Wed, 15 Oct 2014 10:38:44 +0000 (11:38 +0100)]
Set threads' contextClassLoader during LoadedApk.makeApplication.

We used to set this from LoadedApk.getClassLoader. This had
the unfortunate side effect of clobbering the threads default
classloader when Context.createPackageContext().getClassLoader()
was called. This happens, for example, to every app that uses
a updatable webview.

bug: 17986934
Change-Id: If2b5938a19f836ea5fe60c94ea53a7125c2098c0

9 years agoMerge "DO NOT MERGE CEC: Queue actions for starting later when not ready" into lmp-dev
Jinsuk Kim [Wed, 15 Oct 2014 05:10:58 +0000 (05:10 +0000)]
Merge "DO NOT MERGE CEC: Queue actions for starting later when not ready" into lmp-dev

9 years agoam 075531ae: add the butterbar for L announce to Preview landing page
smain@google.com [Wed, 15 Oct 2014 03:36:11 +0000 (03:36 +0000)]
am 075531ae: add the butterbar for L announce to Preview landing page

* commit '075531ae190dd6e64d3a53991a209a624cb0ec63':
  add the butterbar for L announce to Preview landing page

9 years agoadd the butterbar for L announce to Preview landing page
smain@google.com [Wed, 15 Oct 2014 02:34:43 +0000 (19:34 -0700)]
add the butterbar for L announce to Preview landing page

Change-Id: Id84a5a62153281b3daaefc287450d392ecb51bbc

9 years agoam d8d20f52: update analytics event tracking calls to use new script bug: 16331906
smain@google.com [Wed, 15 Oct 2014 02:15:35 +0000 (02:15 +0000)]
am d8d20f52: update analytics event tracking calls to use new script bug: 16331906

* commit 'd8d20f52ec0550477b773cee4c0f0343f2a9301f':
  update analytics event tracking calls to use new script bug: 16331906

9 years agoupdate analytics event tracking calls to use new script
smain@google.com [Wed, 8 Oct 2014 23:53:42 +0000 (16:53 -0700)]
update analytics event tracking calls to use new script
bug: 16331906

Change-Id: I4cd8f08509cfb887a424696553404ba3c635151b

9 years agoDO NOT MERGE Add empty ArrayList check.
Craig Mautner [Tue, 22 Jul 2014 18:08:53 +0000 (11:08 -0700)]
DO NOT MERGE Add empty ArrayList check.

Fixes bug 15768779.
Fixes bug 17955259.

Change-Id: I3e4c48aa0fff99025e9ba1725e3d1f3523749dbd

9 years agoStart cross profile intents as caller.
Jeff Sharkey [Tue, 14 Oct 2014 17:48:18 +0000 (10:48 -0700)]
Start cross profile intents as caller.

The system should always be using new startActivityAsCaller() when
starting activities on behalf of someone else, to ensure that
security checks are enforced as the original caller.

Bug: 17983737
Change-Id: Ic40816a797cfdb13c0adb48b86ed4ed7d6aae8eb

9 years agoMerge "Fix a NPE in device policy manager service." into lmp-dev
Svetoslav [Wed, 15 Oct 2014 00:02:58 +0000 (00:02 +0000)]
Merge "Fix a NPE in device policy manager service." into lmp-dev

9 years agoDO NOT MERGE CEC: Queue actions for starting later when not ready
Jinsuk Kim [Fri, 10 Oct 2014 05:40:29 +0000 (14:40 +0900)]
DO NOT MERGE CEC: Queue actions for starting later when not ready

Requests coming in while the service is still being brought up
were discarded. Changed to queue them so that they can be started
after the initialization is completed.

Bug: 17985588
Change-Id: Ic9d9cd2094b830c80dec54dd5ef6a18159a74dc7

Conflicts:
services/core/java/com/android/server/hdmi/HdmiCecLocalDevicePlayback.java

9 years agoMerge "Add null check" into lmp-dev
Craig Mautner [Tue, 14 Oct 2014 23:35:31 +0000 (23:35 +0000)]
Merge "Add null check" into lmp-dev

9 years agoAdd a checkbox option to 'require password to decrypt'
Jim Miller [Tue, 14 Oct 2014 01:51:53 +0000 (18:51 -0700)]
Add a checkbox option to 'require password to decrypt'

Fixes bug 17881324

Change-Id: Id94e593a172d686339c736473226fece1bb749ee

9 years agoAdd null check
Craig Mautner [Tue, 14 Oct 2014 23:17:06 +0000 (16:17 -0700)]
Add null check

Unable to examine bugreports that die in the middle of dump().

Help for bug 17721767.

Change-Id: I31a5e03acf67c926a1cbfefe2a7ea7fca3b71b06

9 years agoFix a NPE in device policy manager service.
Svetoslav [Tue, 14 Oct 2014 22:53:14 +0000 (15:53 -0700)]
Fix a NPE in device policy manager service.

It is possible that the device does not have an owner. If there
is no owner we get a NPE when asking the device policy manager
for cross-profile widget providers.

bug:17989189

Change-Id: I5759f2dec160ed8076ab47fdf09134f78c57458d

9 years agoMerge "Update screen pinning and recents strings to say Overview" into lmp-dev
Jason Monk [Tue, 14 Oct 2014 22:42:52 +0000 (22:42 +0000)]
Merge "Update screen pinning and recents strings to say Overview" into lmp-dev

9 years agoMerge "Fixed a bug when double tapping a notification in the normal shade" into lmp-dev
Selim Cinek [Tue, 14 Oct 2014 22:28:24 +0000 (22:28 +0000)]
Merge "Fixed a bug when double tapping a notification in the normal shade" into lmp-dev

9 years agoam c93723bd: am 7668aa27: am aa7bcf14: Merge "Revert "docs: Watermarked images for...
Ricardo Cervera-Navarro [Tue, 14 Oct 2014 22:27:21 +0000 (22:27 +0000)]
am c93723bd: am 7668aa27: am aa7bcf14: Merge "Revert "docs: Watermarked images for codes that weren\'t found."" into klp-docs

* commit 'c93723bdf9b2ce4dc0426817b8bec924d9f97a79':
  Revert "docs: Watermarked images for codes that weren't found."

9 years agoam 7668aa27: am aa7bcf14: Merge "Revert "docs: Watermarked images for codes that...
Ricardo Cervera-Navarro [Tue, 14 Oct 2014 22:20:02 +0000 (22:20 +0000)]
am 7668aa27: am aa7bcf14: Merge "Revert "docs: Watermarked images for codes that weren\'t found."" into klp-docs

* commit '7668aa27999e5650fe8776853565f792311fb57d':
  Revert "docs: Watermarked images for codes that weren't found."

9 years agoam aa7bcf14: Merge "Revert "docs: Watermarked images for codes that weren\'t found...
Ricardo Cervera-Navarro [Tue, 14 Oct 2014 22:14:16 +0000 (22:14 +0000)]
am aa7bcf14: Merge "Revert "docs: Watermarked images for codes that weren\'t found."" into klp-docs

* commit 'aa7bcf140d95049f1482c896b770de7ba339f7c9':
  Revert "docs: Watermarked images for codes that weren't found."

9 years agoBackport of ordering apps for boot dexopt.
Jeff Hao [Tue, 30 Sep 2014 21:41:31 +0000 (14:41 -0700)]
Backport of ordering apps for boot dexopt.

This is a squashed commit of the following changes:

1. Order apps by priority when performing boot dexopt.
   (cherry picked from commit 65cde7d42d741c7d9aa2714a397b7333f688ab55)

2. Improve priority ordering of apps when performing boot dexopt.
   Added core apps and updated system apps.
   (cherry picked from commit 272bf3a274daff62995caf05da338c1f2a73dae3)

3. Stop boot dexopt when low on memory.
   (cherry picked from commit 1d892dcb6b0ff3a50cc63e387667dc29baf1014f)

Bug: 17641843
Change-Id: Ie32f1c21047d3462aaf728f7633fecf647ba2b47

9 years agoMerge "Revert "docs: Watermarked images for codes that weren't found."" into klp...
Ricardo Cervera-Navarro [Tue, 14 Oct 2014 21:59:47 +0000 (21:59 +0000)]
Merge "Revert "docs: Watermarked images for codes that weren't found."" into klp-docs

9 years agoMerge "Handle if the printing app is killed while saving to PDF." into lmp-dev
Svetoslav [Tue, 14 Oct 2014 21:56:30 +0000 (21:56 +0000)]
Merge "Handle if the printing app is killed while saving to PDF." into lmp-dev

9 years agoHandle if the printing app is killed while saving to PDF.
Svetoslav [Tue, 14 Oct 2014 21:14:49 +0000 (14:14 -0700)]
Handle if the printing app is killed while saving to PDF.

When saving to PDF we bring up the file picker UI which covers
the print UI. In this case the printing app may get killed as
it is not in the forground (the system is bound to the print
spooler so it cannot get killed). If that happens we are ending
up with an empty file. However, if the file chooser UI is up
we already have everything from the app we need and it dying
does not matter. This change takes care if ignoring printing
app death while saving to PDF.

bug:17922948

Change-Id: I10d808e3c3e93e850dbc2a948f2482381a887928

9 years agoMerge "Hide DISALLOW_OUTGOING_BEAM API" into lmp-dev
Amith Yamasani [Tue, 14 Oct 2014 19:51:14 +0000 (19:51 +0000)]
Merge "Hide DISALLOW_OUTGOING_BEAM API" into lmp-dev

9 years agoMerge "Fix issue #10034864: Define YouTube application as the preferred..." into...
Dianne Hackborn [Tue, 14 Oct 2014 19:16:21 +0000 (19:16 +0000)]
Merge "Fix issue #10034864: Define YouTube application as the preferred..." into lmp-dev

9 years agoUpdate screen pinning and recents strings to say Overview
Jason Monk [Tue, 14 Oct 2014 13:26:19 +0000 (09:26 -0400)]
Update screen pinning and recents strings to say Overview

Bug: 17969466
Bug: 17970142
Change-Id: I76cd934ea6d67f36609fdc53ca1d195fcb7dcfbe

9 years agoFix issue #10034864: Define YouTube application as the preferred...
Dianne Hackborn [Tue, 14 Oct 2014 17:43:43 +0000 (10:43 -0700)]
Fix issue #10034864: Define YouTube application as the preferred...

...handler for its Intents

Fix bug when a third party app is installed as an additional but
worse match for the intent.

Also raise up the limit for when we start printing logs about
overly large strict mode data.

And turn off the logs about services being created and destroyed,
since with the way things are using services these days these have
become way too spammy.

Change-Id: I8fe301dfd80fb4b70213cb7783b7c5426245278d

9 years agoHide DISALLOW_OUTGOING_BEAM API
Amith Yamasani [Tue, 14 Oct 2014 16:27:20 +0000 (09:27 -0700)]
Hide DISALLOW_OUTGOING_BEAM API

This is not fully functional in managed profiles, so it is being removed for L.

Bug: 17973040
Change-Id: If660e5e565076cdf61649e9f5ca12877425e9df3

9 years agoam 858cfad9: am a3287768: Merge "docs:SDK tools 23.0.5 Release Note" into klp-modular...
Rich Slogar [Tue, 14 Oct 2014 15:55:37 +0000 (15:55 +0000)]
am 858cfad9: am a3287768: Merge "docs:SDK tools 23.0.5 Release Note" into klp-modular-docs

* commit '858cfad9482817305cc5b846102c3f8e5d12782a':
  docs:SDK tools 23.0.5 Release Note

9 years agoRevert "docs: Watermarked images for codes that weren't found."
Ricardo Cervera-Navarro [Tue, 14 Oct 2014 15:49:07 +0000 (15:49 +0000)]
Revert "docs: Watermarked images for codes that weren't found."

Remove easter eggs.

This reverts commit 453df8e6e33f30808ea2244eaa1dd32169996129.

Change-Id: Iaa8c815a876d163c35cc83f3cf4899dd426def7b

9 years agoresolved conflicts for merge of a4eb81b6 to lmp-dev
Nick Kralevich [Tue, 14 Oct 2014 15:38:05 +0000 (08:38 -0700)]
resolved conflicts for merge of a4eb81b6 to lmp-dev

Change-Id: I73b225141e09826b40e4941140b59d1c163bd9c7

9 years agoFixed a bug when double tapping a notification in the normal shade
Selim Cinek [Tue, 14 Oct 2014 13:46:43 +0000 (15:46 +0200)]
Fixed a bug when double tapping a notification in the normal shade

This fixes that sometimes holes where created when grabbing the panel while
closing the shade (eg. double tapping) or the notifications did not disappear.
It could also happen when using the clear all button.

Bug: 17969040
Bug: 17899136
Bug: 17961295
Bug: 17551216
Change-Id: Id7aa37bbcbae504039f90686e2bc364d18685205

9 years agoMerge "Update the SDK AIDL list" into lmp-dev
Evan Charlton [Mon, 13 Oct 2014 22:19:39 +0000 (22:19 +0000)]
Merge "Update the SDK AIDL list" into lmp-dev

9 years agoUpdate the SDK AIDL list
Evan Charlton [Sun, 12 Oct 2014 16:54:30 +0000 (09:54 -0700)]
Update the SDK AIDL list

Populate the framework.aidl list with .aidl files which are:
  - In the android.* namespace
  - Not marked @hide
  - Do not have their corresponding .java files marked @hide

Bug: 17952409
Change-Id: I1f4abf7abbc298a51605571cd168362dcc5603b2

9 years agoMerge "Fixed a typo in Perf Tips." into lmp-dev
Sarah Maddox [Mon, 13 Oct 2014 21:50:28 +0000 (21:50 +0000)]
Merge "Fixed a typo in Perf Tips." into lmp-dev

9 years agoMerge "Increase contrast for money permission" into lmp-dev
Alan Viverette [Mon, 13 Oct 2014 21:31:39 +0000 (21:31 +0000)]
Merge "Increase contrast for money permission" into lmp-dev

9 years agoMerge "Ensure that the SIM language doesn't override the user language on the encrypt...
Elliott Hughes [Mon, 13 Oct 2014 20:55:29 +0000 (20:55 +0000)]
Merge "Ensure that the SIM language doesn't override the user language on the encryption UI." into lmp-dev

9 years agoMerge "DocumentsUI: Add content description for nav." into lmp-dev
Jeff Sharkey [Mon, 13 Oct 2014 20:31:02 +0000 (20:31 +0000)]
Merge "DocumentsUI: Add content description for nav." into lmp-dev

9 years agoMerge "Surface: Leave object in unlocked state when unlockCanvasAndPost fails" into...
Jesse Hall [Mon, 13 Oct 2014 20:23:14 +0000 (20:23 +0000)]
Merge "Surface: Leave object in unlocked state when unlockCanvasAndPost fails" into lmp-dev

9 years agoIncrease contrast for money permission
Alan Viverette [Mon, 13 Oct 2014 20:12:49 +0000 (13:12 -0700)]
Increase contrast for money permission

BUG: 17923303
Change-Id: Ic35a9d37690ec5c4375285ca9b162cbff62db656

9 years agoDocumentsUI: Add content description for nav.
Jeff Sharkey [Mon, 13 Oct 2014 19:53:13 +0000 (12:53 -0700)]
DocumentsUI: Add content description for nav.

Bug: 17922955
Change-Id: I44c0107d8dd03aab36da55deeb864e328b492124

9 years agoEnsure that the SIM language doesn't override the user language on the encryption UI.
Elliott Hughes [Mon, 13 Oct 2014 19:39:56 +0000 (12:39 -0700)]
Ensure that the SIM language doesn't override the user language on the encryption UI.

Bug: 17945169
Change-Id: I51e4f47c7cd925f3701f292b9022e467ccf95a17

9 years agoMerge "Change protectionLevel for READ_PRECISE_PHONE_STATE from dangerous to signatur...
Amit Mahajan [Mon, 13 Oct 2014 19:32:36 +0000 (19:32 +0000)]
Merge "Change protectionLevel for READ_PRECISE_PHONE_STATE from dangerous to signatureOrSystem." into lmp-dev

9 years agoMerge "Update config when "Show input method" is changed" into lmp-dev
Yohei Yukawa [Mon, 13 Oct 2014 18:42:48 +0000 (18:42 +0000)]
Merge "Update config when "Show input method" is changed" into lmp-dev

9 years agoMerge "Change RECEIVE_BLUETOOTH_MAP permission to signature or system" into lmp-dev
Mike Lockwood [Mon, 13 Oct 2014 18:38:22 +0000 (18:38 +0000)]
Merge "Change RECEIVE_BLUETOOTH_MAP permission to signature or system" into lmp-dev

9 years agoChange protectionLevel for READ_PRECISE_PHONE_STATE from dangerous to
Amit Mahajan [Mon, 13 Oct 2014 18:21:46 +0000 (11:21 -0700)]
Change protectionLevel for READ_PRECISE_PHONE_STATE from dangerous to
signatureOrSystem.

Bug: 17952946
Change-Id: I4a75da11cb092ca795d0eacf824890eb12c7446a

9 years agoSurface: Leave object in unlocked state when unlockCanvasAndPost fails
Jesse Hall [Mon, 13 Oct 2014 18:01:15 +0000 (11:01 -0700)]
Surface: Leave object in unlocked state when unlockCanvasAndPost fails

If nativeUnlockCanvasAndPost() throws, Surface was maintaining a
reference to the native Surface, and assuming it was still locked.
That would cause future lockCanvas() calls to throw without even
trying to lock the native Surface, even though in some cases the
native lock was actually released before the exception was thrown.

Now Surface treats the native object as unlocked even if
nativeUnlockCanvasAndPost() throws, so it will attempt the native lock
on lockCanvas() rather than assuming it would fail.

This change also changes an IllegalStateException to
IllegalArgumentException in unlockCanvasAndPost(). That exception was
added in KitKat, and was never documented or added to the throws
declaration. This was essentially a silent public API change. Quite a
bit of code in the framework (and likely in applications) catches
IAE from this method, but didn't attempt to handle ISE. Although ISE
is more correct here, it's not worth breaking code (and it did -- in
this bug it changed a problem that should have been silently and
perfectly recovered from into a fatal exception in system_server.)

Bug: 17684556
Change-Id: Ia8d3e5d33eaa690d16c7d0f557390c7bb4e1e32e

9 years agoMerge "Clean-up ColorFade's shaders and buffers." into lmp-dev
Michael Wright [Mon, 13 Oct 2014 17:30:31 +0000 (17:30 +0000)]
Merge "Clean-up ColorFade's shaders and buffers." into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Geoff Mendal [Mon, 13 Oct 2014 17:22:35 +0000 (17:22 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 13 Oct 2014 17:05:28 +0000 (10:05 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0248efd41328adc6acd19fb84131fc4d7606b774
Auto-generated-cl: translation import

9 years agoChange RECEIVE_BLUETOOTH_MAP permission to signature or system
Mike Lockwood [Mon, 13 Oct 2014 17:00:08 +0000 (10:00 -0700)]
Change RECEIVE_BLUETOOTH_MAP permission to signature or system

Bug: 17954105
Change-Id: I8b16cab7193c97e5f54d6e4ef33ebf8cda0da197

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 13 Oct 2014 13:57:32 +0000 (06:57 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic3cbd08f31920de16f0d21c846cde2ded2b2e3ec
Auto-generated-cl: translation import