OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "QS Edit: Extra extra make sure hidden when locked" into nyc-dev
Jason Monk [Wed, 8 Jun 2016 19:12:19 +0000 (19:12 +0000)]
Merge "QS Edit: Extra extra make sure hidden when locked" into nyc-dev

8 years agoMerge "QS: Fix leak in QSAnimator" into nyc-dev
Jason Monk [Wed, 8 Jun 2016 19:12:05 +0000 (19:12 +0000)]
Merge "QS: Fix leak in QSAnimator" into nyc-dev

8 years agoMerge "QS: Show date even on small screens" into nyc-dev
Jason Monk [Wed, 8 Jun 2016 19:11:40 +0000 (19:11 +0000)]
Merge "QS: Show date even on small screens" into nyc-dev

8 years agoMerge "Fix crash when an app with an active quicksettings tile is updated to no longe...
Jason Monk [Wed, 8 Jun 2016 19:11:15 +0000 (19:11 +0000)]
Merge "Fix crash when an app with an active quicksettings tile is updated to no longer have that tile." into nyc-dev

8 years agoFix crash when an app with an active quicksettings tile is updated to no longer have...
Will Harmon [Mon, 6 Jun 2016 19:54:59 +0000 (12:54 -0700)]
Fix crash when an app with an active quicksettings tile is updated to no longer have that tile.

Fixes: 28721139
Change-Id: Ib53c7cc08e9378420a5fed3459c1e17864b28802

8 years agoMerge "Settings: Better handling for disabled tiles" into nyc-dev
Jason Monk [Wed, 8 Jun 2016 19:10:08 +0000 (19:10 +0000)]
Merge "Settings: Better handling for disabled tiles" into nyc-dev

8 years agoMerge "Return correct default theme on API >= 24" into nyc-dev
Ian Pedowitz [Wed, 8 Jun 2016 18:27:59 +0000 (18:27 +0000)]
Merge "Return correct default theme on API >= 24" into nyc-dev

8 years agoMerge "Handle alarm firing outside of DND period." into nyc-dev
Julia Reynolds [Wed, 8 Jun 2016 18:19:12 +0000 (18:19 +0000)]
Merge "Handle alarm firing outside of DND period." into nyc-dev

8 years agoMerge "Wrap closeQuietly() on finally block." into nyc-dev
TreeHugger Robot [Wed, 8 Jun 2016 17:59:47 +0000 (17:59 +0000)]
Merge "Wrap closeQuietly() on finally block." into nyc-dev

8 years agoMerge "Add a separate read permission for oem unlock state" into nyc-dev
Amith Yamasani [Wed, 8 Jun 2016 17:55:39 +0000 (17:55 +0000)]
Merge "Add a separate read permission for oem unlock state" into nyc-dev

8 years agoMerge "Change unit of I/O statistics to MiB" into nyc-dev
Tianjie Xu [Wed, 8 Jun 2016 17:25:15 +0000 (17:25 +0000)]
Merge "Change unit of I/O statistics to MiB" into nyc-dev

8 years agoMerge "docs: Updates for picture-in-picture docs for N DP4" into nyc-dev
Dan Yu [Wed, 8 Jun 2016 16:22:26 +0000 (16:22 +0000)]
Merge "docs: Updates for picture-in-picture docs for N DP4" into nyc-dev

8 years agoWrap closeQuietly() on finally block.
Felipe Leme [Wed, 8 Jun 2016 16:12:37 +0000 (09:12 -0700)]
Wrap closeQuietly() on finally block.

BUG: 29123428
Change-Id: Ife7a919343ce4b73eef759bbc87dd37f12a71bca

8 years agoReturn correct default theme on API >= 24
Alan Viverette [Wed, 8 Jun 2016 15:45:15 +0000 (11:45 -0400)]
Return correct default theme on API >= 24

This method was broken, but it was returning light theme on N preview
builds, so we'll keep it consistent as we move into N release.

Bug: 29192690
Change-Id: I0d16abbe48756070dcd653c39d0da4124ea66b28

8 years agoMerge "Make Settings->Apps can handle work apps even work profile not enabled yet...
Ricky Wai [Wed, 8 Jun 2016 14:33:55 +0000 (14:33 +0000)]
Merge "Make Settings->Apps can handle work apps even work profile not enabled yet" into nyc-dev

8 years agoMerge "Fix #29073394: Need to bind to scorer after user is unlocked." into nyc-dev
TreeHugger Robot [Wed, 8 Jun 2016 14:32:42 +0000 (14:32 +0000)]
Merge "Fix #29073394: Need to bind to scorer after user is unlocked." into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Wed, 8 Jun 2016 13:09:24 +0000 (13:09 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoSettings: Better handling for disabled tiles
Jason Monk [Tue, 7 Jun 2016 18:01:32 +0000 (14:01 -0400)]
Settings: Better handling for disabled tiles

Push disabling into SettingsDrawerActivity and add a blacklist to
make sure they disappear immediately.

Change-Id: I79b9c596373cf9634008f6be88f4808af70eb071
Fixes: 29080209

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Wed, 8 Jun 2016 13:05:46 +0000 (13:05 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Wed, 8 Jun 2016 13:05:42 +0000 (13:05 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Wed, 8 Jun 2016 13:05:38 +0000 (13:05 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Wed, 8 Jun 2016 13:05:36 +0000 (13:05 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoQS: Fix leak in QSAnimator
Jason Monk [Tue, 7 Jun 2016 20:06:59 +0000 (16:06 -0400)]
QS: Fix leak in QSAnimator

Change-Id: I54f1e083cf6ba6bfb5abc0f416680cbda1401980
Fixes: 29113833

8 years agoMerge "Package changed/removed listeners for always-on VPN" into nyc-dev
TreeHugger Robot [Wed, 8 Jun 2016 10:46:41 +0000 (10:46 +0000)]
Merge "Package changed/removed listeners for always-on VPN" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 8 Jun 2016 03:49:52 +0000 (20:49 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 29169863
Change-Id: Ic7b964650e55d381c9b2f7a18f1358a5cc033d21

8 years agoMerge "Revert "Improve accessibility window title behavior"" into nyc-dev
Phil Weaver [Wed, 8 Jun 2016 02:19:33 +0000 (02:19 +0000)]
Merge "Revert "Improve accessibility window title behavior"" into nyc-dev

8 years agoMerge "Check if task was top of stack before it's removed" into nyc-dev
Chong Zhang [Wed, 8 Jun 2016 01:18:00 +0000 (01:18 +0000)]
Merge "Check if task was top of stack before it's removed" into nyc-dev

8 years agoMerge "Use getActivityToken() instead of mToken in isTopOfTask" into nyc-dev
Chong Zhang [Wed, 8 Jun 2016 01:12:25 +0000 (01:12 +0000)]
Merge "Use getActivityToken() instead of mToken in isTopOfTask" into nyc-dev

8 years agoMerge "Duplicate file descriptor when dumping asynchronously." into nyc-dev
TreeHugger Robot [Wed, 8 Jun 2016 01:08:40 +0000 (01:08 +0000)]
Merge "Duplicate file descriptor when dumping asynchronously." into nyc-dev

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 8 Jun 2016 01:03:04 +0000 (18:03 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 29169863
Change-Id: Ieac4df1080a37509c12c420f15e64063e9c15fc4

8 years agoMerge "Set fontScale in override config to be equal to global." into nyc-dev
Chong Zhang [Wed, 8 Jun 2016 00:59:43 +0000 (00:59 +0000)]
Merge "Set fontScale in override config to be equal to global." into nyc-dev

8 years agoChange unit of I/O statistics to MiB
Tianjie Xu [Thu, 2 Jun 2016 19:38:17 +0000 (12:38 -0700)]
Change unit of I/O statistics to MiB

I/O in bytes are too large and it may cause overflow. Moreover, data with
large numbers are grouped in the same bucket of the histogram. This adds
difficulty to the analysis. Changing unit of I/O to MiB so that we can
have a better data distribution.

Bug: 28658632
Change-Id: Id9913d71e62b36ce5d5d2e57676953f4dbd0c7c9

8 years agoMerge "Fix int overflow in SpannableStringBuilder.replace" into nyc-dev
Siyamed Sinir [Wed, 8 Jun 2016 00:46:27 +0000 (00:46 +0000)]
Merge "Fix int overflow in SpannableStringBuilder.replace" into nyc-dev

8 years agoMerge "Frameworks/base: Fix FastPrintWriter infinite loop" into nyc-dev
TreeHugger Robot [Wed, 8 Jun 2016 00:38:59 +0000 (00:38 +0000)]
Merge "Frameworks/base: Fix FastPrintWriter infinite loop" into nyc-dev

8 years agoRevert "Improve accessibility window title behavior"
Phil Weaver [Wed, 8 Jun 2016 00:34:40 +0000 (00:34 +0000)]
Revert "Improve accessibility window title behavior"

Bug: 29127065

This reverts commit 2a7e4442bf9892842e0fc7eba9296e8fcf9f8ea5.

Change-Id: Ibc5527cfedd49c685ffd1b8ae59e87ed99c93d39

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 8 Jun 2016 00:32:37 +0000 (17:32 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 29169863
Change-Id: I3d2586f7265f533c4b1620349c1a52851b4586e0

8 years agoMerge "Move legacy full disk encryption code to Settings." into nyc-dev
TreeHugger Robot [Wed, 8 Jun 2016 00:31:28 +0000 (00:31 +0000)]
Merge "Move legacy full disk encryption code to Settings." into nyc-dev

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 8 Jun 2016 00:16:36 +0000 (17:16 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 29169863
Change-Id: Icab456e7a193fc6099bbd6e7ff207d542e98830e

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 8 Jun 2016 00:02:34 +0000 (17:02 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 29169863
Change-Id: I717395f19e8605b4ad4af00b8601ff59c3acb73c

8 years agoHandle alarm firing outside of DND period.
Julia Reynolds [Thu, 2 Jun 2016 16:53:42 +0000 (12:53 -0400)]
Handle alarm firing outside of DND period.

Change-Id: Ib8bb878709ab8b5db8aba7f31e239e44409e18d4
Fixes: 28459870

8 years agoDuplicate file descriptor when dumping asynchronously.
Felipe Leme [Tue, 7 Jun 2016 23:14:07 +0000 (16:14 -0700)]
Duplicate file descriptor when dumping asynchronously.

dumpDbInfo() uses an async task when dumping from the system thread, but
then the file descriptor is closed by the time the task is executed. As
such, the system databases are not dumped.

BUG: 29123428
Change-Id: Ibb8bbe503aa03c3ca13b2b1789f0ead0b869e9d5

8 years agoFrameworks/base: Fix FastPrintWriter infinite loop
Andreas Gampe [Tue, 7 Jun 2016 23:02:23 +0000 (16:02 -0700)]
Frameworks/base: Fix FastPrintWriter infinite loop

Check for error condition in loop.

Bug: 29123428
Change-Id: I361ed27ecb8f05512d7e17f8045f3d34667d32d8

8 years agoMerge "Add usage line for dump-profiles" into nyc-dev
David Sehr [Tue, 7 Jun 2016 23:01:09 +0000 (23:01 +0000)]
Merge "Add usage line for dump-profiles" into nyc-dev

8 years agoSet fontScale in override config to be equal to global.
Chong Zhang [Sat, 4 Jun 2016 00:43:10 +0000 (17:43 -0700)]
Set fontScale in override config to be equal to global.

The default fontScale in EMPTY config is 1.0. This will result in
updateFrom always overriding the fontScale to 1.0 since it's non-zero.

We can't set it to 0.0 either as that will make the override config
not equal to EMPTY. The rest of the code doesn't work well with that.

So here we always set the override fontScale to be idential to global.

bug: 29113700
Change-Id: I1dbe507145b8190a9ae5e108948c833d4e037e1d

8 years agoMinor fixes to distribute cards and fab. am: 5ec3a404fb am: ba9c3d585f
Dirk Dougherty [Tue, 7 Jun 2016 22:53:20 +0000 (22:53 +0000)]
Minor fixes to distribute cards and fab. am: 5ec3a404fb am: ba9c3d585f
am: f5c85abac6

Change-Id: I2ea6f9370725235b9d63f6c5a843e42b09361315

8 years agoMinor fixes to distribute cards and fab. am: 5ec3a404fb
Dirk Dougherty [Tue, 7 Jun 2016 22:48:17 +0000 (22:48 +0000)]
Minor fixes to distribute cards and fab. am: 5ec3a404fb
am: ba9c3d585f

Change-Id: I6f250c2b9733562e388e2cd81ab9b7c365bb3c9a

8 years agoMinor fixes to distribute cards and fab.
Dirk Dougherty [Tue, 7 Jun 2016 22:45:30 +0000 (22:45 +0000)]
Minor fixes to distribute cards and fab.
am: 5ec3a404fb

Change-Id: I47c10ecd60b616bd0f343cb2309820c800d5a077

8 years agoMinor fixes to distribute cards and fab.
Dirk Dougherty [Tue, 7 Jun 2016 22:39:03 +0000 (15:39 -0700)]
Minor fixes to distribute cards and fab.

Change-Id: I125162be9d53faef0c477a2e2592624bb5869ff4

8 years agodocs: Added CL commands for data-saver testing am: b603eae9b3
Eric Schmidt [Tue, 7 Jun 2016 21:52:54 +0000 (21:52 +0000)]
docs: Added CL commands for data-saver testing am: b603eae9b3
am: 2d05938af9

* commit '2d05938af9e572ca9582552ad966c18b7b83e94f':
  docs: Added CL commands for data-saver testing

Change-Id: Ic0f9a82f05dc32b162013df51c155f2a1a206c45

8 years agodocs: Added CL commands for data-saver testing
Eric Schmidt [Tue, 7 Jun 2016 21:47:47 +0000 (21:47 +0000)]
docs: Added CL commands for data-saver testing
am: b603eae9b3

* commit 'b603eae9b363ca292d721243819dfd701a194b65':
  docs: Added CL commands for data-saver testing

Change-Id: I1f5bf236f72db694ddedfe6552f188242d5f61a1

8 years agodocs: Added CL commands for data-saver testing
Eric Schmidt [Tue, 31 May 2016 22:56:48 +0000 (15:56 -0700)]
docs: Added CL commands for data-saver testing

Bug: 28951799
Change-Id: I03ae59b1d98b8e58dc859c8158b318718c8a9f13

8 years agoQS: Show date even on small screens
Jason Monk [Tue, 7 Jun 2016 19:59:51 +0000 (15:59 -0400)]
QS: Show date even on small screens

People don't like to lose their date, so instead take away their
detailed alarm information.

Change-Id: Ia6a1c7b1ecdb73eeeadd45fc3708531eac588eee
Fixes: 28773347

8 years agoMerge "Fix getApplicationRestrictions documentation" into nyc-dev
Esteban Talavera [Tue, 7 Jun 2016 17:55:16 +0000 (17:55 +0000)]
Merge "Fix getApplicationRestrictions documentation" into nyc-dev

8 years agoFix getApplicationRestrictions documentation
Esteban Talavera [Tue, 7 Jun 2016 14:25:20 +0000 (15:25 +0100)]
Fix getApplicationRestrictions documentation

The method never returns null, only empty bundle

Bug: 29178626
Change-Id: Ic53154eafe94c6c501b59932441d7ae1c89cb689

8 years agoAdd usage line for dump-profiles
David Sehr [Tue, 7 Jun 2016 16:11:27 +0000 (09:11 -0700)]
Add usage line for dump-profiles

Previous commit did not include the usage line to be printed when user types
adb shell cmd package

Bug: 28748264
Change-Id: I0a684dbc44c8cc5ec7cd4eba82ce18feed53368c

8 years agoRedirect for AS error message regarding SDK license agreements am: 5fb0843a7f
Adarsh Fernando [Tue, 7 Jun 2016 16:04:39 +0000 (16:04 +0000)]
Redirect for AS error message regarding SDK license agreements am: 5fb0843a7f
am: fc329098d2

* commit 'fc329098d29ca24f2607af356cb19d23cafe6788':
  Redirect for AS error message regarding SDK license agreements

Change-Id: I59913b492063dd64c9c4d17784c9711f9d23fbad

8 years agoRedirect for AS error message regarding SDK license agreements
Adarsh Fernando [Tue, 7 Jun 2016 16:01:48 +0000 (16:01 +0000)]
Redirect for AS error message regarding SDK license agreements
am: 5fb0843a7f

* commit '5fb0843a7f276d8f597e8e6337d60e2901afd430':
  Redirect for AS error message regarding SDK license agreements

Change-Id: Ia741036afbe6d28082a63853ca3aaada487f7d53

8 years agoMake Settings->Apps can handle work apps even work profile not enabled yet
Ricky Wai [Tue, 7 Jun 2016 14:25:42 +0000 (15:25 +0100)]
Make Settings->Apps can handle work apps even work profile not enabled yet

Bug: 29090660
Change-Id: I74f79a4939fac16a09c7991181dc25e1ba4e5edc

8 years agoRedirect for AS error message regarding SDK license agreements
Adarsh Fernando [Tue, 7 Jun 2016 03:58:18 +0000 (20:58 -0700)]
Redirect for AS error message regarding SDK license agreements

- error message will provide a link to doc about importing
  license agreements from another workstatio
- Doc currently on TAC, may move to DAC

Change-Id: Iee2839f1dc7b6a5a1fb5a90ad499e1b0cddf5068

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Tue, 7 Jun 2016 03:13:21 +0000 (03:13 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoFrameworks/base: Update compiled-classes-phone
Andreas Gampe [Sat, 4 Jun 2016 00:40:34 +0000 (17:40 -0700)]
Frameworks/base: Update compiled-classes-phone

Another update.

Bug: 27248115
Change-Id: Ia208b37e9b9b649215ad1024ba0438627bc89f8a

8 years agoMerge "Frameworks/base: Update preloaded-classes" into nyc-dev
TreeHugger Robot [Tue, 7 Jun 2016 03:09:54 +0000 (03:09 +0000)]
Merge "Frameworks/base: Update preloaded-classes" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Tue, 7 Jun 2016 02:22:00 +0000 (02:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Tue, 7 Jun 2016 02:21:44 +0000 (02:21 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 7 Jun 2016 01:38:01 +0000 (18:38 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 6 Jun 2016 23:00:06 +0000 (16:00 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 6 Jun 2016 22:28:06 +0000 (15:28 -0700)]
Import translations. DO NOT MERGE

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

8 years agodocs: Update Android Dashboard for June 2016 am: ab59c24004
Joe Fernandez [Mon, 6 Jun 2016 22:13:10 +0000 (22:13 +0000)]
docs: Update Android Dashboard for June 2016 am: ab59c24004
am: b3ad0e05a8

* commit 'b3ad0e05a82cb53678a0fdbbcd45ed09b0cfdeed':
  docs: Update Android Dashboard for June 2016

Change-Id: I81e5cf24ecb6616ac4d6f89a160dfba0c5fba7a0

8 years agodocs: Update Android Dashboard for June 2016
Joe Fernandez [Mon, 6 Jun 2016 22:08:01 +0000 (22:08 +0000)]
docs: Update Android Dashboard for June 2016
am: ab59c24004

* commit 'ab59c240040448a51b3cb3b3cd8ec97e96cf6d80':
  docs: Update Android Dashboard for June 2016

Change-Id: If7daf8d73b8653b02f6f3f682c136947f25bec80

8 years agoFrameworks/base: Update preloaded-classes
Andreas Gampe [Sat, 4 Jun 2016 00:24:05 +0000 (17:24 -0700)]
Frameworks/base: Update preloaded-classes

Another update.

Bug: 27248115
Change-Id: Ie0c3b8624a0f43c400a71759c176c02c56d270af

8 years agodocs: Update Android Dashboard for June 2016
Joe Fernandez [Mon, 6 Jun 2016 21:56:23 +0000 (14:56 -0700)]
docs: Update Android Dashboard for June 2016

Change-Id: Iec84a33d5bc456e5feaf7dcee0880035c9b7c559

8 years agoQS Edit: Extra extra make sure hidden when locked
Jason Monk [Mon, 6 Jun 2016 20:18:50 +0000 (16:18 -0400)]
QS Edit: Extra extra make sure hidden when locked

Change-Id: I11a150dae5dbde97a61a4b00b857a856f8a409c2
Fixes: 28997488

8 years agoMerge "TIF: Set the surface secure" into nyc-dev
Jae Seo [Mon, 6 Jun 2016 19:55:28 +0000 (19:55 +0000)]
Merge "TIF: Set the surface secure" into nyc-dev

8 years agoadd redirect for removed dupe logcat page per: https://critique.corp.google.com/...
smain@google.com [Mon, 6 Jun 2016 19:51:08 +0000 (19:51 +0000)]
add redirect for removed dupe logcat page per: https://critique.corp.google.com/#review/122118806 bug: 29122576 am: 7573c42dbe
am: 78483fdc3d

* commit '78483fdc3d624401f32f9574d1800a6ccbf09428':
  add redirect for removed dupe logcat page per: https://critique.corp.google.com/#review/122118806 bug: 29122576

Change-Id: Ia027c9e91353b781f0a8334527bed4e6528e7c35

8 years agoadd redirect for removed dupe logcat page per: https://critique.corp.google.com/...
smain@google.com [Mon, 6 Jun 2016 19:45:55 +0000 (19:45 +0000)]
add redirect for removed dupe logcat page per: https://critique.corp.google.com/#review/122118806 bug: 29122576
am: 7573c42dbe

* commit '7573c42dbed65334ef3d86a06dd861a01f6d0ed4':
  add redirect for removed dupe logcat page per: https://critique.corp.google.com/#review/122118806 bug: 29122576

Change-Id: I8c81af0e1aab745ed10dbc8916edd22e7d3dd1a9

8 years agoadd redirect for removed dupe logcat page
smain@google.com [Mon, 6 Jun 2016 19:39:06 +0000 (12:39 -0700)]
add redirect for removed dupe logcat page
per: https://critique.corp.google.com/#review/122118806
bug: 29122576

Change-Id: Icf4f559bb7d246d4f340c15a55580e9248806cee

8 years agoMerge "DOCS: Updated Java 8 language support list with Type Annotations." into nyc-dev
Adarsh Fernando [Mon, 6 Jun 2016 19:30:52 +0000 (19:30 +0000)]
Merge "DOCS: Updated Java 8 language support list with Type Annotations." into nyc-dev

8 years agoMerge "migrate documents UI tests to use AndroidJUnitRunner" into nyc-dev
Guang Zhu [Mon, 6 Jun 2016 19:22:31 +0000 (19:22 +0000)]
Merge "migrate documents UI tests to use AndroidJUnitRunner" into nyc-dev

8 years agoMerge "Adding docsui prefix to access metric tags." into nyc-dev
Ben Lin [Mon, 6 Jun 2016 18:04:11 +0000 (18:04 +0000)]
Merge "Adding docsui prefix to access metric tags." into nyc-dev

8 years agoMerge "New non-priv prebuilt" into nyc-dev
Todd Kennedy [Mon, 6 Jun 2016 16:42:30 +0000 (16:42 +0000)]
Merge "New non-priv prebuilt" into nyc-dev

8 years agoNew non-priv prebuilt
Todd Kennedy [Mon, 6 Jun 2016 16:38:49 +0000 (09:38 -0700)]
New non-priv prebuilt

Need to target API 24 and not 'N'

Bug: 29116156
Change-Id: Iec215f41147ca13e955b02dc57eaabee89589cf0

8 years agoPackage changed/removed listeners for always-on VPN
Robin Lee [Fri, 13 May 2016 14:38:08 +0000 (15:38 +0100)]
Package changed/removed listeners for always-on VPN

Fix 2 problems of always-on vpn after always-on package is removed
1. Prevent network being locked down (blocking all network traffic)
   Otherwise, user has no way to download the vpn app from Play Store,
   and never be able to gain control of the network again.
2. Allow user to connect other vpn app.

Implementation
1. Switch off always-on mode if the package gets removed.
2. Restart always-on mode if the package gets replaced/upgraded.

Bug: 29050764
Change-Id: Id3e389ae0b11c6002a5167919292d9634c2014cb

8 years agomigrate documents UI tests to use AndroidJUnitRunner
Guang Zhu [Mon, 6 Jun 2016 15:24:31 +0000 (11:24 -0400)]
migrate documents UI tests to use AndroidJUnitRunner

The runner replaces deprecated InstrumentationTestRunner, provides
equivalent functionality, and in addition support JUnit4, sharding
and per test method timeout.

Change-Id: I1c76996d347d3f0f378997f5e7b871279c2b032f

8 years agoPackageManager: Rename foreign use markers on app installation.
Narayan Kamath [Thu, 2 Jun 2016 13:01:16 +0000 (14:01 +0100)]
PackageManager: Rename foreign use markers on app installation.

The foreign use markers contain the codePath for a given executable
dex file, so we'll need to rename them when the codePath changes
during an application update. If we don't do this, we might compile
that are used widely across processes (such as GMS core) with
suboptimal filters.

This seems like a messy and brittle design in general, and will be
rewritten post N so that we don't rely on file system topology.

bug: 28998083

Change-Id: Ie4f3995ba52f098edb911b5a388c63696bbd77ac

8 years agoPackageManager: Dexopt core-apps during service bringup.
Narayan Kamath [Wed, 1 Jun 2016 12:56:18 +0000 (13:56 +0100)]
PackageManager: Dexopt core-apps during service bringup.

Code from these apps can be loaded by the system_server and so
we need to make sure they're compiled before their package contexts
are requested. Leaving them interpreted will cause performance issues.

On a Nexus 6P with WITH_DEXPREOPT=false, this adds an additional
26 seconds to every upgrade / first-boot and ends up optimizing a total
of 20 apps.

bug: 28639246
Change-Id: Ief3c0048fda4f1b1742fbf3e2476e65fa607a18a

8 years agoMerge "Include network name in validation logs for dumpsys" into nyc-dev
Paul Jensen [Mon, 6 Jun 2016 11:08:44 +0000 (11:08 +0000)]
Merge "Include network name in validation logs for dumpsys" into nyc-dev

8 years agoMerge "Fix that fail to setup any vpn after Network Settings reset and always-on...
Robin Lee [Mon, 6 Jun 2016 10:10:54 +0000 (10:10 +0000)]
Merge "Fix that fail to setup any vpn after Network Settings reset and always-on vpn is on" into nyc-dev

8 years agoFix issue #29006049: Add logging for implicit broadcasts
Dianne Hackborn [Fri, 3 Jun 2016 00:15:08 +0000 (17:15 -0700)]
Fix issue #29006049: Add logging for implicit broadcasts

We now have stats on broadcasts.  We collect them over a day and
then reset, retaining the last days stats.  When a checkin happens,
we return either the last day or the current stats and then clear
them.  Not bothing to persist anything to storage, this data is
not that critical.

Change-Id: I1c3b331bcd03f79fa5e10575d9bc2ad7d9104f6f

8 years agoDOCS: Updated Java 8 language support list with Type Annotations.
Adarsh Fernando [Thu, 2 Jun 2016 18:14:30 +0000 (11:14 -0700)]
DOCS: Updated Java 8 language support list with Type Annotations.

Change-Id: I88773fbf1ce884bd625b3db72c36765871bb9fcc

8 years agoMove legacy full disk encryption code to Settings.
Jim Miller [Sat, 4 Jun 2016 01:39:16 +0000 (18:39 -0700)]
Move legacy full disk encryption code to Settings.

Fixes bug 27617297

Change-Id: I59455cc1fc46949348d2922834724ab40c14f886

8 years agoFix int overflow in SpannableStringBuilder.replace
Siyamed Sinir [Fri, 3 Jun 2016 23:22:17 +0000 (16:22 -0700)]
Fix int overflow in SpannableStringBuilder.replace

During the offset calculation for selection, SpannableStringBuilder
had an overflow while multiplying two int values. This CL uses long to
calculate the multiplication, and also checks for overflow after
casting the final result into int again.

Bug: 29108549
Change-Id: I11eff4677916701074b38bc5214730fe704707c4

8 years agoMerge "am/UserController: Log system uptime at two 'boot complete' markers." into...
TreeHugger Robot [Fri, 3 Jun 2016 22:01:02 +0000 (22:01 +0000)]
Merge "am/UserController: Log system uptime at two 'boot complete' markers." into nyc-dev

8 years agoCheck if task was top of stack before it's removed
Chong Zhang [Fri, 3 Jun 2016 21:38:33 +0000 (14:38 -0700)]
Check if task was top of stack before it's removed

To decide if home stack should be brought foreward. If the app is
finishing, it's no longer considered "running" and cleanUpActivityLocked
could move focus to the activity below. Then removeActivityFromHistoryLocked
would fail to bring front home stack as the removed task is no longer top.

bug: 29030518
Change-Id: I887e7c226258651d887cb0a4a6c6caab0a04e6e6

8 years agoAdd a separate read permission for oem unlock state
Amith Yamasani [Fri, 3 Jun 2016 17:12:47 +0000 (10:12 -0700)]
Add a separate read permission for oem unlock state

New privileged permission READ_OEM_UNLOCK_STATE added
for system privileged apps.

Changing the unlock state still requires the old
permission OEM_UNLOCK_STATE, which is signature protected.

Bug: 28953956
Change-Id: Iedd2ad1d2d1dc3ae91122d7c406e3ee623a47d61

8 years agoMerge "Fixed a bug where talkback couldn't scroll through notifications" into nyc-dev
Selim Cinek [Fri, 3 Jun 2016 20:39:23 +0000 (20:39 +0000)]
Merge "Fixed a bug where talkback couldn't scroll through notifications" into nyc-dev

8 years agoMerge "Delete account from DE and CE databases" into nyc-dev
TreeHugger Robot [Fri, 3 Jun 2016 20:00:26 +0000 (20:00 +0000)]
Merge "Delete account from DE and CE databases" into nyc-dev

8 years agoMerge "docs: Fix code sample in /work: Set up Single-Purpose Devices am: f4973c28a5...
Android Build Merger (Role) [Fri, 3 Jun 2016 18:57:23 +0000 (18:57 +0000)]
Merge "docs: Fix code sample in /work: Set up Single-Purpose Devices am: f4973c28a5 am: 90ee70e519" into nyc-dev

8 years agodocs: Fix code sample in /work: Set up Single-Purpose Devices am: f4973c28a5
Billy Lamberta [Fri, 3 Jun 2016 18:56:53 +0000 (18:56 +0000)]
docs: Fix code sample in /work: Set up Single-Purpose Devices am: f4973c28a5
am: 90ee70e519

* commit '90ee70e51927a1cd764bb523f419252547739803':
  docs: Fix code sample in /work: Set up Single-Purpose Devices

Change-Id: I19728a3809efb6c3341fa75678625ad0d617d4d5

8 years agoUse getActivityToken() instead of mToken in isTopOfTask
Chong Zhang [Fri, 3 Jun 2016 18:30:20 +0000 (11:30 -0700)]
Use getActivityToken() instead of mToken in isTopOfTask

mToken could be local tokan and causes IllegalArgumentException.

bug: 29072444
Change-Id: I0f889a70a848ffea31663ed80337e1605c75223e

8 years agoMerge "docs: Update N release notes for DP4" into nyc-dev
TreeHugger Robot [Fri, 3 Jun 2016 18:48:56 +0000 (18:48 +0000)]
Merge "docs: Update N release notes for DP4" into nyc-dev