OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Fix ConfirmCredential is not presented before trusting cert installed by PO...
Victor Chang [Wed, 11 May 2016 14:43:13 +0000 (14:43 +0000)]
Merge "Fix ConfirmCredential is not presented before trusting cert installed by PO/DO" into nyc-dev

8 years agoMerge "Fix secondary ABI instrumetion" into nyc-dev
Todd Kennedy [Wed, 11 May 2016 14:35:18 +0000 (14:35 +0000)]
Merge "Fix secondary ABI instrumetion" into nyc-dev

8 years agoAdd constants for settings pages
Jason Monk [Tue, 10 May 2016 17:25:50 +0000 (13:25 -0400)]
Add constants for settings pages

Some settings pages weren't extending SettingsPreferenceFragment
and they need to.

Bug: 28634520
Change-Id: Iebb63027b6390974eb2070b3388763d49e9529e6

8 years agoMerge "Make collapsed QS work the same as expanded" into nyc-dev
Jason Monk [Wed, 11 May 2016 13:37:17 +0000 (13:37 +0000)]
Merge "Make collapsed QS work the same as expanded" into nyc-dev

8 years agoMerge "Log optimizing apps dialog time in seconds (and not decis)." into nyc-dev
TreeHugger Robot [Wed, 11 May 2016 12:38:30 +0000 (12:38 +0000)]
Merge "Log optimizing apps dialog time in seconds (and not decis)." into nyc-dev

8 years agoMerge "GradientColor: Fix typo in documentation." into nyc-dev
Greg Kaiser [Wed, 11 May 2016 12:32:17 +0000 (12:32 +0000)]
Merge "GradientColor: Fix typo in documentation." into nyc-dev

8 years agoLog optimizing apps dialog time in seconds (and not decis).
Narayan Kamath [Wed, 11 May 2016 10:50:43 +0000 (11:50 +0100)]
Log optimizing apps dialog time in seconds (and not decis).

bug: 28528058
bug: 28544474
Change-Id: Ib95d5625640c3c8d27d1844c49188570d7196ee2

8 years agoMerge "Fix AbstractStringBuilder gaining extra APIs." into nyc-dev
Joachim Sauer [Wed, 11 May 2016 09:25:07 +0000 (09:25 +0000)]
Merge "Fix AbstractStringBuilder gaining extra APIs." into nyc-dev

8 years agoMerge "CEC: Handle <Active Source> from AVR properly" into nyc-dev
Donghyun Cho [Wed, 11 May 2016 06:20:08 +0000 (06:20 +0000)]
Merge "CEC: Handle <Active Source> from AVR properly" into nyc-dev

8 years agofix redirects, as per linkchecker cl: https://critique.corp.google.com/#review/122012...
smain@google.com [Wed, 11 May 2016 05:11:32 +0000 (05:11 +0000)]
fix redirects, as per linkchecker cl: https://critique.corp.google.com/#review/122012121 am: 0772f44acf am: 718d27d8dc
am: 53b552d7f3

* commit '53b552d7f3f7071019a3c84d58d1e3fccc642c71':
  fix redirects, as per linkchecker cl: https://critique.corp.google.com/#review/122012121

Change-Id: Ie72fb65bdff90844cec767250cb33bbfba72c9f7

8 years agofix redirects, as per linkchecker cl: https://critique.corp.google.com/#review/122012...
smain@google.com [Wed, 11 May 2016 05:08:30 +0000 (05:08 +0000)]
fix redirects, as per linkchecker cl: https://critique.corp.google.com/#review/122012121 am: 0772f44acf
am: 718d27d8dc

* commit '718d27d8dcd94a8b86ceb6e63782c8265f101570':
  fix redirects, as per linkchecker cl: https://critique.corp.google.com/#review/122012121

Change-Id: I0d6623892a7dc99a35a2ef4f2e1f9431ab111117

8 years agofix redirects, as per linkchecker cl: https://critique.corp.google.com/#review/122012121
smain@google.com [Wed, 11 May 2016 05:05:52 +0000 (05:05 +0000)]
fix redirects, as per linkchecker cl: https://critique.corp.google.com/#review/122012121
am: 0772f44acf

* commit '0772f44acfb710b9e587f543f9e4424c555c9083':
  fix redirects, as per linkchecker cl: https://critique.corp.google.com/#review/122012121

Change-Id: Ie8bfb9a6fe9858300571669e1fc2efe58d55b848

8 years agofix redirects,
smain@google.com [Wed, 11 May 2016 04:58:52 +0000 (21:58 -0700)]
fix redirects,
as per linkchecker cl: https://critique.corp.google.com/#review/122012121

Change-Id: Ie0ff7349f5018913d63bf8c169dd4eacc7faca64

8 years agonew downloads and notes for studio 2.1.1 security update am: 77f368fed9 -s ours...
smain@google.com [Wed, 11 May 2016 03:18:57 +0000 (03:18 +0000)]
new downloads and notes for studio 2.1.1 security update am: 77f368fed9  -s ours am: 58b25d39a5 am: 2558617210
am: 3b3b5f8f31

* commit '3b3b5f8f31693e08a5f3bcf9a24576b16be30245':
  new downloads and notes for studio 2.1.1 security update

Change-Id: Idb41c0fe61c4c09dd045db9c7fcf2ba05ec438e7

8 years agonew downloads and notes for studio 2.1.1 security update am: 77f368fed9 -s ours...
smain@google.com [Wed, 11 May 2016 03:16:20 +0000 (03:16 +0000)]
new downloads and notes for studio 2.1.1 security update am: 77f368fed9  -s ours am: 58b25d39a5
am: 2558617210

* commit '25586172107ca82f212e685c505e9f1a536ffa13':
  new downloads and notes for studio 2.1.1 security update

Change-Id: I7c0a70735fa144052c57817b0d91745ac92c5251

8 years agonew downloads and notes for studio 2.1.1 security update am: 77f368fed9 -s ours
smain@google.com [Wed, 11 May 2016 03:13:43 +0000 (03:13 +0000)]
new downloads and notes for studio 2.1.1 security update am: 77f368fed9  -s ours
am: 58b25d39a5

* commit '58b25d39a5d778ff666fb0a9d9838a66dc071c9c':
  new downloads and notes for studio 2.1.1 security update

Change-Id: If13f2134f06733cb4707cac29d8489e1b76095df

8 years agonew downloads and notes for studio 2.1.1 security update
smain@google.com [Wed, 11 May 2016 03:11:28 +0000 (03:11 +0000)]
new downloads and notes for studio 2.1.1 security update
am: 77f368fed9  -s ours

* commit '77f368fed9457c93778f7b155d883751c553a7fa':
  new downloads and notes for studio 2.1.1 security update

Change-Id: Ic44876292fe62f872f2a8c165610e227c3b2453f

8 years agodocs: DoDS Wear reference docs (regenerated) am: 95df02229c am: bc2c9b6d4c
Joe Fernandez [Wed, 11 May 2016 02:45:44 +0000 (02:45 +0000)]
docs: DoDS Wear reference docs (regenerated) am: 95df02229c am: bc2c9b6d4c
am: 6bbab0d7e8

* commit '6bbab0d7e8f200be4f4f58c3cdfe433c75aaf48d':
  docs: DoDS Wear reference docs (regenerated)

Change-Id: I45c17dc1369004a243e8be0738798ae362fe4932

8 years agodocs: DoDS Wear reference docs (regenerated) am: 95df02229c
Joe Fernandez [Wed, 11 May 2016 02:42:40 +0000 (02:42 +0000)]
docs: DoDS Wear reference docs (regenerated) am: 95df02229c
am: bc2c9b6d4c

* commit 'bc2c9b6d4c271b7d9bd4c5ec43246e5d9a142a56':
  docs: DoDS Wear reference docs (regenerated)

Change-Id: I40a099f31d71cd4c7dc30d91297a41d77d69d6eb

8 years agodocs: DoDS Wear reference docs (regenerated)
Joe Fernandez [Wed, 11 May 2016 02:40:01 +0000 (02:40 +0000)]
docs: DoDS Wear reference docs (regenerated)
am: 95df02229c

* commit '95df02229cd96d2bdb6c3966f0957e9faaeb72ad':
  docs: DoDS Wear reference docs (regenerated)

Change-Id: Iad7c032b5557ba856c8b59d6e492a03034804b18

8 years agoCEC: Handle <Active Source> from AVR properly
Donghyun Cho [Tue, 10 May 2016 11:06:52 +0000 (20:06 +0900)]
CEC: Handle <Active Source> from AVR properly

To avoid timing issues, handling of <Active Source> was delayed until
corresponding tv input becomes ready. However, AVR is not considered as
a tv input, so delayed <Active Source> will not be processed. This
change makes <Active Source> from AVR handled immediately rather than
buffered.

Bug: 25630805
Change-Id: Iae8e86a84b5a9e5a2e62e457aaf93da67f145fac

8 years agodocs: DoDS Wear reference docs (regenerated)
Joe Fernandez [Wed, 11 May 2016 00:27:12 +0000 (17:27 -0700)]
docs: DoDS Wear reference docs (regenerated)

b/28462526

Change-Id: I59874b401aafb76f965a9dc734db73abf68a1250

8 years agoMerge "Fail upgrades that change storage devices." into nyc-dev
TreeHugger Robot [Wed, 11 May 2016 01:02:31 +0000 (01:02 +0000)]
Merge "Fail upgrades that change storage devices." into nyc-dev

8 years agoDon't stage content drawn bounds
Jorim Jaggi [Tue, 10 May 2016 02:05:22 +0000 (19:05 -0700)]
Don't stage content drawn bounds

It's certainly not needed for two up, so remove the staging aspect.

Freeform resizing is currently broken because of another bug so this
can't be tested, but because we are not "shipping" it in any case
fixing the 2-up bug is more important, but it shouldn't break freeform
anyways.

Bug: 28618501
Change-Id: I6f285a714281fde50fd7328a3f8999cfa8dfb2c5

8 years agoMerge "Push unlocking/unlocked state to UserManager" into nyc-dev
Fyodor Kupolov [Wed, 11 May 2016 00:27:47 +0000 (00:27 +0000)]
Merge "Push unlocking/unlocked state to UserManager" into nyc-dev

8 years agoMerge "Fix javadoc missing possible return value in AudioRecordingConfiguration"...
Jean-Michel Trivi [Wed, 11 May 2016 00:07:46 +0000 (00:07 +0000)]
Merge "Fix javadoc missing possible return value in AudioRecordingConfiguration" into nyc-dev

8 years agoMerge "Resource shared libraries: fix theme references" into nyc-dev
Adam Lesinski [Wed, 11 May 2016 00:05:53 +0000 (00:05 +0000)]
Merge "Resource shared libraries: fix theme references" into nyc-dev

8 years agoGradientColor: Fix typo in documentation.
Greg Kaiser [Mon, 9 May 2016 13:09:28 +0000 (06:09 -0700)]
GradientColor: Fix typo in documentation.

Bug: 28678266
Change-Id: I8f551108643698a1b6c573911509a4e48ad88783

8 years agoMerge "TIF: Fix comments for program start/end times" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 23:36:42 +0000 (23:36 +0000)]
Merge "TIF: Fix comments for program start/end times" into nyc-dev

8 years agoMerge "Add WebView scroll activity to UiBench" into nyc-dev
Chris Craik [Tue, 10 May 2016 23:31:21 +0000 (23:31 +0000)]
Merge "Add WebView scroll activity to UiBench" into nyc-dev

8 years agoAlways update cached copy of authenticatorId.
Jim Miller [Tue, 10 May 2016 01:31:22 +0000 (18:31 -0700)]
Always update cached copy of authenticatorId.

This fixes a bug where the cached copy of authenticatorId
was incorrect immediately after enrolling a new fingerprint.
During enroll, the authenticatorId is changed and needs to be updated.
The fix is to always get the new authenticatorId when we
call setActiveGroup(), which happens during every new

Fixes bug 28606914

Change-Id: I8b2d3afe67b3677b6e4516a550d874d9c2e426cd

8 years agoMerge "Fixed a bug where the content wasn't transforming in a group" into nyc-dev
Selim Cinek [Tue, 10 May 2016 23:14:00 +0000 (23:14 +0000)]
Merge "Fixed a bug where the content wasn't transforming in a group" into nyc-dev

8 years agoMerge "Fixed a bug where the positioning on the lockscreen was wrong" into nyc-dev
Selim Cinek [Tue, 10 May 2016 23:13:50 +0000 (23:13 +0000)]
Merge "Fixed a bug where the positioning on the lockscreen was wrong" into nyc-dev

8 years agoFail upgrades that change storage devices.
Jeff Sharkey [Tue, 10 May 2016 23:01:49 +0000 (17:01 -0600)]
Fail upgrades that change storage devices.

Now that we live in an FBE world, we need the user to be involved
with every package move to ensure that CE storage is unlocked.  This
means that a package upgrade session that would require moving an
app between storage devices cannot be satisfied.

Bug: 27147501
Change-Id: I274d85cbed727d9185178b77bfc6cef196df17f5

8 years agoMerge "Fix density change bugs in SystemUI" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 22:38:25 +0000 (22:38 +0000)]
Merge "Fix density change bugs in SystemUI" into nyc-dev

8 years agoMerge "Fix multi-window assiststructure trashing" into nyc-dev
Amith Yamasani [Tue, 10 May 2016 22:29:18 +0000 (22:29 +0000)]
Merge "Fix multi-window assiststructure trashing" into nyc-dev

8 years agoTIF: Fix comments for program start/end times
Jae Seo [Tue, 10 May 2016 22:17:08 +0000 (15:17 -0700)]
TIF: Fix comments for program start/end times

Bug: 28681747
Change-Id: I28a7359121ca1740c043806e1532ce922c753cbc

8 years agoFix secondary ABI instrumetion
Todd Kennedy [Tue, 10 May 2016 20:45:40 +0000 (13:45 -0700)]
Fix secondary ABI instrumetion

When installing an APK that supports multiple ABIs, the ABI installed
can be forced to the secondary ABI [i.e. On devices that support both
32 and 64 bit variants, the 32-bit version can be forced when it's
the secondary ABI.] In this case, instrumenting the class always tried
to use the primary ABI. Instead of blindly using the primary ABI and
dropping the secondary ABI, we propagate both ABIs and make a
decision on which one should be chosen.

Bug: 28406240
Change-Id: I7ebb2fd264d2281912afd30f6d73ccb460f9cf85

8 years agoMerge "ExifInterface: Set mPosition in AssetStream with proper values" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 22:06:40 +0000 (22:06 +0000)]
Merge "ExifInterface: Set mPosition in AssetStream with proper values" into nyc-dev

8 years agoMerge "Move Activity multi-window event logic out of the public methods" into nyc-dev
Adam Powell [Tue, 10 May 2016 21:34:27 +0000 (21:34 +0000)]
Merge "Move Activity multi-window event logic out of the public methods" into nyc-dev

8 years agoDisable keep_screen_on traces
Chong Zhang [Tue, 10 May 2016 18:20:14 +0000 (11:20 -0700)]
Disable keep_screen_on traces

bug: 28692100
bug: 27522448

Change-Id: Ic077e8985f1f21bc111287813fb2992ed01df909

8 years agoMerge "Reducing the number of recent tasks we keep." into nyc-dev
Winson Chung [Tue, 10 May 2016 21:33:32 +0000 (21:33 +0000)]
Merge "Reducing the number of recent tasks we keep." into nyc-dev

8 years agoMerge "Fixes for restoring more than one child surfaces" into nyc-dev
Chong Zhang [Tue, 10 May 2016 21:30:39 +0000 (21:30 +0000)]
Merge "Fixes for restoring more than one child surfaces" into nyc-dev

8 years agoMerge "Updating redirects to correct Studio Tips and Tricks am: 8e2431513f am: 908a87...
Android Build Merger (Role) [Tue, 10 May 2016 21:25:16 +0000 (21:25 +0000)]
Merge "Updating redirects to correct Studio Tips and Tricks am: 8e2431513f am: 908a8703f0 am: c712fdcc45" into nyc-dev

8 years agoUpdating redirects to correct Studio Tips and Tricks am: 8e2431513f am: 908a8703f0
Mary Yanchar [Tue, 10 May 2016 21:24:50 +0000 (21:24 +0000)]
Updating redirects to correct Studio Tips and Tricks am: 8e2431513f am: 908a8703f0
am: c712fdcc45

* commit 'c712fdcc4524face58cec7afd711a4d66db80e8d':
  Updating redirects to correct Studio Tips and Tricks

Change-Id: I04d4614b395e74e058b6b727f254612fa5d62d98

8 years agoMerge "Remove rifle (1F946) from emoji font." into nyc-dev
Doug Felt [Tue, 10 May 2016 21:24:34 +0000 (21:24 +0000)]
Merge "Remove rifle (1F946) from emoji font." into nyc-dev

8 years agoMerge "Updating redirects to correct Studio Tips and Tricks am: 8e2431513f am: 908a87...
Android Build Merger (Role) [Tue, 10 May 2016 21:22:56 +0000 (21:22 +0000)]
Merge "Updating redirects to correct Studio Tips and Tricks am: 8e2431513f am: 908a8703f0 am: c712fdcc45" into nyc-dev

8 years agoUpdating redirects to correct Studio Tips and Tricks am: 8e2431513f am: 908a8703f0
Mary Yanchar [Tue, 10 May 2016 21:22:33 +0000 (21:22 +0000)]
Updating redirects to correct Studio Tips and Tricks am: 8e2431513f am: 908a8703f0
am: c712fdcc45

* commit 'c712fdcc4524face58cec7afd711a4d66db80e8d':
  Updating redirects to correct Studio Tips and Tricks

Change-Id: Iecda302c587733e8cd8f741aa8af52cb1cf8975c

8 years agoUpdating redirects to correct Studio Tips and Tricks am: 8e2431513f
Mary Yanchar [Tue, 10 May 2016 21:19:54 +0000 (21:19 +0000)]
Updating redirects to correct Studio Tips and Tricks am: 8e2431513f
am: 908a8703f0

* commit '908a8703f0119367255d1d1a184f2f9b9b9c074a':
  Updating redirects to correct Studio Tips and Tricks

Change-Id: I4425c56a5e44b9c4426fab180ebcfbce702e660d

8 years agoMerge "Sum up character widths to get the last line width for ellipsis." into nyc-dev
Keisuke Kuroyanagi [Tue, 10 May 2016 21:16:01 +0000 (21:16 +0000)]
Merge "Sum up character widths to get the last line width for ellipsis." into nyc-dev

8 years agoUpdating redirects to correct Studio Tips and Tricks
Mary Yanchar [Tue, 10 May 2016 21:13:51 +0000 (21:13 +0000)]
Updating redirects to correct Studio Tips and Tricks
am: 8e2431513f

* commit '8e2431513fbc32b64e240b9b39995b1217111bc6':
  Updating redirects to correct Studio Tips and Tricks

Change-Id: I16c631bb7ec38fba7ba11132c85e90cb205ff26d

8 years agoFixed a bug where the content wasn't transforming in a group
Selim Cinek [Tue, 10 May 2016 21:11:54 +0000 (17:11 -0400)]
Fixed a bug where the content wasn't transforming in a group

Too many booleans.

Change-Id: I1451484b1abcae3880448db60cff18ad97e9505f
Fixes: 28677158

8 years agoMerge "Revert "Two phases to set the password for disk encryption"" into nyc-dev
Paul Crowley [Tue, 10 May 2016 21:07:57 +0000 (21:07 +0000)]
Merge "Revert "Two phases to set the password for disk encryption"" into nyc-dev

8 years agoFix density change bugs in SystemUI
Adrian Roos [Thu, 5 May 2016 14:50:49 +0000 (10:50 -0400)]
Fix density change bugs in SystemUI

- Reinflate KeyguardUserSwitcher on density changes.
- Update size of UserAvatar on Keyguard.
- Fix brightness slider width in quick settings.
- Refetch and rescale user icons on density changes.

Change-Id: I961c59b8b224d6ac22cbbb8e115b8a12547a04b9
Fixes: 28535987
Fixes: 28454340

8 years agoReducing the number of recent tasks we keep.
Winson [Tue, 10 May 2016 20:59:36 +0000 (13:59 -0700)]
Reducing the number of recent tasks we keep.

- This should decrease the time it takes to fetch the recent task list,
  and also reduce the number of tasks we store on-disk.
- Since a user can still open a fair number of tasks within the
  time-window, and this list includes tasks that are excluded from the
  UI, we are just reducing it to about half for the time being.

Bug: 28318359
Change-Id: Ie21b3d3d09a567007015fbbecaf914123c71cc06

8 years agoMerge "Addressing API council comments on NetworkStatsManager." into nyc-dev
Antonio Cansado [Tue, 10 May 2016 20:58:32 +0000 (20:58 +0000)]
Merge "Addressing API council comments on NetworkStatsManager." into nyc-dev

8 years agoRevert "Two phases to set the password for disk encryption"
Paul Crowley [Tue, 10 May 2016 20:36:56 +0000 (20:36 +0000)]
Revert "Two phases to set the password for disk encryption"

This reverts commit 17e5dce5112fece2d2b9cd070c2f96bf65108e40.

Bug: 28694324
Change-Id: I6d89bc26cb429b195c9bcf640666c495617257b7

8 years agoMerge "Fix the issue that App crash on startForeground" into nyc-dev
Amith Yamasani [Tue, 10 May 2016 20:31:46 +0000 (20:31 +0000)]
Merge "Fix the issue that App crash on startForeground" into nyc-dev

8 years agoMerge "Update docs for DELETE_PACKAGES permission." into nyc-dev
Sudheer Shanka [Tue, 10 May 2016 20:28:35 +0000 (20:28 +0000)]
Merge "Update docs for DELETE_PACKAGES permission." into nyc-dev

8 years agoFixed a bug where the positioning on the lockscreen was wrong
Selim Cinek [Tue, 10 May 2016 19:50:53 +0000 (15:50 -0400)]
Fixed a bug where the positioning on the lockscreen was wrong

Because of a circular dependancy of calculating the notification
heights and setting them to GONE, the views could be laid out in a
wrong fashion. Another issue was that ambient notifications would
still be taken into account as well as removed notifications.

This also lead to a bug where the removal of notifications could
lead to unnecessary add animations when swiping them away.

Change-Id: If9ad81237a520b14dc6851df3af52406d192a7a7
Fixes: 28441832

8 years agoAddressing API council comments on NetworkStatsManager.
Antonio Cansado [Wed, 30 Mar 2016 18:37:18 +0000 (11:37 -0700)]
Addressing API council comments on NetworkStatsManager.

Callbacks
 - DataUsageCallback renamed to UsageCallback
 - DataUsagePolicy removed; passing in params directly to register method
 - making it an abstract class
 - passing in (networkType, subscriberId) that reached its threshold
 - renaming onLimitReached to onThresholdReached to match existing naming
 - only monitor single network,subscriberId
 - no monitoring of specific uids; using device or user wide instead

Tags
 - only owner uid can read its tags
 - exposing only TAG_NONE to match service side

BUG: 27530098

Change-Id: I2b2664da71806868a1e937d2bf4d1f234637509b

8 years agoMerge "Reduce cost of a11y services with magnification." into nyc-dev
Phil Weaver [Tue, 10 May 2016 20:18:11 +0000 (20:18 +0000)]
Merge "Reduce cost of a11y services with magnification." into nyc-dev

8 years agoMerge "Hide notification before tie managed profile lock" into nyc-dev
Paul Crowley [Tue, 10 May 2016 20:12:40 +0000 (20:12 +0000)]
Merge "Hide notification before tie managed profile lock" into nyc-dev

8 years agoFixes for restoring more than one child surfaces
Chong Zhang [Mon, 9 May 2016 19:47:11 +0000 (12:47 -0700)]
Fixes for restoring more than one child surfaces

App may have more than one windows and subwindows. Remember which ones
are visible at the last setAppVisibility time, and restore only those
that was visible then. If the app itself requested to hide a window
before that, we don't want to use the window for early animation.

Also move mAnimatingWithSavedSurface into WindowState as it needs to
be tracked per window.

bug: 27455025
bug: 28296945

Change-Id: I3ed1879634fa7709de699d4518d8fcfc91a85554

8 years agoUpdating redirects to correct Studio Tips and Tricks
Mary Yanchar [Tue, 10 May 2016 19:58:42 +0000 (12:58 -0700)]
Updating redirects to correct Studio Tips and Tricks

Updating the _redirects.yaml to correct the Studio Tips and Tricks
redirect, to match the CL already submitted in Piper (121956464).

Bug: 28680261
Change-Id: I7fc075d26061c37a7b2ba20d91b6deca4dae6557

8 years agoMerge "Frameworks/base: Shorten system property" into nyc-dev
Andreas Gampe [Tue, 10 May 2016 19:55:41 +0000 (19:55 +0000)]
Merge "Frameworks/base: Shorten system property" into nyc-dev

8 years agoFrameworks/base: Shorten system property
Andreas Gampe [Tue, 10 May 2016 19:51:45 +0000 (12:51 -0700)]
Frameworks/base: Shorten system property

Otherwise it's too long.

Bug: 26877591
Change-Id: I741186a9fbea6ee50df6cef58d528ec58662c772

8 years agoRemove rifle (1F946) from emoji font.
Doug Felt [Tue, 10 May 2016 19:50:25 +0000 (12:50 -0700)]
Remove rifle (1F946) from emoji font.

Bug: 28678310
Change-Id: I60097cd78f28764d83abe0d12b53e2a7e6c974dc

8 years agoMerge "Don't even try adjusting when dock is minimized" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 19:47:40 +0000 (19:47 +0000)]
Merge "Don't even try adjusting when dock is minimized" into nyc-dev

8 years agoSum up character widths to get the last line width for ellipsis.
Keisuke Kuroyanagi [Tue, 10 May 2016 19:21:33 +0000 (12:21 -0700)]
Sum up character widths to get the last line width for ellipsis.

To properly apply ellipsis, we virtually concatenate the last line and
overflowed lines after line breaking for a paragraph.
Previously, width of the concatenated line was computed by summing up all
line's width.  However, the width is wrong when there are any trailing
white  spaces that can be normal white spaces by concatenating lines.
With this CL, we sum up widths of all characters in lines except the last
overflowed line.

Bug: 28599066
Change-Id: I41d828ee8eb8a702cd5096d626b307cbb3467047

8 years agoFix multi-window assiststructure trashing
Amith Yamasani [Tue, 10 May 2016 18:44:12 +0000 (11:44 -0700)]
Fix multi-window assiststructure trashing

When multiple activities within the same process
try to handle requests for AssistStructure, the
singleton mLastAssistStructure tends to trash
the old structure when a second window's request
comes in.

This change passes in a sessionId so that the
cache is only cleared if the session id changes.

Bug: 28348867
Change-Id: I07efcd933db7e48aefd25a1c95493b71bbcffe4b

8 years agoMerge "Simplify permitted-path construction" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 19:17:02 +0000 (19:17 +0000)]
Merge "Simplify permitted-path construction" into nyc-dev

8 years agoHide notification before tie managed profile lock
Ricky Wai [Tue, 10 May 2016 19:11:59 +0000 (20:11 +0100)]
Hide notification before tie managed profile lock

We should hide the notification asap before setting
managed profile lock, to reduce the time that user is unlocked
while the notification is still showing.

Bug: 28689675
Change-Id: I289302302e3079726998adefebe2e8b113b2e52a

8 years agoMerge "Don't throw runtime exceptions for permission flags" into nyc-dev
Svetoslav Ganov [Tue, 10 May 2016 18:52:15 +0000 (18:52 +0000)]
Merge "Don't throw runtime exceptions for permission flags" into nyc-dev

8 years agodocs: Add redirects for deleted files on AS devsite b/28679461 am: bc753be9e3 am...
Cheryl Potter [Tue, 10 May 2016 18:37:18 +0000 (18:37 +0000)]
docs: Add redirects for deleted files on AS devsite b/28679461 am: bc753be9e3 am: 90f143e1f3
am: 9f2b8642a8

* commit '9f2b8642a8d496cceb0e0ab3ed0f67ae7f357ae0':
  docs: Add redirects for deleted files on AS devsite b/28679461

Change-Id: I3a1ae7b5c76cb6395ea2bfbfe8cea223fecf653a

8 years agodocs: Add redirects for deleted files on AS devsite b/28679461 am: bc753be9e3
Cheryl Potter [Tue, 10 May 2016 18:34:39 +0000 (18:34 +0000)]
docs: Add redirects for deleted files on AS devsite b/28679461 am: bc753be9e3
am: 90f143e1f3

* commit '90f143e1f384ae37878e46997e43b171384c421d':
  docs: Add redirects for deleted files on AS devsite b/28679461

Change-Id: I9e5c8225010dbfa631c6f51fad094def57e4db15

8 years agodocs: Add redirects for deleted files on AS devsite b/28679461
Cheryl Potter [Tue, 10 May 2016 18:32:01 +0000 (18:32 +0000)]
docs: Add redirects for deleted files on AS devsite b/28679461
am: bc753be9e3

* commit 'bc753be9e3838cedfb2b45ef2076cc71f2cbe9b5':
  docs: Add redirects for deleted files on AS devsite b/28679461

Change-Id: I196bb7059c78439d051a5e3e9daac0033e4c6595

8 years agoDon't even try adjusting when dock is minimized
Jorim Jaggi [Tue, 10 May 2016 01:44:34 +0000 (18:44 -0700)]
Don't even try adjusting when dock is minimized

Bug: 28652219
Change-Id: I61fa515ec945e1da6b9e7a53766abea2fb1e606e

8 years agoPush unlocking/unlocked state to UserManager
Fyodor Kupolov [Tue, 10 May 2016 02:10:53 +0000 (19:10 -0700)]
Push unlocking/unlocked state to UserManager

Push unlocking/unlocked state to UserManagerInternal when it's changed in
UserController. Use UserManagerInternal.isUserUnlockingOrUnlocked when
updating flags for filtering in PackageManager.

Bug: 28629076
Change-Id: I8440af090f533f93870d0cff0e3871e114c37efa

8 years agodocs: Add redirects for deleted files on AS devsite
Cheryl Potter [Tue, 10 May 2016 05:08:18 +0000 (22:08 -0700)]
docs: Add redirects for deleted files on AS devsite
b/28679461

Change-Id: I825cf17a4065b1af67fa1792cf66e50c30208e17

8 years agoMerge "Use MetricsLogger.histogram for optimizing app statistics." into nyc-dev
Narayan Kamath [Tue, 10 May 2016 17:56:21 +0000 (17:56 +0000)]
Merge "Use MetricsLogger.histogram for optimizing app statistics." into nyc-dev

8 years agoMerge "Make sure preserved surface is removed when it's no longer needed" into nyc-dev
Chong Zhang [Tue, 10 May 2016 17:53:25 +0000 (17:53 +0000)]
Merge "Make sure preserved surface is removed when it's no longer needed" into nyc-dev

8 years agoMerge "Fixed logic error when calculating window touch exclude region." into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 17:52:27 +0000 (17:52 +0000)]
Merge "Fixed logic error when calculating window touch exclude region." into nyc-dev

8 years agoSimplify permitted-path construction
Dimitry Ivanov [Tue, 10 May 2016 17:51:40 +0000 (10:51 -0700)]
Simplify permitted-path construction

The white list of permitted directories is applied for every
classloader namespace by libnativeloader. LoadedApk no longer
needs to do that.

Add mDataDir to permitted paths in the case if for any reason
it is outside of the whitelisted dirs.

Bug: http://b/28639227
Change-Id: I5b61ac64e281ecee3e3e9b1fe56cf04dc6ee7b25

8 years agoResource shared libraries: fix theme references
Adam Lesinski [Tue, 10 May 2016 17:01:12 +0000 (10:01 -0700)]
Resource shared libraries: fix theme references

Theme values that would reference other theme values would not work
if they were declared in a shared library.

We now introduce a parallel resource type to TYPE_DYNAMIC_REFERENCE,
TYPE_DYNAMIC_ATTRIBUTE, which allows us to lookup and resolve
theme value references from shared libraries.

Bug:28687378
Change-Id: I4f2364e3e8b567679f90784fcaaea12b6b05e926

8 years agoMerge "Keep RemoteInputView visible when focused" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 17:41:58 +0000 (17:41 +0000)]
Merge "Keep RemoteInputView visible when focused" into nyc-dev

8 years agonew downloads and notes for studio 2.1.1 security update
smain@google.com [Wed, 4 May 2016 23:48:06 +0000 (16:48 -0700)]
new downloads and notes for studio 2.1.1 security update

Change-Id: Iabe51586dfc1355011a75f6d193e4ee32e480e95

8 years agoMake collapsed QS work the same as expanded
Jason Monk [Tue, 10 May 2016 16:57:59 +0000 (12:57 -0400)]
Make collapsed QS work the same as expanded

Change-Id: I59d8de76a5f06a7896fd8b70a661e5c329620c2e
Fixes: 28414350

8 years agoMerge "Set jack.assert.policy value to 'always'" into nyc-dev
Benoit Lamarche [Tue, 10 May 2016 16:28:27 +0000 (16:28 +0000)]
Merge "Set jack.assert.policy value to 'always'" into nyc-dev

8 years agoFixed logic error when calculating window touch exclude region.
Wale Ogunwale [Tue, 10 May 2016 15:39:01 +0000 (08:39 -0700)]
Fixed logic error when calculating window touch exclude region.

Problem was introduced in ag/960365. We need to properly set the
temp variable to the current task bounds before trying to use it.

Bug: 26962445
Change-Id: I3cded03582e1379e16fa48f69da6ceadb92d8d4b

8 years agoDon't throw runtime exceptions for permission flags
Svetoslav Ganov [Tue, 10 May 2016 03:43:52 +0000 (20:43 -0700)]
Don't throw runtime exceptions for permission flags

We were thrwing undocumented runtime exception when
one gets the permission flags - now we just return
default result of the package is gone.

bug:28657926

Change-Id: I42554a86b9304ff83fe9385f3eea930b8ebf0c63

8 years agoMerge "Fix accessibility order in nav bar" into nyc-dev
Jason Monk [Tue, 10 May 2016 15:26:35 +0000 (15:26 +0000)]
Merge "Fix accessibility order in nav bar" into nyc-dev

8 years agoFix accessibility order in nav bar
Jason Monk [Tue, 10 May 2016 15:02:24 +0000 (11:02 -0400)]
Fix accessibility order in nav bar

Change-Id: I2e90dee8e50b0642f39258fe3d04ded2f0bb8961
Fixes: 28281859

8 years agoMerge "Set notification listener defaults for system VrListeners." into nyc-dev
Ruben Brunk [Tue, 10 May 2016 14:54:44 +0000 (14:54 +0000)]
Merge "Set notification listener defaults for system VrListeners." into nyc-dev

8 years agoUse MetricsLogger.histogram for optimizing app statistics.
Narayan Kamath [Tue, 10 May 2016 14:32:24 +0000 (15:32 +0100)]
Use MetricsLogger.histogram for optimizing app statistics.

bug: 28528058
bug: 28544474
Change-Id: Icbe26e9699eade08725e38914f07d7584e77b608

8 years agoMerge "Patrially revert 4ec026930bfbbb5d8923f359c8." into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 14:45:35 +0000 (14:45 +0000)]
Merge "Patrially revert 4ec026930bfbbb5d8923f359c8." into nyc-dev

8 years agoSet jack.assert.policy value to 'always'
Delphine Martin [Tue, 10 May 2016 13:41:34 +0000 (15:41 +0200)]
Set jack.assert.policy value to 'always'

The policy value 'enable' does not exist anymore
and was replaced by 'always'

Change-Id: I233a555821a84d917e3b3ec923b5baffc18bd2d2

8 years agoFix AbstractStringBuilder gaining extra APIs.
Joachim Sauer [Tue, 10 May 2016 14:09:08 +0000 (15:09 +0100)]
Fix AbstractStringBuilder gaining extra APIs.

AbstractStringBuilder showed up in the API as gaining methods originally
belonging to StringBuffer/StringBuilder (mostly append(*) and
insert(*)).

Ideally it should not be in the API at all, but it's traditionally been
there and we'll keep it for now.

@hide the affected methods and move the "implements Appendable"
definition to StringBuffer/StringBuilder (as methods implementing an
interface can't be @hidden).

Bug: 27582395
Change-Id: I0b85c2c84f3e52ffe7864728d083f9c6ea7304ef

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Tue, 10 May 2016 13:45:25 +0000 (13:45 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoPatrially revert 4ec026930bfbbb5d8923f359c8.
Narayan Kamath [Tue, 10 May 2016 13:24:45 +0000 (14:24 +0100)]
Patrially revert 4ec026930bfbbb5d8923f359c8.

In preparation for using MetricsLogger.histogram / count. The main
purpose of this change is to remove the (now bogus) action IDs
associated with this logging.

bug: 28528058
bug: 28544474

Change-Id: Id79de2d34c3f937a327ac21d44e55c18047bce85