OSDN Git Service

android-x86/frameworks-base.git
9 years agodocs: Displaying a Now Playing Card
Scott Rowe [Wed, 15 Oct 2014 21:27:25 +0000 (14:27 -0700)]
docs: Displaying a Now Playing Card

Change-Id: I68cd305618caff24cf2de564d7b085c663702d0c

9 years agoMerge "docs: Recents screen for tasks and activities" into lmp-dev
Joe Fernandez [Fri, 17 Oct 2014 05:40:42 +0000 (05:40 +0000)]
Merge "docs: Recents screen for tasks and activities" into lmp-dev

9 years agoMerge "add Lollipop highlights and revision to 5.0 API overview intro" into lmp-dev
smain@google.com [Fri, 17 Oct 2014 05:17:01 +0000 (05:17 +0000)]
Merge "add Lollipop highlights and revision to 5.0 API overview intro" into lmp-dev

9 years agodocs: Recents screen for tasks and activities
Scott Rowe [Mon, 15 Sep 2014 21:08:44 +0000 (14:08 -0700)]
docs: Recents screen for tasks and activities

Change-Id: I94774e60e6a7453a047ad394c3bbfff0cc4dfc7d

9 years agoadd Lollipop highlights and revision to 5.0 API overview intro
smain@google.com [Fri, 17 Oct 2014 05:15:18 +0000 (22:15 -0700)]
add Lollipop highlights and revision to 5.0 API overview intro

Change-Id: Ic50db6ea2ea9893088f271ce2427ccda69fc6b75

9 years agoMerge "Android 5.0 changes to IME switching" into lmp-dev
Joe Fernandez [Fri, 17 Oct 2014 05:01:02 +0000 (05:01 +0000)]
Merge "Android 5.0 changes to IME switching" into lmp-dev

9 years agoMerge "docs: Update Android TV home for L announcement" into lmp-dev
Joe Fernandez [Fri, 17 Oct 2014 04:58:02 +0000 (04:58 +0000)]
Merge "docs:  Update Android TV home for L announcement" into lmp-dev

9 years agoAndroid 5.0 changes to IME switching
David Friedman [Wed, 8 Oct 2014 17:38:31 +0000 (10:38 -0700)]
Android 5.0 changes to IME switching

Change-Id: I158736ee36706889a5277f02a652162194289514

9 years agoMerge "Notificiations Design for Android L Release" into lmp-dev
David Friedman [Fri, 17 Oct 2014 04:48:31 +0000 (04:48 +0000)]
Merge "Notificiations Design for Android L Release" into lmp-dev

9 years agoNotificiations Design for Android L Release
David Friedman [Thu, 2 Oct 2014 22:23:45 +0000 (15:23 -0700)]
Notificiations Design for Android L Release

Change-Id: I32723dafa2d3bd455da9c6e03c09c668b2bd6446

9 years agodocs: Update Android TV home for L announcement
Joe Fernandez [Fri, 10 Oct 2014 05:18:03 +0000 (22:18 -0700)]
docs:  Update Android TV home for L announcement

Change-Id: Ie98da5efa59dd3c797dda38bb465b7cc66b4d2e7

9 years agoMerge "NDK-r10c release notes (change log) for publication to NDK page on DAC." into...
David Friedman [Fri, 17 Oct 2014 04:30:27 +0000 (04:30 +0000)]
Merge "NDK-r10c release notes (change log) for publication to NDK page on DAC." into lmp-dev

9 years agoNDK-r10c release notes (change log) for publication to NDK page on DAC.
David Friedman [Tue, 14 Oct 2014 04:45:44 +0000 (21:45 -0700)]
NDK-r10c release notes (change log) for publication to NDK page on DAC.

Change-Id: I0f8bc87b741ec1ef978c3fc22954d43519172299

9 years agoupdate L preview landing page for 5.0 SDK launch
smain@google.com [Fri, 10 Oct 2014 00:00:20 +0000 (17:00 -0700)]
update L preview landing page for 5.0 SDK launch
includes new system images
also update the DAC homepage announcement

Change-Id: I6e249e4ec5ef4b4329b145b334b31cfe11dd136c

9 years agoMerge "docs: Migrating material design info from the Preview site" into lmp-dev
Ricardo Cervera [Fri, 17 Oct 2014 01:06:05 +0000 (01:06 +0000)]
Merge "docs: Migrating material design info from the Preview site" into lmp-dev

9 years agodocs: Migrating material design info from the Preview site
Ricardo Cervera [Thu, 9 Oct 2014 00:00:30 +0000 (17:00 -0700)]
docs: Migrating material design info from the Preview site

Change-Id: I3a2f71e41cc1371b8cce2d8860b116cf0f8b8ed2

9 years agoMerge "docs: Updates to Android 5.0 API Overview." into lmp-dev
Quddus Chong [Fri, 17 Oct 2014 00:39:30 +0000 (00:39 +0000)]
Merge "docs: Updates to Android 5.0 API Overview." into lmp-dev

9 years agoMerge "Eliminate race condition around backup completion + resumption" into lmp-dev
Christopher Tate [Thu, 16 Oct 2014 21:26:25 +0000 (21:26 +0000)]
Merge "Eliminate race condition around backup completion + resumption" into lmp-dev

9 years agoMerge "docs: Updating support library pages for v.21." into lmp-dev
Andrew Solovay [Thu, 16 Oct 2014 21:10:19 +0000 (21:10 +0000)]
Merge "docs: Updating support library pages for v.21." into lmp-dev

9 years agoMerge "docs: Restored the preview license." into lmp-dev
Andrew Solovay [Thu, 16 Oct 2014 21:01:06 +0000 (21:01 +0000)]
Merge "docs: Restored the preview license." into lmp-dev

9 years agodocs: Restored the preview license.
Andrew Solovay [Tue, 14 Oct 2014 19:23:31 +0000 (12:23 -0700)]
docs: Restored the preview license.

Added the preview license back, with changes as previously negotiated
with legal.

See first comment for staging directory link.

Change-Id: Ibc23d4d89b4380546d61ed052ba15dc81b8b1336

9 years agoEliminate race condition around backup completion + resumption
Christopher Tate [Thu, 16 Oct 2014 20:44:00 +0000 (13:44 -0700)]
Eliminate race condition around backup completion + resumption

Ensure that the callback always sees the current-operation state in sync
with the various other bits of internal backup-operation state.  Previously
only the current-operation state was managed inside the critical section;
this resulted in a slim race window where a callback could see an ongoing
operation as still valid, but after the internal state on which that
operation depended had already been cleared.

Bug 17931760

Change-Id: Ia032668e7a9d22f1029c57fc98db9e86484d5719

9 years agoMerge ":docs Platform Tools Rel Note Nexus 6/9 dpi updates" into lmp-dev
Rich Slogar [Thu, 16 Oct 2014 20:41:17 +0000 (20:41 +0000)]
Merge ":docs Platform Tools Rel Note Nexus 6/9 dpi updates" into lmp-dev

9 years agoMerge "Send accessibility events with no window." into lmp-dev
Svet Ganov [Thu, 16 Oct 2014 19:35:40 +0000 (19:35 +0000)]
Merge "Send accessibility events with no window." into lmp-dev

9 years ago:docs Platform Tools Rel Note Nexus 6/9 dpi updates
Rich Slogar [Thu, 16 Oct 2014 19:07:35 +0000 (12:07 -0700)]
:docs Platform Tools Rel Note Nexus 6/9 dpi updates

Change-Id: I34d71a4c42fababbce1ad13dee4fa8f722798e7b

9 years agoam a1e3063e: am ab64919c: Merge "docs: update reference to FragmentRetainInstance...
Scott Rowe [Thu, 16 Oct 2014 18:23:42 +0000 (18:23 +0000)]
am a1e3063e: am ab64919c: Merge "docs: update reference to FragmentRetainInstance" into klp-modular-docs

* commit 'a1e3063ebe04c8c304f48a02117085962f75cb63':
  docs: update reference to FragmentRetainInstance

9 years agoam 2f9ea27c: am 58c64870: Merge "Typo fixed in sample code" into klp-modular-docs
Joe Fernandez [Thu, 16 Oct 2014 18:23:18 +0000 (18:23 +0000)]
am 2f9ea27c: am 58c64870: Merge "Typo fixed in sample code" into klp-modular-docs

* commit '2f9ea27c6c95fa53eef0228edc0b3f63dbeb21e7':
  Typo fixed in sample code

9 years agoMerge "OpenGL 3.1 and AEP documentation for L-release." into lmp-dev
David Friedman [Thu, 16 Oct 2014 18:05:59 +0000 (18:05 +0000)]
Merge "OpenGL 3.1 and AEP documentation for L-release." into lmp-dev

9 years agodocs: Updates to Android 5.0 API Overview.
Quddus Chong [Thu, 16 Oct 2014 01:03:27 +0000 (18:03 -0700)]
docs: Updates to Android 5.0 API Overview.

Change-Id: I0dcbb134fc499da0172bfe8d79c5aaa1a4b3ef75

9 years agoSend accessibility events with no window.
Svet Ganov [Thu, 16 Oct 2014 16:18:34 +0000 (09:18 -0700)]
Send accessibility events with no window.

An app can send an accessibility event by calling the send methods
on view or directly asking the accessibility manager to do that.
While the recommened way to send such events is calling the methods
on view a legacy app or app whose developer did not read the docs
carefully may be calling the accessibility manager APIs directly.
In such a case the event does not have assigned window id and does
not get send. Since events fired by using the accessibility manager
directly lack context to determine whether thier source is important
for accessibility we assume they come from an important view to
avoid breaking backwards compatibility.

bug:18001711

Change-Id: Ie1c298fa5a0670cbeaedfcd64f820961c296b6ca

9 years agodocs: Updating support library pages for v.21.
Andrew Solovay [Thu, 2 Oct 2014 18:23:42 +0000 (11:23 -0700)]
docs: Updating support library pages for v.21.

For doc stage location, see my comment of Oct 13 3:47 PM.

Change-Id: I4da98448cd95451c82b4e8198dcd95edf64398b8

9 years agoMerge "docs:Build and Platform Tools Updates for Android 5" into lmp-dev
Rich Slogar [Thu, 16 Oct 2014 17:10:47 +0000 (17:10 +0000)]
Merge "docs:Build and Platform Tools Updates for Android 5" into lmp-dev

9 years agoMerge "Moved TV Input Framework (TIF) page out of preview." into lmp-dev
Andrew Solovay [Thu, 16 Oct 2014 17:03:01 +0000 (17:03 +0000)]
Merge "Moved TV Input Framework (TIF) page out of preview." into lmp-dev

9 years agodocs:Build and Platform Tools Updates for Android 5
Rich Slogar [Thu, 9 Oct 2014 22:45:25 +0000 (15:45 -0700)]
docs:Build and Platform Tools Updates for Android 5

Change-Id: Ib7adf35c302d24a1c2394a89b3a04ca8d77cd296

9 years agoam ab64919c: Merge "docs: update reference to FragmentRetainInstance" into klp-modula...
Scott Rowe [Thu, 16 Oct 2014 17:01:04 +0000 (17:01 +0000)]
am ab64919c: Merge "docs: update reference to FragmentRetainInstance" into klp-modular-docs

* commit 'ab64919c0e683dcd0f32f95f580f0d95ce29476d':
  docs: update reference to FragmentRetainInstance

9 years agoMerge "docs: update reference to FragmentRetainInstance" into klp-modular-docs
Scott Rowe [Thu, 16 Oct 2014 16:56:54 +0000 (16:56 +0000)]
Merge "docs: update reference to FragmentRetainInstance" into klp-modular-docs

9 years agodocs: delete preview pages
Scott Rowe [Wed, 8 Oct 2014 23:39:36 +0000 (16:39 -0700)]
docs: delete preview pages

Change-Id: I76b6b8545bfed3ad0604043105ccf4795ab8be62

9 years agoUpdate javadoc comments for getBluetoothLeAdvertiser()
Prerepa Viswanadham [Wed, 15 Oct 2014 23:36:01 +0000 (16:36 -0700)]
Update javadoc comments for getBluetoothLeAdvertiser()

To clarify that BluetoothLeAdvertiser object will return null
when BT is off OR if the hw doesn't support these capabilities

bug: 18006072
Change-Id: I635d7971711a3cae7c58f7a0636faf9a03f19970

9 years agoam 58c64870: Merge "Typo fixed in sample code" into klp-modular-docs
Joe Fernandez [Thu, 16 Oct 2014 14:39:16 +0000 (14:39 +0000)]
am 58c64870: Merge "Typo fixed in sample code" into klp-modular-docs

* commit '58c64870a8f3505d032ec7c5ac0fc4faba08347a':
  Typo fixed in sample code

9 years agoMerge "Typo fixed in sample code" into klp-modular-docs
Joe Fernandez [Thu, 16 Oct 2014 14:34:46 +0000 (14:34 +0000)]
Merge "Typo fixed in sample code" into klp-modular-docs

9 years agoMerge "Allow root and system to bypass the always-on VPN firewall rules" into lmp-dev
Lorenzo Colitti [Thu, 16 Oct 2014 08:46:03 +0000 (08:46 +0000)]
Merge "Allow root and system to bypass the always-on VPN firewall rules" into lmp-dev

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 agoOpenGL 3.1 and AEP documentation for L-release.
David Friedman [Mon, 6 Oct 2014 21:36:07 +0000 (14:36 -0700)]
OpenGL 3.1 and AEP documentation for L-release.

Change-Id: I21b75a6f38977729fa8c1c94c66354054bdb780c

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 agoMoved TV Input Framework (TIF) page out of preview.
Andrew Solovay [Fri, 10 Oct 2014 22:30:53 +0000 (15:30 -0700)]
Moved TV Input Framework (TIF) page out of preview.

See first comment on CL for the doc staging location. Setting up a
redirect for the old page with CL http://ag/566783

Change-Id: Ibd391cb3fe357495ecf3dc70b1edeadee12075f3

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 agoAllow root and system to bypass the always-on VPN firewall rules
Lorenzo Colitti [Wed, 15 Oct 2014 16:06:29 +0000 (01:06 +0900)]
Allow root and system to bypass the always-on VPN firewall rules

This is needed to allow the always-on VPN to survive network
switches. In L, network switches are graceful, and in order to
switch to a network, the system first has to validate it using
DNS requests (from netd, running as root) and HTTP requests
(from NetworkMonitor, running inside the system_server).

This should also allow always-on VPN to work on networks like
T-Mobile that use 464xlat, fixing a bug that has been present
since K.

Bug: 9597277
Bug: 17695048
Change-Id: I0daa5707f2139339f9ececde0e73aac3bf23fdc3

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