OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Use APF program to drop non-IP non-ARP broadcasts" into nyc-dev
Paul Jensen [Fri, 13 May 2016 17:14:46 +0000 (17:14 +0000)]
Merge "Use APF program to drop non-IP non-ARP broadcasts" into nyc-dev

8 years agoMerge "Fixed connectivity state in some power saving scenarios." into nyc-dev
TreeHugger Robot [Fri, 13 May 2016 17:14:11 +0000 (17:14 +0000)]
Merge "Fixed connectivity state in some power saving scenarios." into nyc-dev

8 years agoMerge "Show package icon/label for resolved package-targeted implicit intents" into...
TreeHugger Robot [Fri, 13 May 2016 17:11:13 +0000 (17:11 +0000)]
Merge "Show package icon/label for resolved package-targeted implicit intents" into nyc-dev

8 years agoMerge "Call isUserUnlockingOrUnlocked with cleared identity" into nyc-dev
Fyodor Kupolov [Fri, 13 May 2016 17:07:57 +0000 (17:07 +0000)]
Merge "Call isUserUnlockingOrUnlocked with cleared identity" into nyc-dev

8 years agoDocs: API Overview page for Android N, Dev Preview 3 am: 93970bae9b
David Friedman [Fri, 13 May 2016 17:06:14 +0000 (17:06 +0000)]
Docs: API Overview page for Android N, Dev Preview 3 am: 93970bae9b
am: 95d6fa6b5d

* commit '95d6fa6b5d594951b6ce49f690792184d5ef8e72':
  Docs: API Overview page for Android N, Dev Preview 3

Change-Id: I357b712f7daa382f408e3b212486b5da0e7ec5f7

8 years agoDocs: API Overview page for Android N, Dev Preview 3
David Friedman [Fri, 13 May 2016 17:03:28 +0000 (17:03 +0000)]
Docs: API Overview page for Android N, Dev Preview 3
am: 93970bae9b

* commit '93970bae9b4fc9297b76df7c610de682d91bf5dc':
  Docs: API Overview page for Android N, Dev Preview 3

Change-Id: I0d639f0bd499509a0bedaf0d0539acd21d43d079

8 years agoMerge "PIP: Fix NPE when onboarding is shown" into nyc-dev
TreeHugger Robot [Fri, 13 May 2016 16:55:11 +0000 (16:55 +0000)]
Merge "PIP: Fix NPE when onboarding is shown" into nyc-dev

8 years agoMerge "System server: Add Bluetooth to native processes" into nyc-dev
Andreas Gampe [Fri, 13 May 2016 16:27:57 +0000 (16:27 +0000)]
Merge "System server: Add Bluetooth to native processes" into nyc-dev

8 years agoShow package icon/label for resolved package-targeted implicit intents
Adam Powell [Thu, 12 May 2016 23:13:17 +0000 (16:13 -0700)]
Show package icon/label for resolved package-targeted implicit intents

If we're going to show metadata about a resolved implicit intent that
is targeted to a single package with multiple potential targets,
populate the ResolveInfo with the label and icon of the target
package's ApplicationInfo and set resolvePackageName. This helps use
cases such as EXTRA_INITIAL_INTENTS in ChooserActivity, where
sometimes apps set target packages but not components.

Bug 28739056

Change-Id: I8070d341fccc139463c5ac8d66db45fce02252e5

8 years agoMerge "ApfFilter unit test" into nyc-dev
Paul Jensen [Fri, 13 May 2016 14:33:24 +0000 (14:33 +0000)]
Merge "ApfFilter unit test" into nyc-dev

8 years agoDocs: API Overview page for Android N, Dev Preview 3
David Friedman [Fri, 13 May 2016 08:23:13 +0000 (01:23 -0700)]
Docs: API Overview page for Android N, Dev Preview 3

Change-Id: Ib9a5dbe796eba85ea94686cce2532e0e77d6c615

8 years agoPIP: Fix NPE when onboarding is shown
Jaewan Kim [Fri, 13 May 2016 07:18:49 +0000 (16:18 +0900)]
PIP: Fix NPE when onboarding is shown

Bug: 28754669
Change-Id: Ifca78e111b63422c3875dc4eba48c02e11f83530

8 years agoSupport IPv4-only and IPv6-only provisioning
Erik Kline [Thu, 12 May 2016 06:13:02 +0000 (15:13 +0900)]
Support IPv4-only and IPv6-only provisioning

Bug: 28437662
Change-Id: I95b2d6eeb48cc526c8e6e015c5130ff9141fb898

8 years agoMerge "Close leaked windows when trying to preserve main one" into nyc-dev
Andrii Kulian [Fri, 13 May 2016 03:24:33 +0000 (03:24 +0000)]
Merge "Close leaked windows when trying to preserve main one" into nyc-dev

8 years agoMerge "docs: Continue CL of emoji section in api-overview" into mnc-io-docs am: 16d7c...
David Friedman [Fri, 13 May 2016 02:46:05 +0000 (02:46 +0000)]
Merge "docs: Continue CL of emoji section in api-overview" into mnc-io-docs am: 16d7c71365
am: fd9dca7783

* commit 'fd9dca77839260c7a808b8e57a73da4107ced88f':
  docs: Continue CL of emoji section in api-overview

Change-Id: I539ce22956d67b4a1e85cad1ab35375a615412b6

8 years agoMerge "docs: Continue CL of notifications updates" into mnc-io-docs am: 272db39ad8
David Friedman [Fri, 13 May 2016 02:42:58 +0000 (02:42 +0000)]
Merge "docs: Continue CL of notifications updates" into mnc-io-docs am: 272db39ad8
am: 87ec2a1348

* commit '87ec2a13488163b8ed51493a8f4b30165272c847':
  docs: Continue CL of notifications updates

Change-Id: I8fb81d096b30c4bb5ac52c1bad3a883492acc45c

8 years agoMerge "docs: Continue CL of emoji section in api-overview" into mnc-io-docs
Eric Schmidt [Fri, 13 May 2016 02:42:50 +0000 (02:42 +0000)]
Merge "docs: Continue CL of emoji section in api-overview" into mnc-io-docs
am: 16d7c71365

* commit '16d7c713656a0b4b98d15d29bc845ffe6b3dfe79':
  docs: Continue CL of emoji section in api-overview

Change-Id: I822c82db9d385325e754a93054cc9878880e6590

8 years agoMerge "Add metadata for tools videos." into mnc-mr-docs am: 96762b8500 am: 0ec5620717
Dirk Dougherty [Fri, 13 May 2016 02:40:25 +0000 (02:40 +0000)]
Merge "Add metadata for tools videos." into mnc-mr-docs am: 96762b8500 am: 0ec5620717
am: fc05721530

* commit 'fc05721530dcaa532e58b188624bb51d0024032c':
  Add metadata for tools videos.

Change-Id: I39bd537935258fab40ed38804c3233c6f124b91b

8 years agoMerge "docs: Continue CL of notifications updates" into mnc-io-docs
Eric Schmidt [Fri, 13 May 2016 02:40:20 +0000 (02:40 +0000)]
Merge "docs: Continue CL of notifications updates" into mnc-io-docs
am: 272db39ad8

* commit '272db39ad8909d78562cc520aef9e75d501e79d7':
  docs: Continue CL of notifications updates

Change-Id: I9c06da55a3172f70f92f35fad4e889da049dba17

8 years agoMerge "docs: Continue CL of emoji section in api-overview" into mnc-io-docs
David Friedman [Fri, 13 May 2016 02:37:37 +0000 (02:37 +0000)]
Merge "docs: Continue CL of emoji section in api-overview" into mnc-io-docs

8 years agoMerge "Add metadata for tools videos." into mnc-mr-docs am: 96762b8500
Dirk Dougherty [Fri, 13 May 2016 02:37:18 +0000 (02:37 +0000)]
Merge "Add metadata for tools videos." into mnc-mr-docs am: 96762b8500
am: 0ec5620717

* commit '0ec5620717dec4ca0a4cf66e30567867df98b2d4':
  Add metadata for tools videos.

Change-Id: I71219fac0af88663cf1a5d270d7533016b8b866e

8 years agoMerge "docs: Continue CL of notifications updates" into mnc-io-docs
David Friedman [Fri, 13 May 2016 02:36:39 +0000 (02:36 +0000)]
Merge "docs: Continue CL of notifications updates" into mnc-io-docs

8 years agoMerge "Add metadata for tools videos." into mnc-mr-docs
Dirk Dougherty [Fri, 13 May 2016 02:34:52 +0000 (02:34 +0000)]
Merge "Add metadata for tools videos." into mnc-mr-docs
am: 96762b8500

* commit '96762b8500166d931bbb8d5e6193c841540bdec8':
  Add metadata for tools videos.

Change-Id: I5b79243c49a5fba1637223dee0bfc7dfad5f9eea

8 years agoMerge "Add metadata for tools videos." into mnc-mr-docs
Dirk Dougherty [Fri, 13 May 2016 02:30:49 +0000 (02:30 +0000)]
Merge "Add metadata for tools videos." into mnc-mr-docs

8 years agoMerge "Fix a flicker when window is removed during entering animation" into nyc-dev
Chong Zhang [Fri, 13 May 2016 01:58:51 +0000 (01:58 +0000)]
Merge "Fix a flicker when window is removed during entering animation" into nyc-dev

8 years agodocs: Continue CL of emoji section in api-overview
Eric Schmidt [Thu, 12 May 2016 23:29:18 +0000 (16:29 -0700)]
docs: Continue CL of emoji section in api-overview

Bug: 27920740
Change-Id: I069dcdad67ab91c6085bdf52b1a0af6833afbd11

8 years agoMerge "Adjust divider when IME height is changed." into nyc-dev
Keisuke Kuroyanagi [Fri, 13 May 2016 01:46:09 +0000 (01:46 +0000)]
Merge "Adjust divider when IME height is changed." into nyc-dev

8 years agodocs: Continue CL of notifications updates
Eric Schmidt [Fri, 13 May 2016 01:33:25 +0000 (18:33 -0700)]
docs: Continue CL of notifications updates

Bug: 28520914
Change-Id: If0bbd5c503e4149fcd8f1db34fe7847a6cbefd20

8 years agoMerge "Partial fix for jumping freeform windows" into nyc-dev
TreeHugger Robot [Fri, 13 May 2016 01:21:11 +0000 (01:21 +0000)]
Merge "Partial fix for jumping freeform windows" into nyc-dev

8 years agoMerge "ContentValues: improve documentation" into nyc-dev
TreeHugger Robot [Fri, 13 May 2016 01:12:51 +0000 (01:12 +0000)]
Merge "ContentValues: improve documentation" into nyc-dev

8 years agoMerge "Fix documentation bug in SQLiteDatabase" into nyc-dev
TreeHugger Robot [Fri, 13 May 2016 01:08:51 +0000 (01:08 +0000)]
Merge "Fix documentation bug in SQLiteDatabase" into nyc-dev

8 years agoMerge "cherrypick from mnc-io-docs docs: Updated APK Signature Scheme v2 doc" into...
Kevin Hufnagle [Fri, 13 May 2016 01:02:36 +0000 (01:02 +0000)]
Merge "cherrypick from mnc-io-docs docs: Updated APK Signature Scheme v2 doc" into mnc-io-docs am: 458b991356
am: e328025835

* commit 'e32802583591d10f9bb8687a6e00b6f3484ecbdd':
  cherrypick from mnc-io-docs docs: Updated APK Signature Scheme v2 doc

Change-Id: If775ca04c0922f586b42d870fe9bc3b7c1312ca6

8 years agoMerge "cherrypick from mnc-io-docs docs: Updated APK Signature Scheme v2 doc" into...
Kevin Hufnagle [Fri, 13 May 2016 00:59:40 +0000 (00:59 +0000)]
Merge "cherrypick from mnc-io-docs docs: Updated APK Signature Scheme v2 doc" into mnc-io-docs
am: 458b991356

* commit '458b99135671cbb3d49f9e71e35e1cf5926b7d2c':
  cherrypick from mnc-io-docs docs: Updated APK Signature Scheme v2 doc

Change-Id: I50b1383c264433677297023d378a2f622bd873b7

8 years agoMerge "cherrypick from mnc-io-docs docs: Updated APK Signature Scheme v2 doc" into...
Kevin Hufnagle [Fri, 13 May 2016 00:56:27 +0000 (00:56 +0000)]
Merge "cherrypick from mnc-io-docs docs: Updated APK Signature Scheme v2 doc" into mnc-io-docs

8 years agoMerge "Merge "Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)" into...
Android Build Merger (Role) [Fri, 13 May 2016 00:54:18 +0000 (00:54 +0000)]
Merge "Merge "Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)" into mnc-io-docs am: d5ef1ef028 am: ac5dc2f581" into nyc-dev

8 years agoMerge "Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)" into mnc...
Adarsh Fernando [Fri, 13 May 2016 00:53:53 +0000 (00:53 +0000)]
Merge "Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)" into mnc-io-docs am: d5ef1ef028
am: ac5dc2f581

* commit 'ac5dc2f581b84affcd25a4d405cb8036b92a3797':
  Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)

Change-Id: Ia729337de141ebb48e39d54edcafff207bb9f974

8 years agoMerge "Merge "Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)" into...
Android Build Merger (Role) [Fri, 13 May 2016 00:52:14 +0000 (00:52 +0000)]
Merge "Merge "Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)" into mnc-io-docs am: d5ef1ef028 am: ac5dc2f581" into nyc-dev

8 years agoMerge "Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)" into mnc...
Adarsh Fernando [Fri, 13 May 2016 00:51:49 +0000 (00:51 +0000)]
Merge "Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)" into mnc-io-docs am: d5ef1ef028
am: ac5dc2f581

* commit 'ac5dc2f581b84affcd25a4d405cb8036b92a3797':
  Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)

Change-Id: I5924aee920021fbbdb3792c87d719f393ce2a27b

8 years agoMerge "Fix incorrect inheritance from TextAppearance to Widget." into nyc-dev
Seigo Nonaka [Fri, 13 May 2016 00:50:20 +0000 (00:50 +0000)]
Merge "Fix incorrect inheritance from TextAppearance to Widget." into nyc-dev

8 years agoMerge "Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)" into mnc...
Adarsh Fernando [Fri, 13 May 2016 00:49:26 +0000 (00:49 +0000)]
Merge "Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)" into mnc-io-docs
am: d5ef1ef028

* commit 'd5ef1ef028d5d7e529746206aa72f4cd65edd55b':
  Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)

Change-Id: Ic32c9e030b2a287bba161716f67788e740b78433

8 years agoMerge "Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)" into mnc...
Adarsh Fernando [Fri, 13 May 2016 00:43:25 +0000 (00:43 +0000)]
Merge "Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)" into mnc-io-docs

8 years agoDocs: Added new Whitelist feature to Data Saver for DP3 (Part 2)
Adarsh Fernando [Thu, 12 May 2016 22:18:14 +0000 (15:18 -0700)]
Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)

Bug: 28447739
Change-Id: Ibdbf0bd315fc228b076c5b91061bcb8080de96d3

8 years agoFix a flicker when window is removed during entering animation
Chong Zhang [Wed, 4 May 2016 22:08:18 +0000 (15:08 -0700)]
Fix a flicker when window is removed during entering animation

When animation is started with saved surfaces, app may decide to
remove one of the child windows during early animation and replace
it with a new window. This causes the app below (usually Recents)
to show through for one or more frames.

If we started animation early with a window, delay removal of
that window until the app is allDrawn in the "traditional sense"
(i.e. allDrawn without using any saved surfaces).

bug: 28742353
Change-Id: I4ef663a947b737aae96c3ccfe13a9f4c1d0567f0

8 years agoPartial fix for jumping freeform windows
Vladislav Kaznacheev [Thu, 12 May 2016 19:56:31 +0000 (12:56 -0700)]
Partial fix for jumping freeform windows

Currently every focus change causes a freeform window to jump
for a few frames. The size of the jump is equal to the difference
in inset size (which is derived directly from the window elevation).

This problem goes away for most real use cases if the insets are
not allowed to decrease.

Bug: 28318973
Bug: 22668382
Change-Id: I77ca440a7d9c89cc4d45e6667bf37da94a5c8a9a

8 years agoFix documentation bug in SQLiteDatabase
Steve Pomeroy [Thu, 14 Mar 2013 04:42:10 +0000 (00:42 -0400)]
Fix documentation bug in SQLiteDatabase

The documentation incorrectly states that, "[insertWithOnConflict
returns] the primary key of the existing row if the input param
'conflictAlgorithm' = CONFLICT_IGNORE". Unfortunately, SQLite does
not provide such functionality.

Close: https://code.google.com/p/android/issues/detail?id=13045

Signed-off-by: Steve Pomeroy <steve@staticfree.info>
(cherry picked from commit 8fc3144fa5d9fe3a6c7fb6de80cb34d5cafabc05)

Change-Id: I89e56428e612d667259744e2bc3df124e5a2aa0e

8 years agoContentValues: improve documentation
Steve Pomeroy [Tue, 9 Oct 2012 19:37:34 +0000 (15:37 -0400)]
ContentValues: improve documentation

Correct and clarify the documentation for ContentValues.

Signed-off-by: Steve Pomeroy <steve@staticfree.info>
(cherry picked from commit 1276b5f29ed6f889e9691cf296fd9911958895c1)

Change-Id: Id6f4e93dcca64dd41daeb4066d804ff173f4747b

8 years agoAdjust divider when IME height is changed.
Keisuke Kuroyanagi [Thu, 12 May 2016 23:49:02 +0000 (16:49 -0700)]
Adjust divider when IME height is changed.

Previously, divider was adjusted for IME when IME window visibility is
changed. However, IME size can be changed without changing IME window
visibility. For example, when hardware keyboard key is pressed to show
emoji layout.
This CL checks if IME height has been changed and adjust divider position
properly.

Bug: 28389933
Change-Id: I9a561bd4796a0513c8b5c493884946883f160907

8 years agoMerge "Fix replacing window timeouts" into nyc-dev
Chong Zhang [Thu, 12 May 2016 23:48:35 +0000 (23:48 +0000)]
Merge "Fix replacing window timeouts" into nyc-dev

8 years agoMerge "Workaround for empty recents, defer the enter animation." into nyc-dev
Winson Chung [Thu, 12 May 2016 23:23:14 +0000 (23:23 +0000)]
Merge "Workaround for empty recents, defer the enter animation." into nyc-dev

8 years agoMerge "Fixing flashing when animation the launch task." into nyc-dev
Winson Chung [Thu, 12 May 2016 23:23:06 +0000 (23:23 +0000)]
Merge "Fixing flashing when animation the launch task." into nyc-dev

8 years agoMerge "Fixing issue with excluded task showing when docking." into nyc-dev
Winson Chung [Thu, 12 May 2016 23:22:54 +0000 (23:22 +0000)]
Merge "Fixing issue with excluded task showing when docking." into nyc-dev

8 years agoMerge "Respect add focusables flags" into nyc-dev
Yigit Boyar [Thu, 12 May 2016 23:19:21 +0000 (23:19 +0000)]
Merge "Respect add focusables flags" into nyc-dev

8 years agodocs: Add Emulator Console authentication feature am: baa20c572c -s ours am: f8ec668...
Cheryl Potter [Thu, 12 May 2016 23:17:58 +0000 (23:17 +0000)]
docs: Add Emulator Console authentication feature am: baa20c572c  -s ours am: f8ec668262 am: f0e6b1ae83
am: a32ad7464d

* commit 'a32ad7464d85b6db2f070e7154c92facef99b4ea':
  docs: Add Emulator Console authentication feature

Change-Id: I2817d6974c0d2fc105ce787d0bbae92e147cf704

8 years agodocs: Add Emulator Console authentication feature am: baa20c572c -s ours am: f8ec668262
Cheryl Potter [Thu, 12 May 2016 23:15:36 +0000 (23:15 +0000)]
docs: Add Emulator Console authentication feature am: baa20c572c  -s ours am: f8ec668262
am: f0e6b1ae83

* commit 'f0e6b1ae83bf62b54864c9ddf63d7a76e17dc122':
  docs: Add Emulator Console authentication feature

Change-Id: I81aa710f3e502cdc9c0de211d21e338f5ca5edd7

8 years agodocs: Add Emulator Console authentication feature am: baa20c572c -s ours
Cheryl Potter [Thu, 12 May 2016 23:13:12 +0000 (23:13 +0000)]
docs: Add Emulator Console authentication feature am: baa20c572c  -s ours
am: f8ec668262

* commit 'f8ec6682627d1e1d00df60a975451412f558e787':
  docs: Add Emulator Console authentication feature

Change-Id: I326c71760e0f64d328125218f5a63f891dc66269

8 years agodocs: Add Emulator Console authentication feature
Cheryl Potter [Thu, 12 May 2016 23:10:46 +0000 (23:10 +0000)]
docs: Add Emulator Console authentication feature
am: baa20c572c  -s ours

* commit 'baa20c572cffec2b508e5d0cd4194e39303441ae':
  docs: Add Emulator Console authentication feature

Change-Id: I758620f266d31157ab304147818c3c996498402d

8 years agocherrypick from mnc-io-docs docs: Updated APK Signature Scheme v2 doc
Kevin Hufnagle [Thu, 12 May 2016 00:38:45 +0000 (17:38 -0700)]
cherrypick from mnc-io-docs docs: Updated APK Signature Scheme v2 doc

This CL is a continuation of CL 1025444.

Bug: 28143514
Change-Id: I43feb2fec6c9d57d6ebb35a388ecaea3a713876e
Original-Change-Id: I00164a740bcc19b5ba08b517023cca11f4373680

8 years agoFix replacing window timeouts
Chong Zhang [Thu, 12 May 2016 23:00:01 +0000 (16:00 -0700)]
Fix replacing window timeouts

Do not post app token with the timeout message, instead put the token
in a list and post empty message only.

bug: 28744782
Change-Id: If809d8ee16bcc31067f25ae5696b62d09ea4b864

8 years agoMerge "disable wifi only mode from wfc setting for nyc" into nyc-dev
Chen Xu [Thu, 12 May 2016 22:57:39 +0000 (22:57 +0000)]
Merge "disable wifi only mode from wfc setting for nyc" into nyc-dev

8 years agoSystem server: Add Bluetooth to native processes
Andreas Gampe [Thu, 12 May 2016 01:41:25 +0000 (18:41 -0700)]
System server: Add Bluetooth to native processes

Add Bluetooth service to the interesting native processes to dump
during watchdog abort and ANRs. This may help if the process gets
wedged and cannot react normally to Java-side ANR dump requests.

Bug: 28658141
Change-Id: I788b7c299cc95748fdcddaa2be1d0e2d78f25ef1

8 years agodocs: Add Emulator Console authentication feature
Cheryl Potter [Thu, 12 May 2016 21:27:00 +0000 (14:27 -0700)]
docs: Add Emulator Console authentication feature

Change-Id: I77c36a71a208714443e09b10caf5e35141afca95

8 years agoRespect add focusables flags
Yigit Boyar [Thu, 12 May 2016 22:11:13 +0000 (15:11 -0700)]
Respect add focusables flags

This CL fixes 2 bugs in View's addFocusables implementations.

1) addFocusables(list, dir) method was always returning focusables in
touch mode even if the device is not in touch mode.

2) addFocusables(list, dir, mode) was not respecting the provided mod.

Bug: 28745577
Change-Id: I9b9e5af27f8f5b1bb3cc601584fdad7c73e54a5d

8 years agoMerge "missed another old link" into mnc-mr-docs am: 4e0de0df78 am: 9535aa73bf
smain@google.com [Thu, 12 May 2016 22:04:21 +0000 (22:04 +0000)]
Merge "missed another old link" into mnc-mr-docs am: 4e0de0df78 am: 9535aa73bf
am: e1a71fdd67

* commit 'e1a71fdd67a6eb0aa370be09b0bb33a166549024':
  missed another old link

Change-Id: Ic456f5624f31cce4f3bea2d3b938c9ab4ceec87a

8 years agoMerge "missed another old link" into mnc-mr-docs am: 4e0de0df78
Scott Main [Thu, 12 May 2016 22:02:01 +0000 (22:02 +0000)]
Merge "missed another old link" into mnc-mr-docs am: 4e0de0df78
am: 9535aa73bf

* commit '9535aa73bfa0b92f5e7b1610cca98f0dc33e2894':
  missed another old link

Change-Id: Ife2b4f674610ae48e1c126c42e498ecc7f27bece

8 years agoMerge "missed another old link" into mnc-mr-docs
smain@google.com [Thu, 12 May 2016 21:59:34 +0000 (21:59 +0000)]
Merge "missed another old link" into mnc-mr-docs
am: 4e0de0df78

* commit '4e0de0df78499ea83a2c31942a31dee9226960e6':
  missed another old link

Change-Id: I382e852fed3d004ea9ea18cb00a47f0895f02b3f

8 years agoMerge "Pinner service for pinning files into memory" into nyc-dev
Philip Cuadra [Thu, 12 May 2016 21:55:28 +0000 (21:55 +0000)]
Merge "Pinner service for pinning files into memory" into nyc-dev

8 years agoMerge "missed another old link" into mnc-mr-docs
Scott Main [Thu, 12 May 2016 21:51:14 +0000 (21:51 +0000)]
Merge "missed another old link" into mnc-mr-docs

8 years agoMerge "Move Vulkan layer path setup to ApplicationLoaders" into nyc-dev
Jesse Hall [Thu, 12 May 2016 21:13:25 +0000 (21:13 +0000)]
Merge "Move Vulkan layer path setup to ApplicationLoaders" into nyc-dev

8 years agoMerge "fix filter for listeners that are not the rocket" into nyc-dev
TreeHugger Robot [Thu, 12 May 2016 21:05:36 +0000 (21:05 +0000)]
Merge "fix filter for listeners that are not the rocket" into nyc-dev

8 years agoMerge "DPM control for remote input when locked" into nyc-dev
Adrian Roos [Thu, 12 May 2016 20:52:24 +0000 (20:52 +0000)]
Merge "DPM control for remote input when locked" into nyc-dev

8 years agoAdd metadata for tools videos.
Dirk Dougherty [Thu, 12 May 2016 20:46:38 +0000 (13:46 -0700)]
Add metadata for tools videos.

Change-Id: I6f439f9bf9cf026a2a1b69648690ccc069c9d533

8 years agodisable wifi only mode from wfc setting for nyc
fionaxu [Thu, 12 May 2016 20:40:05 +0000 (13:40 -0700)]
disable wifi only mode from wfc setting for nyc

Bug: 28691529
Change-Id: I78a5606b213628148218cb5e9db63192a15384d7

8 years agoUpdate billions page related links. am: d66be4dcd0 am: 6ad1f133e3 am: 49bc081039
Dirk Dougherty [Thu, 12 May 2016 20:38:36 +0000 (20:38 +0000)]
Update billions page related links. am: d66be4dcd0 am: 6ad1f133e3 am: 49bc081039
am: aa50ecd967

* commit 'aa50ecd9677d7f18d77c39d9e3a5220b8242323a':
  Update billions page related links.

Change-Id: I538d3883c11f4a4b6a83047c66419c18b4595c3e

8 years agoClose leaked windows when trying to preserve main one
Andrii Kulian [Wed, 11 May 2016 22:50:24 +0000 (15:50 -0700)]
Close leaked windows when trying to preserve main one

When app has several windows and activity is relaunched + we try to preserve
main window - other windows just stayed around until removed by timeout or
replaced by app. There was a problem when one of the windows registered
broadcast receiver and set its own timer to remove it. In this case all
receivers were removed by framework because windows were considered leaked
and apps' timer caused crash when trying to remove registered receiver.

This CL removes all windows expect the main one, which we're trying to
preserve in this case.

Bug: 28337135
Change-Id: Ib8790cc8c61801f11d871ba3803bb0ebc3d3be01

8 years agoMerge commit \'20fde769affa8ff76251814004b22efa9bb76e71\' into manualmerge am: dbaf61...
Liz Yepsen [Thu, 12 May 2016 20:36:02 +0000 (20:36 +0000)]
Merge commit \'20fde769affa8ff76251814004b22efa9bb76e71\' into manualmerge am: dbaf613dea am: 5660e4ed82
am: f6661535ab

* commit 'f6661535ab2f518932f03854992c8192bae8460d':
  docs: added "billions" doc in Distribute>Essentials

Change-Id: Ic88bb38f3867663b97d56061882b25049d10295d

8 years agoUpdate billions page related links. am: d66be4dcd0 am: 6ad1f133e3
Dirk Dougherty [Thu, 12 May 2016 20:35:57 +0000 (20:35 +0000)]
Update billions page related links. am: d66be4dcd0 am: 6ad1f133e3
am: 49bc081039

* commit '49bc081039c24d49bf1644b76bd876ad7e889050':
  Update billions page related links.

Change-Id: Ib902f3a1cf63199223138c51b9b2cd6ef26bbbfa

8 years agoMerge commit \'20fde769affa8ff76251814004b22efa9bb76e71\' into manualmerge am: dbaf613dea
Dirk Dougherty [Thu, 12 May 2016 20:33:41 +0000 (20:33 +0000)]
Merge commit \'20fde769affa8ff76251814004b22efa9bb76e71\' into manualmerge am: dbaf613dea
am: 5660e4ed82

* commit '5660e4ed82031b69165a6faf1e61b5ced48547e3':
  docs: added "billions" doc in Distribute>Essentials

Change-Id: I92aa93777cdfe722dc2fc9c6da86ff24961b1560

8 years agoUpdate billions page related links. am: d66be4dcd0
Dirk Dougherty [Thu, 12 May 2016 20:33:38 +0000 (20:33 +0000)]
Update billions page related links. am: d66be4dcd0
am: 6ad1f133e3

* commit '6ad1f133e3ad1782fcbb7be3b0536f5cedecad63':
  Update billions page related links.

Change-Id: I2a5617fcbe6d9a0d1de5a3b794f960924e835bb2

8 years agoUpdate billions page related links.
Dirk Dougherty [Thu, 12 May 2016 20:31:09 +0000 (20:31 +0000)]
Update billions page related links.
am: d66be4dcd0

* commit 'd66be4dcd02f3367d34833fb15d55b796ae24373':
  Update billions page related links.

Change-Id: I9af79689486ebfb079fcd1aad48882a1ee7217aa

8 years agoMerge commit \'20fde769affa8ff76251814004b22efa9bb76e71\' into manualmerge
Liz Yepsen [Thu, 12 May 2016 20:31:09 +0000 (20:31 +0000)]
Merge commit \'20fde769affa8ff76251814004b22efa9bb76e71\' into manualmerge
am: dbaf613dea

* commit 'dbaf613dea013caca62629bdc808ef50e4ebc7c1':
  docs: added "billions" doc in Distribute>Essentials

Change-Id: I53574e17fb29a96c074e3653a06d4ee4d6bb7677

8 years agoMerge commit '20fde769affa8ff76251814004b22efa9bb76e71' into manualmerge
Dirk Dougherty [Thu, 12 May 2016 20:25:50 +0000 (13:25 -0700)]
Merge commit '20fde769affa8ff76251814004b22efa9bb76e71' into manualmerge

Change-Id: I412660ce82c8ffd9e51899ddf0b8776d7294afaa

8 years agoPinner service for pinning files into memory
Philip Cuadra [Thu, 28 Apr 2016 22:26:49 +0000 (15:26 -0700)]
Pinner service for pinning files into memory

Pin key files into memory to prevent having to fetch from flash
after boot.  Improves system performance by preventing page cache
thrash.  Retrieves files from a device-specific overlay to allow
specialization.

bug 28251566

Change-Id: I8532f52bd70271794dd7576976d13a524849ce7b

8 years agomissed another old link
smain@google.com [Thu, 12 May 2016 19:55:51 +0000 (12:55 -0700)]
missed another old link

Change-Id: I9f618e674a566b50fa2635a6e6cd2f00e53a27dd

8 years agoMerge "Persist settings on a dedicated background thread" into nyc-dev
Svetoslav Ganov [Thu, 12 May 2016 19:51:57 +0000 (19:51 +0000)]
Merge "Persist settings on a dedicated background thread" into nyc-dev

8 years agofix studio download links am: 17aabff6e0 am: 740d47f46f
smain@google.com [Thu, 12 May 2016 19:48:41 +0000 (19:48 +0000)]
fix studio download links am: 17aabff6e0 am: 740d47f46f
am: c878bcef1f

* commit 'c878bcef1f71c241473dcf59762155cc3e133fb4':
  fix studio download links

Change-Id: Iad2d9da633014b138e090f152bdad9b4e6546441

8 years agofix studio download links am: 17aabff6e0
smain@google.com [Thu, 12 May 2016 19:45:48 +0000 (19:45 +0000)]
fix studio download links am: 17aabff6e0
am: 740d47f46f

* commit '740d47f46f65ced23f402e4cba6ea1e80501de61':
  fix studio download links

Change-Id: I509f17ce4a0106b540a6d443d8a41d13976a094d

8 years agofix studio download links
smain@google.com [Thu, 12 May 2016 19:42:19 +0000 (19:42 +0000)]
fix studio download links
am: 17aabff6e0

* commit '17aabff6e0926415fd4e4521c88362ba97edfccb':
  fix studio download links

Change-Id: Idc4c1bf1345cb9104ee43996c89bfd458868ef85

8 years agoMerge "Don't notify windows of resize during PIP animation." into nyc-dev
TreeHugger Robot [Thu, 12 May 2016 19:35:24 +0000 (19:35 +0000)]
Merge "Don't notify windows of resize during PIP animation." into nyc-dev

8 years agoMerge "update banner to 2.1 and remove yellow" into mnc-mr-docs am: 7eac6f1289 am...
smain@google.com [Thu, 12 May 2016 19:34:30 +0000 (19:34 +0000)]
Merge "update banner to 2.1 and remove yellow" into mnc-mr-docs am: 7eac6f1289 am: 55aff78cfd
am: b4c50e1235

* commit 'b4c50e123542b268ec3ff7ef64514557a1cf3701':
  update banner to 2.1 and remove yellow

Change-Id: I10428534b0b4825e1b03818e682472525d5089a0

8 years agoFixed connectivity state in some power saving scenarios.
Felipe Leme [Mon, 9 May 2016 23:24:48 +0000 (16:24 -0700)]
Fixed connectivity state in some power saving scenarios.

NetworkPolicyManagerService (NPMS) manages 4 type of network restriction
when apps are running on background:

- Data Saver Mode (data usage restriction on metered-networks)
- Battery Saver Mode (power restriction on all networks)
- Doze Mode (power restriction on all networks)
- App Idle (power restriction on all networks)

These restrictions affects 2 parts of the system:

- Internal framework state on NPMS which is propagated to other internal
  classes.
- External firewall rules (managed by netd).

Although each of the power-related restrictions have their own external firewall
rules, internally apps are whitelisted to them through the same
whitelist, and the current code is only updating the internal state (and
notifying the internal listeners) when Battery Saver Mode is on.

As a consequence of this problem, there are scenarios where an app
correctly does not have internet access (because the firewall rules are
properly set), but the NetworkInfo state returns the wrong state (like
CONNECTED / CONNECTED).

This CL fixes this problem by splitting the power-related logic from
updateRulesForRestrictBackgroundLocked() into its own
method (updateRulesForPowerRestrictionsLocked()), and making sure such
method is called whenever the firewall rules are updated.

Externally to this change, the CTS tests were also improved to verify
the apps get the proper connection state; it can be verified by running:

cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests \
    -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests

BUG: 28521946
Change-Id: Id5187eb7a59c549ef30e2b17627ae2d734afa789

8 years agofix studio download links
smain@google.com [Thu, 12 May 2016 19:32:42 +0000 (12:32 -0700)]
fix studio download links

Change-Id: I22f65c704ff94de58f0b0100a614107c08fde649

8 years agoMerge "update banner to 2.1 and remove yellow" into mnc-mr-docs am: 7eac6f1289
Scott Main [Thu, 12 May 2016 19:31:55 +0000 (19:31 +0000)]
Merge "update banner to 2.1 and remove yellow" into mnc-mr-docs am: 7eac6f1289
am: 55aff78cfd

* commit '55aff78cfd2f60f938eae7f1564d3ccd5c2c9c84':
  update banner to 2.1 and remove yellow

Change-Id: I5aa38003db9207bfc40f353cda6d86070c311520

8 years agoMerge "update banner to 2.1 and remove yellow" into mnc-mr-docs
smain@google.com [Thu, 12 May 2016 19:29:20 +0000 (19:29 +0000)]
Merge "update banner to 2.1 and remove yellow" into mnc-mr-docs
am: 7eac6f1289

* commit '7eac6f1289052a0845de2fb6cd760d0c2d9b5da0':
  update banner to 2.1 and remove yellow

Change-Id: I343bca6044cc7362d9337b7cddc3da2ab3676dc6

8 years agoMerge "update banner to 2.1 and remove yellow" into mnc-mr-docs
Scott Main [Thu, 12 May 2016 19:25:08 +0000 (19:25 +0000)]
Merge "update banner to 2.1 and remove yellow" into mnc-mr-docs

8 years agoupdate banner to 2.1 and remove yellow
smain@google.com [Thu, 12 May 2016 19:23:20 +0000 (12:23 -0700)]
update banner to 2.1 and remove yellow

Change-Id: I27c5e046804bbfb79640fe544ff1f07d777c853d

8 years agoMerge "Fixed a crash when dumping groupmanager" into nyc-dev
Selim Cinek [Thu, 12 May 2016 19:09:58 +0000 (19:09 +0000)]
Merge "Fixed a crash when dumping groupmanager" into nyc-dev

8 years agoUpdate billions page related links.
Dirk Dougherty [Thu, 12 May 2016 19:04:14 +0000 (12:04 -0700)]
Update billions page related links.

Change-Id: I92585c1410b93000c13b567717905f3b3b24f923

8 years agoMerge "Fix surfaceInset adjustment." into nyc-dev
TreeHugger Robot [Thu, 12 May 2016 18:57:57 +0000 (18:57 +0000)]
Merge "Fix surfaceInset adjustment." into nyc-dev

8 years agofix filter for listeners that are not the rocket
Chris Wren [Thu, 12 May 2016 17:21:08 +0000 (13:21 -0400)]
fix filter for listeners that are not the rocket

Bug: 28664037
Change-Id: Id1e4b243ed7423dbd2d4a8ead829cba9b20f30cd

8 years agoMerge "docs: Noted that custom permissions must be unique per-device" into mnc-mr...
Andrew Solovay [Thu, 12 May 2016 18:48:50 +0000 (18:48 +0000)]
Merge "docs: Noted that custom permissions must be unique per-device" into mnc-mr-docs am: 9be023f077 am: 76f95f5571
am: dc4cd59183

* commit 'dc4cd59183fec0d5dc5661e6015f856f66d65ce9':
  docs: Noted that custom permissions must be unique per-device

Change-Id: Ieaef597484008d63ce1660f89d50c8cd1515f9ed