246654 Commits

Author SHA1 Message Date
Jason Monk
181d3fec0a QS Edit: Extra extra make sure hidden when locked
Change-Id: I11a150dae5dbde97a61a4b00b857a856f8a409c2
Fixes: 28997488
2016-06-06 16:18:50 -04:00
TreeHugger Robot
56760c65df Merge "Add carrier config key for carrier setup app." into nyc-mr1-dev 2016-06-06 20:11:52 +00:00
Jae Seo
6cb63622e3 Merge "TIF: Set the surface secure" into nyc-dev
am: 9675f16bba

* commit '9675f16bba6837840038aea92e9db5893cecd33e':
  TIF: Set the surface secure

Change-Id: Iae2496a4b761b7635c49272b0611bec7db4b9040
2016-06-06 19:58:30 +00:00
smain@google.com
8730f3a1d1 add redirect for removed dupe logcat page per: https://critique.corp.google.com/#review/122118806 bug: 29122576 am: 7573c42dbe am: 78483fdc3d
am: 894e7b6f78

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

Change-Id: I0b1956c103ff0f6a843891c415b179103220e6e2
2016-06-06 19:55:40 +00:00
Jae Seo
9675f16bba Merge "TIF: Set the surface secure" into nyc-dev 2016-06-06 19:55:29 +00:00
smain@google.com
894e7b6f78 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
2016-06-06 19:51:08 +00:00
smain@google.com
78483fdc3d 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
2016-06-06 19:45:55 +00:00
smain@google.com
7573c42dbe add redirect for removed dupe logcat page
per: https://critique.corp.google.com/#review/122118806
bug: 29122576

Change-Id: Icf4f559bb7d246d4f340c15a55580e9248806cee
2016-06-06 12:40:51 -07:00
Adarsh Fernando
8a95c3d6d3 Merge "DOCS: Updated Java 8 language support list with Type Annotations." into nyc-dev
am: 90eece4a77

* commit '90eece4a7765c6574c9e5b21b258bff69e32fa4b':
  DOCS: Updated Java 8 language support list with Type Annotations.

Change-Id: If4927acde9ecabc934306c8ab001ed7eec4795d5
2016-06-06 19:35:45 +00:00
Adarsh Fernando
90eece4a77 Merge "DOCS: Updated Java 8 language support list with Type Annotations." into nyc-dev 2016-06-06 19:30:53 +00:00
Guang Zhu
217e152229 Merge "migrate documents UI tests to use AndroidJUnitRunner" into nyc-dev
am: 56cf05291e

* commit '56cf05291e1ffb54025a47ccb046f44c2d05ef14':
  migrate documents UI tests to use AndroidJUnitRunner

Change-Id: If5e573f0fdb7d9ff8e70f4172fb0adf38c2b552a
2016-06-06 19:27:52 +00:00
Guang Zhu
56cf05291e Merge "migrate documents UI tests to use AndroidJUnitRunner" into nyc-dev 2016-06-06 19:22:32 +00:00
Ben Lin
8454626813 Merge "Adding docsui prefix to access metric tags." into nyc-dev
am: de862e1cc8

* commit 'de862e1cc82d96d22394201cb8867b643e4f2e93':
  Adding docsui prefix to access metric tags.

Change-Id: Id3dc690e4f753af51acb406565c643d2fdc01ec1
2016-06-06 18:08:07 +00:00
Ben Lin
de862e1cc8 Merge "Adding docsui prefix to access metric tags." into nyc-dev 2016-06-06 18:04:12 +00:00
Stuart Scott
9abc2735fa Add carrier config key for carrier setup app.
bug:28374700
bug:28374253
Change-Id: Icf56d4d2a89e32a062f3b8cc624f17e06c994599
2016-06-06 10:42:18 -07:00
Selim Cinek
90b6a276bf Fixed a flicker when closing QS without notifications
Change-Id: I0ca13626a676d0adf427d95edd76dd1bd2228fdc
Fixes: 28008271
2016-06-06 17:20:33 +00:00
Todd Kennedy
f1e788dfce Merge "New non-priv prebuilt" into nyc-dev
am: 262ff10eb2

* commit '262ff10eb2d373e95677d2c9bead794dc4a43805':
  New non-priv prebuilt

Change-Id: Ifc6f3b0292b9919d24f79d8cd8193845c72aa1ff
2016-06-06 16:45:57 +00:00
Todd Kennedy
262ff10eb2 Merge "New non-priv prebuilt" into nyc-dev 2016-06-06 16:42:32 +00:00
Todd Kennedy
317d352de3 New non-priv prebuilt
Need to target API 24 and not 'N'

Bug: 29116156
Change-Id: Iec215f41147ca13e955b02dc57eaabee89589cf0
2016-06-06 09:38:49 -07:00
Narayan Kamath
23dca60005 PackageManager: Rename foreign use markers on app installation.
am: 110a12dff1

* commit '110a12dff13276baa12e8587449a1a7f3a318451':
  PackageManager: Rename foreign use markers on app installation.

Change-Id: I9b3450fe63781dff6c7b36053019a98e135ca71d
2016-06-06 16:11:51 +00:00
Robin Lee
812800cb92 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
2016-06-06 15:42:50 +00:00
Guang Zhu
1ebd8416ae 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
2016-06-06 11:24:31 -04:00
Narayan Kamath
78f8b9b111 PackageManager: Dexopt core-apps during service bringup.
am: 258aa3e56b

* commit '258aa3e56b02b95e8e855ef949a29babe178b4a5':
  PackageManager: Dexopt core-apps during service bringup.

Change-Id: I2fe2508835b564f8d69a5aa743c6f9ea9f1575cc
2016-06-06 15:24:01 +00:00
Narayan Kamath
110a12dff1 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
2016-06-06 14:38:52 +01:00
Narayan Kamath
258aa3e56b 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
2016-06-06 14:38:52 +01:00
Paul Jensen
9a33e1c81e Merge "Include network name in validation logs for dumpsys" into nyc-dev
am: 916f79882d

* commit '916f79882d7867d27fbd7abb32ec53028d9d3951':
  Include network name in validation logs for dumpsys

Change-Id: Ic5345cb7f309e509c7b9d7cb7b7ec4b95b8f1102
2016-06-06 11:23:51 +00:00
Paul Jensen
916f79882d Merge "Include network name in validation logs for dumpsys" into nyc-dev 2016-06-06 11:08:45 +00:00
Victor Chang
d2cf835880 Merge "Fix that fail to setup any vpn after Network Settings reset and always-on vpn is on" into nyc-dev
am: 265f4113ee

* commit '265f4113ee42e89f324b087a81044a9f1dab457e':
  Fix that fail to setup any vpn after Network Settings reset and always-on vpn is on

Change-Id: I86a8f5c9b2dbd8ea71bdc8fb6268f3d9dc7e329d
2016-06-06 10:30:42 +00:00
Robin Lee
265f4113ee Merge "Fix that fail to setup any vpn after Network Settings reset and always-on vpn is on" into nyc-dev 2016-06-06 10:10:56 +00:00
Dianne Hackborn
13c2764cef Fix issue #29006049: Add logging for implicit broadcasts
am: bc02a3901d

* commit 'bc02a3901dea52d236dd855722191155156cb856':
  Fix issue #29006049: Add logging for implicit broadcasts

Change-Id: Ifd88a4ce68bd9c2853d085bb10f74df682ae8ee6
2016-06-05 18:17:01 +00:00
Dianne Hackborn
bc02a3901d 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
2016-06-04 23:40:12 -07:00
Chen Xu
ba3428f01b Merge "cold sim clean up" into nyc-mr1-dev 2016-06-04 05:48:47 +00:00
Adarsh Fernando
c302c298ba DOCS: Updated Java 8 language support list with Type Annotations.
Change-Id: I88773fbf1ce884bd625b3db72c36765871bb9fcc
2016-06-03 19:35:59 -07:00
Jim Miller
525ca53b4f Move legacy full disk encryption code to Settings.
Fixes bug 27617297

Change-Id: I59455cc1fc46949348d2922834724ab40c14f886
2016-06-03 18:39:16 -07:00
Jorim Jaggi
72a6f058cf Fix delayed light status bar animation
Make sure to do another layout when we show the dim layer so PWM
can pick up the change and send it to SysUI.

Bug: 28434629
Change-Id: I877669ede8534601933043f60c8cef8502918c7b
2016-06-04 01:17:31 +00:00
Siyamed Sinir
eb4df8a822 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
2016-06-03 18:11:45 -07:00
TreeHugger Robot
c27660d45a Merge "Add new attributes for wallpaper info" into nyc-mr1-dev 2016-06-04 00:22:06 +00:00
Jorim Jaggi
526505da25 Add new attributes for wallpaper info
Adjust test wallpaper to use these attributes.

Also fix some issues where wallpaper got laid out differently in the preview
mode.

Bug: 28770685
Change-Id: I259f3884f5f2c0b723a6a5ce012d45170f64c4c7
2016-06-03 15:50:31 -07:00
George Mount
3af59ef42c Merge "Internal API for cross-task Activity used by assistant." into nyc-mr1-dev 2016-06-03 22:22:53 +00:00
James Hawkins
440e3c7dfe Merge "am/UserController: Log system uptime at two \'boot complete\' markers." into nyc-dev
am: eb47d6205f

* commit 'eb47d6205f28d89d8bb1a3e127659dc24727fa7e':
  am/UserController: Log system uptime at two 'boot complete' markers.

Change-Id: I487eaa279cc0054675c722d1c91b82598b4dd45d
2016-06-03 22:20:14 +00:00
Selim Cinek
6efad815c2 Merge "Fixed a bug where talkback couldn\'t scroll through notifications" into nyc-dev
am: 6c94972622

* commit '6c94972622a5fa6c2f0beb16f190015e81584013':
  Fixed a bug where talkback couldn't scroll through notifications

Change-Id: I41bf71eabe7ab90cd93df33c28ac07ad5abd8354
2016-06-03 22:18:16 +00:00
Fyodor Kupolov
de5521d049 Merge "Delete account from DE and CE databases" into nyc-dev
am: a087d7f4fa

* commit 'a087d7f4fa6de262aef346acb336fcb826d05d23':
  Delete account from DE and CE databases

Change-Id: Id21fda0bca3c257f5ba8e68fb09a6de47f8f3374
2016-06-03 22:18:15 +00:00
Billy Lamberta
ce13039f1d Merge "docs: Fix code sample in /work: Set up Single-Purpose Devices am: f4973c28a5 am: 90ee70e519" into nyc-dev
am: c0b602c441

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

Change-Id: I18a126393bb04d0325946a980f247edd2f3788ad
2016-06-03 22:18:13 +00:00
Andrew Solovay
37286f7092 Merge "docs: Update N release notes for DP4" into nyc-dev
am: e20c1e96fc

* commit 'e20c1e96fc0bb85ad5fe52ec1734c2563886dab0':
  docs: Update N release notes for DP4

Change-Id: Iee292ba0b9f1f1eae2dcaadf58a06b75e4d5c8f3
2016-06-03 22:18:11 +00:00
Todd Kennedy
b724b68812 Merge "New prebuilt" into nyc-dev
am: 93b34141b1

* commit '93b34141b1de89a8f176884c3ceb7bc968b252d0':
  New prebuilt

Change-Id: I4a9041473718ae00499dcccb2ccf98204ccfb80a
2016-06-03 22:17:58 +00:00
TreeHugger Robot
eb47d6205f Merge "am/UserController: Log system uptime at two 'boot complete' markers." into nyc-dev 2016-06-03 22:01:05 +00:00
Chong Zhang
e4cf36fbd1 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
2016-06-03 14:38:33 -07:00
Amith Yamasani
d2b21047c8 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
2016-06-03 14:33:26 -07:00
Robert Carr
0409211e7f Ensure pinned animation scaling is consistently applied.
For the pinned stack animation, we have the special mode
where setSurfaceBoundaries computes additional scaling
factors to force the window to occupy the stack size
(which we animate). We need to make sure prepareSurfaceLocked
also respects these scaling factors or we have issues when
switching in and out of the fullscreen stack.

Bug: 28899837
Change-Id: I72ccba54b38993693ff6771882fb99ef82af5827
2016-06-03 14:31:58 -07:00
George Mount
04073dc5be Internal API for cross-task Activity used by assistant.
29091742

A new internal API has been created for use by assistant
to launch an Activity Transition from a non-Activity.

The ActivityOptions are also passed along when using
a spring board Activity so that the shared elements
can be properly synchronized.

This also fixes TransitionManager.endTransition so
that it forces Transitions to end the animations.

Change-Id: Id18d9765bfc0c7b438e17966455aa66d3fa3aeda
2016-06-03 14:08:06 -07:00