OSDN Git Service

android-x86/frameworks-base.git
8 years agoAdd SkiaBehaviorTests
Chris Craik [Thu, 4 Feb 2016 02:43:04 +0000 (18:43 -0800)]
Add SkiaBehaviorTests

Change-Id: Ie2983f7a0c9e8bdd8c8de507d70ecf3aefdd9425

8 years agoMerge "Fix DPM unit tests"
Makoto Onuki [Mon, 1 Feb 2016 23:24:20 +0000 (23:24 +0000)]
Merge "Fix DPM unit tests"

8 years agoFix DPM unit tests
Makoto Onuki [Thu, 28 Jan 2016 22:44:18 +0000 (14:44 -0800)]
Fix DPM unit tests

Bug 26911599

Change-Id: I874c9cd4f63c79bc984777ef3b1b654a414c4911

8 years agoMerge "Fix moduleProperties in SoundTriggerInternal."
Arunesh Mishra [Mon, 1 Feb 2016 23:15:25 +0000 (23:15 +0000)]
Merge "Fix moduleProperties in SoundTriggerInternal."

8 years agoMerge "Ensure Surface matrix set even when size unchanged."
Rob Carr [Mon, 1 Feb 2016 23:12:14 +0000 (23:12 +0000)]
Merge "Ensure Surface matrix set even when size unchanged."

8 years agoMerge "Allow saving child surfaces."
Rob Carr [Mon, 1 Feb 2016 23:11:51 +0000 (23:11 +0000)]
Merge "Allow saving child surfaces."

8 years agoAllow saving child surfaces.
Robert Carr [Mon, 1 Feb 2016 20:31:01 +0000 (12:31 -0800)]
Allow saving child surfaces.

We can and should save child surfaces as the client side window
state hasn't been torn down in the case where we would otherwise save.
So, if we destroy the Surface, the client will continue to render
and crash.

Bug: 26793431
Bug: 25780116
Bug: 26777815
Change-Id: Ia043b7af24b9370fc17a5b57226566f94c08ba4e

8 years agoMerge "Create "Home" dir instead of "home" to match other default dirs."
Steve McKay [Mon, 1 Feb 2016 23:00:59 +0000 (23:00 +0000)]
Merge "Create "Home" dir instead of "home" to match other default dirs."

8 years agoMerge "Make default resources a better match for en-US requests"
Roozbeh Pournader [Mon, 1 Feb 2016 22:57:58 +0000 (22:57 +0000)]
Merge "Make default resources a better match for en-US requests"

8 years agoMerge branch 'master' of /usr/local/google/game/mirror/googleplex-android_googlesourc...
Deepanshu Gupta [Mon, 1 Feb 2016 22:57:10 +0000 (22:57 +0000)]
Merge branch 'master' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base

8 years agoMake default resources a better match for en-US requests
Roozbeh Pournader [Mon, 1 Feb 2016 21:49:52 +0000 (13:49 -0800)]
Make default resources a better match for en-US requests

When locale fallback landed, resources which specified an 'English'
locale started to be considered a better match for en-US, even though
traditionally, apps tend to ship US English resources under their
default locale.

This fixes that, and makes en-US requests match default locales.

Bug: 26756573
Bug: 26789680
Bug: 26803868
Change-Id: I460c276bfc6ddba0439dcdf87497a0aece0fa05d

8 years agoRemove obsolete try catch am: ebdcc80ac2
Deepanshu Gupta [Mon, 1 Feb 2016 22:56:43 +0000 (22:56 +0000)]
Remove obsolete try catch am: ebdcc80ac2
am: 29e8071d2e

* commit '29e8071d2e9f3a8171624fd63b849f5c14360b21':
  Remove obsolete try catch

8 years agosysui: small refactor
Xiaohui Chen [Mon, 1 Feb 2016 20:19:35 +0000 (12:19 -0800)]
sysui: small refactor

Bug: 26161831
Change-Id: I020176d49cb12c7f7b56ad6eb1221e678312f798

8 years agoRemove obsolete try catch
Deepanshu Gupta [Mon, 1 Feb 2016 22:52:50 +0000 (22:52 +0000)]
Remove obsolete try catch
am: ebdcc80ac2

* commit 'ebdcc80ac26ae51ba27d9469a501a6242256aa50':
  Remove obsolete try catch

8 years agoMerge "Init and clean up printer registry independat of state."
Philip P. Moltmann [Mon, 1 Feb 2016 22:49:51 +0000 (22:49 +0000)]
Merge "Init and clean up printer registry independat of state."

8 years agoCreate "Home" dir instead of "home" to match other default dirs.
Steve McKay [Sat, 30 Jan 2016 00:13:21 +0000 (16:13 -0800)]
Create "Home" dir instead of "home" to match other default dirs.

Add DIRECTORY_HOME to android.os.Environment...use that for dir name,
    so we don't use a localized name when creating directory.
Mark all of the DIRECTORY_* fields final.

Bug: 26814341
Change-Id: I5a11bcb180674c619de2f5ce9ed598521e60cc25

8 years agoMerge "Mask widgets for suspended packages."
Rubin Xu [Mon, 1 Feb 2016 22:46:02 +0000 (22:46 +0000)]
Merge "Mask widgets for suspended packages."

8 years agoMerge "Hack to get devices booting again." into mnc-dr1.5-dev am: 29700949ad am:...
Bart Sears [Mon, 1 Feb 2016 22:30:21 +0000 (22:30 +0000)]
Merge "Hack to get devices booting again." into mnc-dr1.5-dev am: 29700949ad am: 795e53a36b
am: 6d9b0fb923

* commit '6d9b0fb923bc6d77b23ac40841625d61eb003e0f':
  Hack to get devices booting again.

8 years agoMerge "Hack to get devices booting again." into mnc-dr1.5-dev am: 29700949ad
Bart Sears [Mon, 1 Feb 2016 22:27:37 +0000 (22:27 +0000)]
Merge "Hack to get devices booting again." into mnc-dr1.5-dev am: 29700949ad
am: 795e53a36b

* commit '795e53a36b0bda3555e23ea8b54cf97361014a24':
  Hack to get devices booting again.

8 years agoFix build
Jorim Jaggi [Mon, 1 Feb 2016 22:24:05 +0000 (14:24 -0800)]
Fix build

Change-Id: Ifed64dc2a4db9a58c3588ea0ca899f628efe685a

8 years agoMerge "Hack to get devices booting again." into mnc-dr1.5-dev
Bart Sears [Mon, 1 Feb 2016 22:23:34 +0000 (22:23 +0000)]
Merge "Hack to get devices booting again." into mnc-dr1.5-dev
am: 29700949ad

* commit '29700949ad981bde8d35219914161f6424e7757b':
  Hack to get devices booting again.

8 years agoMerge changes Ie6c1ea33,Id1af37e6,I9c474f7a,I439c9b66
Jorim Jaggi [Mon, 1 Feb 2016 22:18:21 +0000 (22:18 +0000)]
Merge changes Ie6c1ea33,Id1af37e6,I9c474f7a,I439c9b66

* changes:
  Reset create state in moveTaskToStack
  Divider tuning
  Fix transition to recents in docked mode
  Fix flicker and other weirdness

8 years agoMerge "Hack to get devices booting again." into mnc-dr1.5-dev
Bart Sears [Mon, 1 Feb 2016 22:17:49 +0000 (22:17 +0000)]
Merge "Hack to get devices booting again." into mnc-dr1.5-dev

8 years agoMerge "Retuning tag information through NetworkStatsManager."
Antonio Cansado [Mon, 1 Feb 2016 22:16:44 +0000 (22:16 +0000)]
Merge "Retuning tag information through NetworkStatsManager."

8 years agoFix moduleProperties in SoundTriggerInternal.
Arunesh Mishra [Mon, 1 Feb 2016 22:06:37 +0000 (14:06 -0800)]
Fix moduleProperties in SoundTriggerInternal.

Change-Id: Ie7ea74ca39894f78875768dbc3e504b32f262fe6

8 years agoRetuning tag information through NetworkStatsManager.
Antonio Cansado [Thu, 10 Dec 2015 23:57:56 +0000 (15:57 -0800)]
Retuning tag information through NetworkStatsManager.

Network tags could be set since ICS but was not exposed
through the SDK. This CL extends existing functionality
of NetworkStatsManager to return network tags.

Bug: 25813338
Change-Id: I414b98193249ba88a3f2d64cb2e0d2633f64fa3f

8 years agoMerge "Fix CollectionItemInfo.isHeading for ListView"
Steven Dao [Mon, 1 Feb 2016 22:10:52 +0000 (22:10 +0000)]
Merge "Fix CollectionItemInfo.isHeading for ListView"

8 years agoMask widgets for suspended packages.
Rubin Xu [Mon, 25 Jan 2016 16:13:50 +0000 (16:13 +0000)]
Mask widgets for suspended packages.

Bug: 22776761
Change-Id: I271257e765a2297c780ac2bd37426d8fb451e5d9

8 years agoMerge "Only update UI when bound"
Philip P. Moltmann [Mon, 1 Feb 2016 22:03:36 +0000 (22:03 +0000)]
Merge "Only update UI when bound"

8 years agoRemove obsolete try catch
Deepanshu Gupta [Mon, 1 Feb 2016 22:03:30 +0000 (14:03 -0800)]
Remove obsolete try catch

The try catch was to prevent crashing on preview releases of Android
Studio. We don't support them anymore.

Change-Id: I8e33cae98117c0034aea1b56903b623fcb64435e

8 years agoMerge "Make user deletion dialog reusable."
Xiaohui Chen [Mon, 1 Feb 2016 22:03:27 +0000 (22:03 +0000)]
Merge "Make user deletion dialog reusable."

8 years agoInit and clean up printer registry independat of state.
Philip P. Moltmann [Mon, 1 Feb 2016 21:56:45 +0000 (13:56 -0800)]
Init and clean up printer registry independat of state.

The printer registry is created not in sync with the states or the
activity life-cycle. It might not be initialized when stop is called as
we might have a very quick

create -> start -> stop -> finish

without time for the print subsystem to initialize.

Bug: 21749058
Change-Id: I991029a7fd0ad162c1144ff03438707f16bf0b02

8 years agoMerge "Runtime exception on AppWidgetHostView should not cause crash to the hosting...
Hyunyoung Song [Mon, 1 Feb 2016 21:52:42 +0000 (21:52 +0000)]
Merge "Runtime exception on AppWidgetHostView should not cause crash to the hosting process."

8 years agoRuntime exception on AppWidgetHostView should not cause crash to the hosting process.
Hyunyoung Song [Mon, 1 Feb 2016 21:51:39 +0000 (13:51 -0800)]
Runtime exception on AppWidgetHostView should not cause crash to the hosting process.

b/26797293

Change-Id: I7e1efad7d5314141d21440bf8915c101e35c2adf

8 years agoReset create state in moveTaskToStack
Jorim Jaggi [Sat, 30 Jan 2016 02:25:30 +0000 (18:25 -0800)]
Reset create state in moveTaskToStack

One could call moveTaskToStack with DOCKED_STACK as argument. In that
case, we also need to set the create state so it resets it to
something sane.

Change-Id: Ie6c1ea33e4ec3c4cd2a935dc186d2b496289946f

8 years agoDivider tuning
Jorim Jaggi [Sat, 30 Jan 2016 00:49:55 +0000 (16:49 -0800)]
Divider tuning

- Take insets into account for calculating dismissing fraction,
but don't dim into 100% when the device has insets at that
side.
- When applying parallax to the top side, apply less.

Change-Id: Id1af37e6f7af43ec3682dad4ad1ce68034301b4d

8 years agoMerge "Added restriction that disallows ability to set wallpaper. BUG: 24890474"
Oleksandr Peletskyi [Mon, 1 Feb 2016 21:30:43 +0000 (21:30 +0000)]
Merge "Added restriction that disallows ability to set wallpaper. BUG: 24890474"

8 years agoMerge "Adding plumbing for passing the lib directory."
Michael Lentine [Mon, 1 Feb 2016 21:28:25 +0000 (21:28 +0000)]
Merge "Adding plumbing for passing the lib directory."

8 years agoMerge "Synchronously finish boot when user starts in background"
Fyodor Kupolov [Mon, 1 Feb 2016 21:21:46 +0000 (21:21 +0000)]
Merge "Synchronously finish boot when user starts in background"

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: 60e392e021 -s ours
Geoff Mendal [Mon, 1 Feb 2016 21:20:11 +0000 (21:20 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: 60e392e021  -s ours
am: 8cc5899aef  -s ours

* commit '8cc5899aef3ab8e1ad35d6882a082416aea734ed':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr2-dev
Geoff Mendal [Mon, 1 Feb 2016 21:14:42 +0000 (21:14 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev
am: 60e392e021  -s ours

* commit '60e392e021da2fe8b05986c545b324a4e70f396e':
  Import translations. DO NOT MERGE

8 years agoAdd Headset HF role to the settings menu
Sanket Agarwal [Wed, 27 Jan 2016 04:12:52 +0000 (20:12 -0800)]
Add Headset HF role to the settings menu

- Makes the HF client a configurable item in Settings. You can
  enable/disable HF per item.
- Disconnect works cleanly since Settings now disconnects HF and hence
  tear down the ACL.

Bug: b/26808830

Change-Id: I062b64beac4c009a6075756b7f163c6455d77af2

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr2-dev
Geoff Mendal [Mon, 1 Feb 2016 21:10:47 +0000 (21:10 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev

8 years agoEnsure Surface matrix set even when size unchanged.
Robert Carr [Mon, 1 Feb 2016 21:08:15 +0000 (13:08 -0800)]
Ensure Surface matrix set even when size unchanged.

Simple error preventing transform matrices from being
updated when the size isn't changed.

Bug: 26454664
Bug: 25287371
Change-Id: I0e1a71ceda725e26d49786593665cf0865213c91

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 1 Feb 2016 21:08:15 +0000 (13:08 -0800)]
Import translations. DO NOT MERGE

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

8 years agoOnly update UI when bound
Philip P. Moltmann [Mon, 1 Feb 2016 20:03:48 +0000 (12:03 -0800)]
Only update UI when bound

If the PrintActivity gets destroyed (e.g. due to low memory) it gets
re-created when the PrintToPDF activity returns in onActivityResult. In
this case onActivityResult is called right after onCreate and before the
UI is bound. This resulted in a NullPointerException when accessing the
unbound UI elements.

Bug: 21749058
Change-Id: I44e625e8c4f10432591d0afcf7825d7e0dbee6f5

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 1 Feb 2016 21:02:43 +0000 (21:02 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 1 Feb 2016 21:00:10 +0000 (13:00 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Send ranking update on importance change."
Julia Reynolds [Mon, 1 Feb 2016 20:59:06 +0000 (20:59 +0000)]
Merge "Send ranking update on importance change."

8 years agoImport translations. DO NOT MERGE am: f544fc21d0 -s ours am: b2628caab6 -s ours...
Geoff Mendal [Mon, 1 Feb 2016 20:52:55 +0000 (20:52 +0000)]
Import translations. DO NOT MERGE am: f544fc21d0  -s ours am: b2628caab6  -s ours am: 21a6f2050a  -s ours
am: 80a4c66e61  -s ours

* commit '80a4c66e61348bc22d6c0eef467ead55fc95c6c3':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE am: f544fc21d0 -s ours am: b2628caab6 -s ours
Geoff Mendal [Mon, 1 Feb 2016 20:48:37 +0000 (20:48 +0000)]
Import translations. DO NOT MERGE am: f544fc21d0  -s ours am: b2628caab6  -s ours
am: 21a6f2050a  -s ours

* commit '21a6f2050adcbbd8f121abbb3c3ef3f0b57391c7':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE am: f544fc21d0 -s ours
Geoff Mendal [Mon, 1 Feb 2016 20:44:05 +0000 (20:44 +0000)]
Import translations. DO NOT MERGE am: f544fc21d0  -s ours
am: b2628caab6  -s ours

* commit 'b2628caab626bac41e551556cabf34c0770cec9b':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 1 Feb 2016 20:41:25 +0000 (20:41 +0000)]
Import translations. DO NOT MERGE
am: f544fc21d0  -s ours

* commit 'f544fc21d0a4d74a13e385d981a805f8add8cebb':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 1 Feb 2016 20:37:44 +0000 (12:37 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Re-SystemApi some fields/method that aren't in use."
Julia Reynolds [Mon, 1 Feb 2016 20:37:41 +0000 (20:37 +0000)]
Merge "Re-SystemApi some fields/method that aren't in use."

8 years agoSend ranking update on importance change.
Julia Reynolds [Mon, 1 Feb 2016 20:35:08 +0000 (15:35 -0500)]
Send ranking update on importance change.

Bug: 26882239
Change-Id: Iae5703a5b024a75b8adc8c5c9c107bfa57013f5b

8 years agoImport translations. DO NOT MERGE am: 9ff5be7674 -s ours am: 4889505304 -s ours
Geoff Mendal [Mon, 1 Feb 2016 20:33:44 +0000 (20:33 +0000)]
Import translations. DO NOT MERGE am: 9ff5be7674  -s ours am: 4889505304  -s ours
am: 9f0bf63c91  -s ours

* commit '9f0bf63c91b3e1cc203da50115daccea69772a18':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE am: 9ff5be7674 -s ours
Geoff Mendal [Mon, 1 Feb 2016 20:31:03 +0000 (20:31 +0000)]
Import translations. DO NOT MERGE am: 9ff5be7674  -s ours
am: 4889505304  -s ours

* commit '4889505304b7763e23bd847f833029f3d379ffe7':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 1 Feb 2016 20:26:24 +0000 (20:26 +0000)]
Import translations. DO NOT MERGE
am: 9ff5be7674  -s ours

* commit '9ff5be7674e3a925dc371bc812b220f3c476c501':
  Import translations. DO NOT MERGE

8 years agoMerge "Fix: RTL sublocales need to display RTL"
Mihai Niță [Mon, 1 Feb 2016 20:22:36 +0000 (20:22 +0000)]
Merge "Fix: RTL sublocales need to display RTL"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 1 Feb 2016 20:21:06 +0000 (12:21 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 26887782
Change-Id: If6bc1bd3f277f0289aecb7c063f899363079c248

8 years agoFix transition to recents in docked mode
Jorim Jaggi [Fri, 29 Jan 2016 01:48:21 +0000 (17:48 -0800)]
Fix transition to recents in docked mode

Transition for non-compatible apps will be handled in a separate CL.

Change-Id: I9c474f7aa394e4f3eacd1845c78bee5874bd8a59

8 years agoFix flicker and other weirdness
Jorim Jaggi [Thu, 28 Jan 2016 03:29:40 +0000 (19:29 -0800)]
Fix flicker and other weirdness

- When moving tasks to/from fullscreen <-> docked stack, don't
replace windows, but preserve them.
- Fix a bug where we didn't called prepareFreezingBounds which
caused the clip rect to be set to (0, 0, 0, 0) for one frame

Bug: 26070457
Change-Id: I439c9b6612367babfbf31899022209eeee3e1be1

8 years agoFix CollectionItemInfo.isHeading for ListView
Steven Dao [Mon, 1 Feb 2016 19:40:31 +0000 (11:40 -0800)]
Fix CollectionItemInfo.isHeading for ListView

- At the moment all non-header/footer items are marked
  as headings and vice versa.

Change-Id: I453e2fb9e75fa4bd863f513c4318a5e6ac4b2c87

8 years agoMerge "Don't clear the selection when directory contents change."
Ben Kwa [Mon, 1 Feb 2016 19:17:36 +0000 (19:17 +0000)]
Merge "Don't clear the selection when directory contents change."

8 years agoMerge "Improved logic for determining visiblility of activities in the home stack"
Wale Ogunwale [Mon, 1 Feb 2016 19:10:22 +0000 (19:10 +0000)]
Merge "Improved logic for determining visiblility of activities in the home stack"

8 years agoMerge "Allow activities without FLAG_ACTIVITY_NEW_TASK set to be home activities"
Wale Ogunwale [Mon, 1 Feb 2016 19:09:27 +0000 (19:09 +0000)]
Merge "Allow activities without FLAG_ACTIVITY_NEW_TASK set to be home activities"

8 years agoMerge "Made some changes to window caption APIs"
Wale Ogunwale [Mon, 1 Feb 2016 19:06:18 +0000 (19:06 +0000)]
Merge "Made some changes to window caption APIs"

8 years agoAdded restriction that disallows ability to set wallpaper.
Oleksandr Peletskyi [Tue, 26 Jan 2016 19:16:06 +0000 (20:16 +0100)]
Added restriction that disallows ability to set wallpaper.
BUG: 24890474

Change-Id: I424aa80d914e3b6f3f9eba8ccb4802bad6f54907

8 years agoMake user deletion dialog reusable.
Vadim Tryshev [Wed, 27 Jan 2016 02:40:37 +0000 (18:40 -0800)]
Make user deletion dialog reusable.

This change will be immediately integrated into master.

This dialog will be also used by the alternate lock screen.

Bug: 25192625
Change-Id: Idc374312fe884af104e342d58f207e0510b9754a
(cherry picked from commit b29374806c393a06c993e5c6b92c62f06d5978c7)

8 years agoFix: RTL sublocales need to display RTL
Mihai Nita [Fri, 29 Jan 2016 20:32:56 +0000 (12:32 -0800)]
Fix: RTL sublocales need to display RTL

When the langage selected in the first step is right-to-left the
localized region names should also be rendered right-to-left,
regardless of the UI language of the system itself.
We only need this to happen for the sub-locale because all labels
are localized in the same language (the parent one), so it is all
consistent, not the mixture we have in the language selection.

Bug: 26278041
Change-Id: I54c4306763458be691a1ba0c2bc2dba613beb8c5

8 years agoMerge "Add 'package compile' shell command"
David Brazdil [Mon, 1 Feb 2016 18:44:22 +0000 (18:44 +0000)]
Merge "Add 'package compile' shell command"

8 years agoMerge "Add tests for rename documents feature - Add helper class for the Ui tests...
Aga Wronska [Mon, 1 Feb 2016 18:43:41 +0000 (18:43 +0000)]
Merge "Add tests for rename documents feature     - Add helper class for the Ui tests. It creates basic test environment.       It is intermediate layer between UiBot/DocumentsProviderHelper and UiTest classes.     - Refactor SearchView tests     - Add renaming support in the test DocumentsProvider     - Add renaming tests"

8 years agoAdd tests for rename documents feature
Aga Wronska [Tue, 26 Jan 2016 22:06:29 +0000 (14:06 -0800)]
Add tests for rename documents feature
    - Add helper class for the Ui tests. It creates basic test environment.
      It is intermediate layer between UiBot/DocumentsProviderHelper and UiTest classes.
    - Refactor SearchView tests
    - Add renaming support in the test DocumentsProvider
    - Add renaming tests

Bug=26799799

Change-Id: I2849913a1addabff0087bb06b80f36de7cb144f3

8 years agoAdd 'package compile' shell command
David Brazdil [Mon, 1 Feb 2016 13:48:46 +0000 (13:48 +0000)]
Add 'package compile' shell command

Bug: 26707406
Change-Id: I554969c9f3b3153179370d3d23a88fa7e8693885

8 years agoMerge "Revert "Throw for unknown user restrictions.""
Makoto Onuki [Mon, 1 Feb 2016 18:26:08 +0000 (18:26 +0000)]
Merge "Revert "Throw for unknown user restrictions.""

8 years agoRevert "Throw for unknown user restrictions."
Makoto Onuki [Mon, 1 Feb 2016 18:23:55 +0000 (18:23 +0000)]
Revert "Throw for unknown user restrictions."

This reverts commit 3861bf7e73fab9e39e8d1f6e5194f3600ed929a0.

Bug 26896902

Change-Id: I26fa0159b5bb832048ccd013054a01f91b54947b

8 years agoMerge "Add feature tag for high-performance VR devices."
Ruben Brunk [Mon, 1 Feb 2016 18:20:00 +0000 (18:20 +0000)]
Merge "Add feature tag for high-performance VR devices."

8 years agoMerge "Revert "Revert "FloatingToolbar: Fix orientation change handling."""
Abodunrinwa Toki [Mon, 1 Feb 2016 18:16:44 +0000 (18:16 +0000)]
Merge "Revert "Revert "FloatingToolbar: Fix orientation change handling."""

8 years agoMerge "Fixing crash loop when the parent affiliated task is removed."
Winson Chung [Mon, 1 Feb 2016 18:15:53 +0000 (18:15 +0000)]
Merge "Fixing crash loop when the parent affiliated task is removed."

8 years agoFixing crash loop when the parent affiliated task is removed.
Winson [Mon, 1 Feb 2016 18:05:10 +0000 (10:05 -0800)]
Fixing crash loop when the parent affiliated task is removed.

- Instead, since we get the tasks in order, we use the previous task
  lastActiveTime as the base point for the entire affiliated task group
  (which gets brought to the front together always) if the parent
  task is not available.

Bug: 26896738
Change-Id: Id034af3f13355442f33b22ca18f9ffffa0f9d3d5

8 years agoMerge "Revert "Enabled SoftAP Configuration Backup""
Ritesh Reddy [Mon, 1 Feb 2016 17:55:59 +0000 (17:55 +0000)]
Merge "Revert "Enabled SoftAP Configuration Backup""

8 years agoRe-SystemApi some fields/method that aren't in use.
Julia Reynolds [Fri, 29 Jan 2016 20:29:16 +0000 (15:29 -0500)]
Re-SystemApi some fields/method that aren't in use.

Bug: 26816334
Change-Id: Ib01e7856cd65e294c018017c600f8b3dce2be844

8 years agoMerge "File paths to system partition are okay-ish."
Jeff Sharkey [Mon, 1 Feb 2016 17:51:58 +0000 (17:51 +0000)]
Merge "File paths to system partition are okay-ish."

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 1 Feb 2016 17:50:32 +0000 (17:50 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoFile paths to system partition are okay-ish.
Jeff Sharkey [Mon, 1 Feb 2016 17:39:30 +0000 (10:39 -0700)]
File paths to system partition are okay-ish.

Unless SELinux blocks it, all apps have identical access to files
included on the system partition.  Since there are a handful of
useful files stored there, like ringtones and license files, carve
out an exception to allow file:///system/ style paths.

Note that StrictMode isn't a security mechanism, which is why we're
not concerned about resolving canonical paths.

Bug: 26895798
Change-Id: If0b659d30c4e51377edcf01445392759d1e4962e

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 1 Feb 2016 17:43:59 +0000 (18:43 +0100)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Add upgrader for tuner"
Jason Monk [Mon, 1 Feb 2016 17:35:35 +0000 (17:35 +0000)]
Merge "Add upgrader for tuner"

8 years agoMerge "Update documentation for drawable state attributes"
Alan Viverette [Mon, 1 Feb 2016 17:30:57 +0000 (17:30 +0000)]
Merge "Update documentation for drawable state attributes"

8 years agoMerge "Don't move non-modal popups in response to global layout"
Alan Viverette [Mon, 1 Feb 2016 17:30:28 +0000 (17:30 +0000)]
Merge "Don't move non-modal popups in response to global layout"

8 years agoMerge "Added extra sanity checks."
Felipe Leme [Mon, 1 Feb 2016 17:28:57 +0000 (17:28 +0000)]
Merge "Added extra sanity checks."

8 years agoMerge "Scroll alert dialog buttons vertically when there's not enough space"
Alan Viverette [Mon, 1 Feb 2016 17:28:53 +0000 (17:28 +0000)]
Merge "Scroll alert dialog buttons vertically when there's not enough space"

8 years agoAdded extra sanity checks.
Felipe Leme [Sat, 30 Jan 2016 02:01:49 +0000 (18:01 -0800)]
Added extra sanity checks.

BUG: 26795255
BUG: 26805503
Change-Id: Ib95b337e54a174f178f70205f9d108223f192a62

8 years agoMerge "Ensure visibility of pinned activity when starting it."
Filip Gruszczynski [Mon, 1 Feb 2016 17:20:43 +0000 (17:20 +0000)]
Merge "Ensure visibility of pinned activity when starting it."

8 years agoMerge "Only create custom database paths."
Jeff Sharkey [Mon, 1 Feb 2016 17:18:59 +0000 (17:18 +0000)]
Merge "Only create custom database paths."

8 years agoOnly create custom database paths.
Jeff Sharkey [Mon, 1 Feb 2016 17:16:01 +0000 (10:16 -0700)]
Only create custom database paths.

If the getDatabasePath() caller is using the default getDatabasesDir()
path, that method already handles possible path creation, so no
need for us to retry.

Also fix two small bugs that would have NPE'ed when listing files in
a directory that wasn't created.

Bug: 26895777
Change-Id: Iced16b05cfe95062717da8d0414c48daefcb5648

8 years agoEnsure visibility of pinned activity when starting it.
Filip Gruszczynski [Mon, 1 Feb 2016 01:33:29 +0000 (17:33 -0800)]
Ensure visibility of pinned activity when starting it.

Currently we depend on resuming focused activity within the focused
stack to make it visible. This doesn't work for pinned stack, because
neither the stack nor the activity are focused and as a result the
pinned activity doesn't get resumed and made visible. We need to
explicitly force visibility without focusing the stack.

This fixes two issues:
* pinned activity not showing up when launched from a different full
screen stack activity;
* no entry animation when launching the activity from another full
screen stack.

Bug: 26891834
Bug: 25672053
Change-Id: I83065e10a2d237f1a1f26115e94c6648570e1d7f

8 years agoDon't clear the selection when directory contents change.
Ben Kwa [Mon, 1 Feb 2016 17:11:55 +0000 (09:11 -0800)]
Don't clear the selection when directory contents change.

Update the selection to remove IDs that no longer exist, but don't clear
it - doing so causes the selection to vanish whenever the underlying
directory contents change, which is disruptive to the user.

BUG=22765812

Change-Id: Ice6ae54d0748cf842addf1342541ae7759435811

8 years agoMerge "Skip setting up cache paths on system package."
Jeff Sharkey [Mon, 1 Feb 2016 17:02:42 +0000 (17:02 +0000)]
Merge "Skip setting up cache paths on system package."

8 years agoSkip setting up cache paths on system package.
Jeff Sharkey [Mon, 1 Feb 2016 16:59:12 +0000 (09:59 -0700)]
Skip setting up cache paths on system package.

The system package doesn't have any real data directories, so we
shouldn't try setting any cache paths.

Bug: 26895494
Change-Id: Iafca72f51d77eac5f602d842369de74ae8669b02