OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Start trust agents earlier on successful unlocks" into nyc-dev
Adrian Roos [Tue, 8 Mar 2016 22:51:36 +0000 (22:51 +0000)]
Merge "Start trust agents earlier on successful unlocks" into nyc-dev

8 years agoMerge "TIF: Drop the requirement for ID tuple for non-broadcast channels" into nyc-dev
Jae Seo [Tue, 8 Mar 2016 22:49:28 +0000 (22:49 +0000)]
Merge "TIF: Drop the requirement for ID tuple for non-broadcast channels" into nyc-dev

8 years agoStart trust agents earlier on successful unlocks
Adrian Roos [Thu, 3 Mar 2016 22:58:33 +0000 (14:58 -0800)]
Start trust agents earlier on successful unlocks

Frequently, trust agents are not running because
a successful unlock is required for them to start.

Unfortunately, that means they were not able to receive the
successful unlock. To fix this, we'll now override
StrongAuth requirements and start agents early if we
detect a successful unlock.

Bug: 23021202
Change-Id: Ie85f78d9ce2823dd5c9b6215a52db069fb796d91

8 years agoMerge "Applied Material design rules to calculate drawer width" into nyc-dev
Aga Wronska [Tue, 8 Mar 2016 22:32:40 +0000 (22:32 +0000)]
Merge "Applied Material design rules to calculate drawer width" into nyc-dev

8 years agoApplied Material design rules to calculate drawer width
Aga Wronska [Tue, 8 Mar 2016 19:20:39 +0000 (11:20 -0800)]
Applied Material design rules to calculate drawer width

Bug: 27437727
Change-Id: I2f634815d5e534053e0ed7a66631df9bddf32bd5

8 years agoMerge "Fixed a bug where the font sizes where not enforced correctly" into nyc-dev
Selim Cinek [Tue, 8 Mar 2016 22:16:42 +0000 (22:16 +0000)]
Merge "Fixed a bug where the font sizes where not enforced correctly" into nyc-dev

8 years agoMerge "TIF: Unhide TvView.setZOrderMediaOverlay/setZOrderOnTop/tune/unblockContent...
Dongwon Kang [Tue, 8 Mar 2016 22:11:12 +0000 (22:11 +0000)]
Merge "TIF: Unhide TvView.setZOrderMediaOverlay/setZOrderOnTop/tune/unblockContent" into nyc-dev

8 years agoMerge "Setting TaskRecord#mUserSetupComplete directly from Settings" into nyc-dev
Suprabh Shukla [Tue, 8 Mar 2016 22:10:22 +0000 (22:10 +0000)]
Merge "Setting TaskRecord#mUserSetupComplete directly from Settings" into nyc-dev

8 years agoSetting TaskRecord#mUserSetupComplete directly from Settings
Suprabh Shukla [Tue, 8 Mar 2016 02:21:10 +0000 (18:21 -0800)]
Setting TaskRecord#mUserSetupComplete directly from Settings

TaskRecord#mUserSetupComplete flag was being set by checking
UserController#mSetupCompletedUsers which was being populated by a
callback which was getting delayed long enough for some tasks being
launched with mUserSetupComplete set to false, which is not expected for
any task other than Setup Wizard. This change checks the flag directly
from Settings before setting the property.

Bug: b/27455564
Change-Id: I9ae2e969b590a95f71002a54c7de224b26e9da79

8 years agoMerge "Flip the default on whether to keep rows together" into nyc-dev
Jason Monk [Tue, 8 Mar 2016 21:48:34 +0000 (21:48 +0000)]
Merge "Flip the default on whether to keep rows together" into nyc-dev

8 years agoMerge "Fix and optimize stripForDelivery" into nyc-dev
Adrian Roos [Tue, 8 Mar 2016 21:47:02 +0000 (21:47 +0000)]
Merge "Fix and optimize stripForDelivery" into nyc-dev

8 years agoFlip the default on whether to keep rows together
Jason Monk [Tue, 8 Mar 2016 21:41:23 +0000 (16:41 -0500)]
Flip the default on whether to keep rows together

Bug: 27201532
Change-Id: Ib51ef4fb374ea197b4119fbd230df2288620f85e

8 years agoMerge "Minor improvements on BugreportProgressService:" into nyc-dev
Felipe Leme [Tue, 8 Mar 2016 21:18:21 +0000 (21:18 +0000)]
Merge "Minor improvements on BugreportProgressService:" into nyc-dev

8 years agoMerge "Call stopSelfWhenDone() *after* canceling the notification." into nyc-dev
Felipe Leme [Tue, 8 Mar 2016 21:17:42 +0000 (21:17 +0000)]
Merge "Call stopSelfWhenDone() *after* canceling the notification." into nyc-dev

8 years agoMinor improvements on BugreportProgressService:
Felipe Leme [Tue, 8 Mar 2016 19:41:18 +0000 (11:41 -0800)]
Minor improvements on BugreportProgressService:

- Removed unnecessary ContextWrapper used to get files dir.
- Immproved logging.

BUG: 27548183
BUG: 27524556
Change-Id: Ia04c6b7640969e0013ae282efbb1142fc0fc5695

8 years agoMerge "Fix bug in setText" into nyc-dev
Maria Garcia Puyol [Tue, 8 Mar 2016 21:04:25 +0000 (21:04 +0000)]
Merge "Fix bug in setText" into nyc-dev

8 years agoMerge "Add test for Transition clone." into nyc-dev
George Mount [Tue, 8 Mar 2016 21:03:35 +0000 (21:03 +0000)]
Merge "Add test for Transition clone." into nyc-dev

8 years agoMerge "Fix propagation delay not working with minimum value = 0" into nyc-dev
George Mount [Tue, 8 Mar 2016 21:03:15 +0000 (21:03 +0000)]
Merge "Fix propagation delay not working with minimum value = 0" into nyc-dev

8 years agoMerge "Revert "Set flags in RS JNI calls for rsObj creation"" into nyc-dev
Yang Ni [Tue, 8 Mar 2016 21:00:53 +0000 (21:00 +0000)]
Merge "Revert "Set flags in RS JNI calls for rsObj creation"" into nyc-dev

8 years agoRevert "Set flags in RS JNI calls for rsObj creation"
Yang Ni [Tue, 8 Mar 2016 20:59:48 +0000 (20:59 +0000)]
Revert "Set flags in RS JNI calls for rsObj creation"

This reverts commit 972a409a3df6f105aa99a3d721e37111c70ef44c.

Change-Id: Icdac5cebf9944e7b237c91db05e5a7f47b6b67e8

8 years agoAdd test for Transition clone.
George Mount [Tue, 8 Mar 2016 17:34:51 +0000 (09:34 -0800)]
Add test for Transition clone.

Change-Id: Ib95fa88a0951c680079bda5be19496be70ce75b1

8 years agoMerge "sysui: refactor scrim controller" into nyc-dev
Xiaohui Chen [Tue, 8 Mar 2016 20:47:13 +0000 (20:47 +0000)]
Merge "sysui: refactor scrim controller" into nyc-dev

8 years agoCall stopSelfWhenDone() *after* canceling the notification.
Felipe Leme [Tue, 8 Mar 2016 20:44:22 +0000 (12:44 -0800)]
Call stopSelfWhenDone() *after* canceling the notification.

When a bugreport is shared it's necessary to remove its system notification and
stop the service if there is no more pending bugreports. Since the
service will might be killed as a result, to call to cancel the
notification must be done prior to calling stopSelf().

BUG: 27524556
Change-Id: Iae9a263b6cee0e4a0a7df3e52621e56b50983fec

8 years agoMerge "Fixing crash in Recents" into nyc-dev
Winson Chung [Tue, 8 Mar 2016 20:36:50 +0000 (20:36 +0000)]
Merge "Fixing crash in Recents" into nyc-dev

8 years agoMerge "Don't cache QS custom tiles across users" into nyc-dev
Jason Monk [Tue, 8 Mar 2016 20:34:05 +0000 (20:34 +0000)]
Merge "Don't cache QS custom tiles across users" into nyc-dev

8 years agoFixing crash in Recents
Winson [Tue, 8 Mar 2016 20:33:56 +0000 (12:33 -0800)]
Fixing crash in Recents

- The change to setTasks() was causing us to queue items to be loaded
  before the activity had even started.  This change ensures that we
  don’t do this for the dummy-transition-only stack view, and only when
  setting stack tasks for real.

Bug: 27538945
Change-Id: I4ff0413cb2fb961a4dedcad42471293bab4f955a

8 years agoDon't cache QS custom tiles across users
Jason Monk [Tue, 8 Mar 2016 19:44:23 +0000 (14:44 -0500)]
Don't cache QS custom tiles across users

Then it doesn't bind to the right user causing all sorts of badness
(10000).

Bug: 27527669
Change-Id: I28eff8b4bb0e0cfe56d041c6f0980282781af8aa

8 years agoMerge "Work on QS animation curves" into nyc-dev
Jason Monk [Tue, 8 Mar 2016 20:12:12 +0000 (20:12 +0000)]
Merge "Work on QS animation curves" into nyc-dev

8 years agoMerge "SettingsProvider: Add default value for SHOW_IME_WITH_HARD_KEYBOARD." into...
Prathmesh Prabhu [Tue, 8 Mar 2016 19:55:58 +0000 (19:55 +0000)]
Merge "SettingsProvider: Add default value for SHOW_IME_WITH_HARD_KEYBOARD." into nyc-dev

8 years agoFix bug in setText
mariagpuyol [Tue, 8 Mar 2016 18:37:50 +0000 (10:37 -0800)]
Fix bug in setText

Bug:27547655
Change-Id: Ia15facda59fab9a8fe9b30f74ddd085bc26871af

8 years agoTIF: Drop the requirement for ID tuple for non-broadcast channels
Jae Seo [Tue, 8 Mar 2016 06:24:27 +0000 (22:24 -0800)]
TIF: Drop the requirement for ID tuple for non-broadcast channels

This has been causing some confusion among streaming-based channel app
developers without having any clear benefit, hence drop the requirement.

Bug: 27536480
Change-Id: I51be65ccc402171a0ce34ae4640905ec48d39e37

8 years agoMerge "Some fixes for black screen when pressing home button" into nyc-dev
Chong Zhang [Tue, 8 Mar 2016 19:30:42 +0000 (19:30 +0000)]
Merge "Some fixes for black screen when pressing home button" into nyc-dev

8 years agoSome fixes for black screen when pressing home button
Chong Zhang [Thu, 3 Mar 2016 01:01:14 +0000 (17:01 -0800)]
Some fixes for black screen when pressing home button

Pressing home button sometimes involves a rotation (eg. when app is
running in landscape mode but launch is fixed portrait mode). This will
trigger a screen freeze, which clears the transition. We still need to
add the opening app to the opening list even if transition is unset,
otherwise it doesn't wait for app to draw first frame.

Also during rotation, app, launcher and wallpaper all get relaunched.
The transition can't start until the first frame on the new launcher
window comes back. We can't start it based on the draw state of the old
window, because the old window could get removed and readded shortly
after we start the transition, and it shows up as a black frame.

bug: 27391256
bug: 27295820
Change-Id: I346685076657eef209d0fab68f272e218b55e011

8 years agoMerge "Track libcore change f121f31fd91c5a557225cd6a97418e716529eb2d (part 2)" into...
Yi Kong [Tue, 8 Mar 2016 19:15:04 +0000 (19:15 +0000)]
Merge "Track libcore change f121f31fd91c5a557225cd6a97418e716529eb2d (part 2)" into nyc-dev

8 years agoTrack libcore change f121f31fd91c5a557225cd6a97418e716529eb2d (part 2)
Yi Kong [Tue, 8 Mar 2016 19:03:08 +0000 (19:03 +0000)]
Track libcore change f121f31fd91c5a557225cd6a97418e716529eb2d (part 2)

Bug: 27427010
Change-Id: I5527f34ef6bf15aaa1a39b705e951122ae4b3d5a

8 years agoMerge "Fix build breakage" into nyc-dev
John Reck [Tue, 8 Mar 2016 19:06:52 +0000 (19:06 +0000)]
Merge "Fix build breakage" into nyc-dev

8 years agoFix build breakage
John Reck [Tue, 8 Mar 2016 19:03:35 +0000 (11:03 -0800)]
Fix build breakage

Update for API change

Change-Id: I649778b5f104a5295c0c827cc832e6190137bd02

8 years agoMerge "Fix QS translation on tablets" into nyc-dev
Jason Monk [Tue, 8 Mar 2016 19:00:41 +0000 (19:00 +0000)]
Merge "Fix QS translation on tablets" into nyc-dev

8 years agoTIF: Unhide TvView.setZOrderMediaOverlay/setZOrderOnTop/tune/unblockContent
Dongwon Kang [Sat, 5 Mar 2016 00:45:39 +0000 (16:45 -0800)]
TIF: Unhide TvView.setZOrderMediaOverlay/setZOrderOnTop/tune/unblockContent

Bug: 25726685
Change-Id: If96d0b086488c931d20315ee1c29cf7374715d93

8 years agoFix QS translation on tablets
Jason Monk [Tue, 8 Mar 2016 18:48:05 +0000 (13:48 -0500)]
Fix QS translation on tablets

Now that QS sits inside a density container, the density container
should be translated rather than the qs container.

Bug: 27474427
Change-Id: Ia516f1927362cdffe6f906fca1d7ce583542d002

8 years agoMerge "Notify user when forced to boot into safe mode" into nyc-dev
Sami Tolvanen [Tue, 8 Mar 2016 18:44:07 +0000 (18:44 +0000)]
Merge "Notify user when forced to boot into safe mode" into nyc-dev

8 years agosysui: refactor scrim controller
Xiaohui Chen [Mon, 7 Mar 2016 20:31:14 +0000 (12:31 -0800)]
sysui: refactor scrim controller

Allow show or hide scrim behind.  This toggles scrim behind to fully
transparent or not.

Bug: 27504706
Bug: 27348736

Change-Id: If9734587ad8dadb94bcf3357388a5ed19d0c1fb8

8 years agoNotify user when forced to boot into safe mode
Sami Tolvanen [Thu, 25 Feb 2016 18:03:47 +0000 (10:03 -0800)]
Notify user when forced to boot into safe mode

When the device is forced into safe mode due to a security
compromise (persist.sys.audit_safemode has been set), notify
the user and provide access to a help article.

Bug: 27308928
Bug: 26902605
Change-Id: Ief7451f2d741eb888e5b111061aab5dc29525ea5

8 years agoMerge "Reorder migration of settings from db to xml" into nyc-dev
Amith Yamasani [Tue, 8 Mar 2016 18:35:11 +0000 (18:35 +0000)]
Merge "Reorder migration of settings from db to xml" into nyc-dev

8 years agoMerge "Add leak-checking to unit tests" into nyc-dev
John Reck [Tue, 8 Mar 2016 18:25:08 +0000 (18:25 +0000)]
Merge "Add leak-checking to unit tests" into nyc-dev

8 years agoAdd leak-checking to unit tests
John Reck [Mon, 29 Feb 2016 21:31:18 +0000 (13:31 -0800)]
Add leak-checking to unit tests

Initial pass at leak-detection on the unit
tests. Due to quirks in jemalloc we need
to run the leak check on both the main thread
and the RT thread to get decent leak coverage.

Change-Id: I0dce754aef5593f1ef5c3bed86e1168437a34b74

8 years agoMerge "clear calling identity before calling getUserInfo" into nyc-dev
Tony Mak [Tue, 8 Mar 2016 18:09:34 +0000 (18:09 +0000)]
Merge "clear calling identity before calling getUserInfo" into nyc-dev

8 years agoMerge "Fixing shortcut key duplicate registration bug" into nyc-dev
Muyuan Li [Tue, 8 Mar 2016 18:02:54 +0000 (18:02 +0000)]
Merge "Fixing shortcut key duplicate registration bug" into nyc-dev

8 years agoMerge "Introducing ShortcutManager" into nyc-dev
Makoto Onuki [Tue, 8 Mar 2016 18:01:03 +0000 (18:01 +0000)]
Merge "Introducing ShortcutManager" into nyc-dev

8 years agoMerge "Increase char limit for webview multiprocess setting string" into nyc-dev
Toby Sargeant [Tue, 8 Mar 2016 17:55:34 +0000 (17:55 +0000)]
Merge "Increase char limit for webview multiprocess setting string" into nyc-dev

8 years agoMerge "Condition cleanup." into nyc-dev
Julia Reynolds [Tue, 8 Mar 2016 17:38:59 +0000 (17:38 +0000)]
Merge "Condition cleanup." into nyc-dev

8 years agoFix propagation delay not working with minimum value = 0
George Mount [Tue, 8 Mar 2016 17:32:07 +0000 (09:32 -0800)]
Fix propagation delay not working with minimum value = 0

Bug 27545221

When the propagation delay had a minimum value of 0, no
propagation delay was happening.

Change-Id: Id28c2cac1c40d5c57f6b49fa11a60218ac1787a0

8 years agoMerge "Make delete dialog match spec." into nyc-dev
Steve McKay [Tue, 8 Mar 2016 17:26:38 +0000 (17:26 +0000)]
Merge "Make delete dialog match spec." into nyc-dev

8 years agoMerge "Add tileMode support into GradientColor" into nyc-dev
Tenghui Zhu [Tue, 8 Mar 2016 17:25:47 +0000 (17:25 +0000)]
Merge "Add tileMode support into GradientColor" into nyc-dev

8 years agoMake delete dialog match spec.
Steve McKay [Tue, 8 Mar 2016 17:25:06 +0000 (09:25 -0800)]
Make delete dialog match spec.

Bug: 27535181
Change-Id: Icd2347003747b4e7674048f632dbe47a1607f8b2

8 years agoclear calling identity before calling getUserInfo
Tony Mak [Tue, 8 Mar 2016 11:02:15 +0000 (11:02 +0000)]
clear calling identity before calling getUserInfo

Bug: 27523508
Change-Id: I243a5423de850477cf65968c8ea26cbb3ae896d5

8 years agoMerge "Disabled debug logs" into nyc-dev
Wale Ogunwale [Tue, 8 Mar 2016 16:55:33 +0000 (16:55 +0000)]
Merge "Disabled debug logs" into nyc-dev

8 years agoMerge "Add hidden slide fraction call to Slide" into nyc-dev
Tony Mantler [Tue, 8 Mar 2016 16:53:57 +0000 (16:53 +0000)]
Merge "Add hidden slide fraction call to Slide" into nyc-dev

8 years agoMerge "Added EIDs for ERP, Supported & Extended Rates" into mm-wireless-dev
Glen Kuhne [Tue, 8 Mar 2016 16:53:34 +0000 (16:53 +0000)]
Merge "Added EIDs for ERP, Supported & Extended Rates" into mm-wireless-dev
am: 45eb1bdf87

* commit '45eb1bdf8788bc2aa537ec86bc93b3bf437d9c6e':
  Added EIDs for ERP, Supported & Extended Rates

8 years agoMerge "Fix 'cmd package compile' help message" into nyc-dev
David Brazdil [Tue, 8 Mar 2016 16:48:37 +0000 (16:48 +0000)]
Merge "Fix 'cmd package compile' help message" into nyc-dev

8 years agoMerge "Added EIDs for ERP, Supported & Extended Rates" into mm-wireless-dev
Glen Kuhne [Tue, 8 Mar 2016 16:48:35 +0000 (16:48 +0000)]
Merge "Added EIDs for ERP, Supported & Extended Rates" into mm-wireless-dev

8 years agoFix 'cmd package compile' help message
David Brazdil [Tue, 8 Mar 2016 16:40:20 +0000 (16:40 +0000)]
Fix 'cmd package compile' help message

Change-Id: I6d4fc505b509569793c5e61410327b4c69487a43

8 years agoMerge "Rename AudioRecordConfiguration to AudioRecordingConfiguration" into nyc-dev
Jean-Michel Trivi [Tue, 8 Mar 2016 16:46:57 +0000 (16:46 +0000)]
Merge "Rename AudioRecordConfiguration to AudioRecordingConfiguration" into nyc-dev

8 years agoMerge "Rename 'all' compile mode to 'full'" into nyc-dev
David Brazdil [Tue, 8 Mar 2016 16:31:44 +0000 (16:31 +0000)]
Merge "Rename 'all' compile mode to 'full'" into nyc-dev

8 years agoRename 'all' compile mode to 'full'
David Brazdil [Tue, 8 Mar 2016 16:22:23 +0000 (16:22 +0000)]
Rename 'all' compile mode to 'full'

The name of the full-AoT compile mode is confusing. We should change it.

Change-Id: I9cba83e398fb4ae0efb1a25ff257ba79ab105386

8 years agoMerge "Update 'more options' button when changing the printer." into nyc-dev
Philip P. Moltmann [Tue, 8 Mar 2016 16:19:53 +0000 (16:19 +0000)]
Merge "Update 'more options' button when changing the printer." into nyc-dev

8 years agoIncrease char limit for webview multiprocess setting string
Tobias Sargeant [Tue, 8 Mar 2016 16:07:14 +0000 (16:07 +0000)]
Increase char limit for webview multiprocess setting string

Change-Id: I6589052461aaa7a14a83d085373fa33e5509affc

8 years agoCondition cleanup.
Julia Reynolds [Mon, 7 Mar 2016 18:51:02 +0000 (13:51 -0500)]
Condition cleanup.

Change-Id: If978bebac52c0b1438e86339669f409b4b17c6fc

8 years agoMerge "Don't dock tasks that are non-dockable" into nyc-dev
Jorim Jaggi [Tue, 8 Mar 2016 15:27:54 +0000 (15:27 +0000)]
Merge "Don't dock tasks that are non-dockable" into nyc-dev

8 years agoDon't dock tasks that are non-dockable
Jorim Jaggi [Tue, 1 Mar 2016 13:10:14 +0000 (14:10 +0100)]
Don't dock tasks that are non-dockable

Bug: 27200491
Change-Id: I4578441b37734b85ea03b3bb67e57abed8b21182

8 years agoMerge "Add option to clear profile data to 'cmd package compile'" into nyc-dev
David Brazdil [Tue, 8 Mar 2016 14:49:55 +0000 (14:49 +0000)]
Merge "Add option to clear profile data to 'cmd package compile'" into nyc-dev

8 years agoMerge "Add option to compile all packages with 'cmd package compile'" into nyc-dev
David Brazdil [Tue, 8 Mar 2016 14:40:55 +0000 (14:40 +0000)]
Merge "Add option to compile all packages with 'cmd package compile'" into nyc-dev

8 years agoWork on QS animation curves
Jason Monk [Tue, 8 Mar 2016 14:17:56 +0000 (09:17 -0500)]
Work on QS animation curves

Bug: 27201532
Change-Id: Ib59b12c57f60c7fc08fbf2b3e63238c6d56efaf1

8 years agoMerge "Don't apply dim if there is no docked stack" into nyc-dev
Jorim Jaggi [Tue, 8 Mar 2016 14:31:28 +0000 (14:31 +0000)]
Merge "Don't apply dim if there is no docked stack" into nyc-dev

8 years agoDon't apply dim if there is no docked stack
Jorim Jaggi [Tue, 1 Mar 2016 12:51:16 +0000 (13:51 +0100)]
Don't apply dim if there is no docked stack

Also add proper names for the different dim layer surfaces, so we
better know where they are coming from when we see it in the
surface flinger dump.

Bug: 27270126
Bug: 27200491
Change-Id: Ic085e8505d20a941f4631ec914f00eefda74a766

8 years agoAdd option to clear profile data to 'cmd package compile'
David Brazdil [Tue, 8 Mar 2016 12:57:12 +0000 (12:57 +0000)]
Add option to clear profile data to 'cmd package compile'

Adds an option which clears all profile data of a given package.

Bug: 27516490
Change-Id: Ie83ef1f06ca47d35ffb206c29341dc68166afeb3

8 years agoMerge "Don't destroy thumbnails immediately" into nyc-dev
Jorim Jaggi [Tue, 8 Mar 2016 14:20:47 +0000 (14:20 +0000)]
Merge "Don't destroy thumbnails immediately" into nyc-dev

8 years agoDon't destroy thumbnails immediately
Jorim Jaggi [Tue, 1 Mar 2016 11:37:07 +0000 (12:37 +0100)]
Don't destroy thumbnails immediately

The hiding of the thumbnails needs to be synchronized with the hiding
of the app window. Because destroying them immediately destroys them
without being part of the transaction, that can happen earlier than
hiding the surface.

Instead, hide the thumbnail in the transaction first and then put it
into a list to be cleared after the transaction is closed.

Bug: 27275815
Change-Id: I1530262c26c0751e53d218b686c46129f7c7df1d

8 years agoMerge "rename the asisstant service for the ranker" into nyc-dev
Chris Wren [Tue, 8 Mar 2016 14:13:44 +0000 (14:13 +0000)]
Merge "rename the asisstant service for the ranker" into nyc-dev

8 years agoAdd option to compile all packages with 'cmd package compile'
David Brazdil [Tue, 1 Mar 2016 10:02:27 +0000 (10:02 +0000)]
Add option to compile all packages with 'cmd package compile'

To help investigate performance regressions, an option is added to
'adb shell cmd package compile' to compile all packages with the
given mode.

Bug: 27391290
Change-Id: I70a3a518e08b54535bb34f13f0cedda3a1f7085f

8 years agoBridgeContext: Fix typo in attr name (toLeft -> toLeftOf)
Siva Velusamy [Tue, 8 Mar 2016 13:58:52 +0000 (13:58 +0000)]
BridgeContext: Fix typo in attr name (toLeft -> toLeftOf)
am: af0f3bda17

* commit 'af0f3bda17ee3de4ad3560c9a675527b20e2af5f':
  BridgeContext: Fix typo in attr name (toLeft -> toLeftOf)

8 years agoBridgeContext: Fix typo in attr name (toLeft -> toLeftOf)
Siva Velusamy [Tue, 8 Mar 2016 01:19:31 +0000 (17:19 -0800)]
BridgeContext: Fix typo in attr name (toLeft -> toLeftOf)

Change-Id: I214ddf066bd69d56275477712419745cf781cee3

8 years agoFix: Selection is not correctly used for SuggestionsPopup.
Keisuke Kuroyanagi [Tue, 1 Mar 2016 00:07:54 +0000 (16:07 -0800)]
Fix: Selection is not correctly used for SuggestionsPopup.

This happens because suggestions are gathered based on the
selection after setting the cursor position to the middle
of the user selected range, which means 0-width selection
at that position. As a result, SuggestionsPopup was not
shown when any suggestion spans don't overlap middle point
of the selection.

Bug: 20709442
Change-Id: I3e1cb570f451b4ab14cf36f7da23dc2bd22f4ac8

8 years agoMerge "Call View#setHasTransientState in TextView#spanChange." into nyc-dev
Keisuke Kuroyanagi [Tue, 8 Mar 2016 07:28:33 +0000 (07:28 +0000)]
Merge "Call View#setHasTransientState in TextView#spanChange." into nyc-dev

8 years agoMerge "TIF: Add more comments for TvInputInfo/TvTrackInfo" into nyc-dev
Jae Seo [Tue, 8 Mar 2016 05:41:13 +0000 (05:41 +0000)]
Merge "TIF: Add more comments for TvInputInfo/TvTrackInfo" into nyc-dev

8 years agoMerge "Have unified setter/getter for TSMS Settings." into nyc-dev
Yohei Yukawa [Tue, 8 Mar 2016 05:37:51 +0000 (05:37 +0000)]
Merge "Have unified setter/getter for TSMS Settings." into nyc-dev

8 years agoHave unified setter/getter for TSMS Settings.
Yohei Yukawa [Tue, 8 Mar 2016 05:26:38 +0000 (21:26 -0800)]
Have unified setter/getter for TSMS Settings.

This ports my previous CL for InputMethodManagerService [1] to
TextServicesManagerService (TSMS).

In order to make TSMS encryption-aware, we are going to introduce a new
state where any read/write access to Secure Settings from TSMS is
virtualized so that we can temporarily enable only encryption-aware
spell checkers until the user unlocks the device then revert
any changes made before the device enters into an unlocked state.

See my previous commit message [1] for details.

This is still a preparation code.  Behavior change is not intended yet
in this CL.

  [1]: I0f79243e5cc1556764da37fa38078e075a27d42b
       8752367042cb690f78953557433c16ac77eeea45

Bug: 27456430
Change-Id: I97a1e2f75bdecb0aa88fb35dfe56732c08fcbbd5

8 years agoCall View#setHasTransientState in TextView#spanChange.
Keisuke Kuroyanagi [Mon, 29 Feb 2016 20:53:58 +0000 (12:53 -0800)]
Call View#setHasTransientState in TextView#spanChange.

setHasTransientState(true) and setHasTransientState(false) have to
be coupled, but they were not always coupled in TextView. e.g. when
we fire PROCESS_TEXT intent.
With this CL, TextView calls setHasTransientState() always when
selection is created or cleared to make sure 2 setHasTransientState
calls are always coupled.

Bug: 27409041
Change-Id: Ib454b0fbbc2c2f8d19818f154f415c4a5d7e2d7e

8 years agoTIF: Add more comments for TvInputInfo/TvTrackInfo
Jae Seo [Tue, 8 Mar 2016 04:00:14 +0000 (20:00 -0800)]
TIF: Add more comments for TvInputInfo/TvTrackInfo

- Documented what TvInputInfo.getTunerCount returns if the input is not
  of TYPE_TUNER.
- Documented what all getters/setters in TvTrackInfo throw if not called
  on proper types.

Bug: 27531254
Change-Id: I32d83ce888507ec29cda8dce74871a3d55783766

8 years agoFixed a bug where the font sizes where not enforced correctly
Selim Cinek [Tue, 8 Mar 2016 03:51:54 +0000 (19:51 -0800)]
Fixed a bug where the font sizes where not enforced correctly

If a style was passed through it wasn't processed correctly.

Bug: 27431551
Change-Id: If764634cbc8a5bf13260a8fc4f392bc8b7482f4d

8 years agoMerge "Rely on SystemService#onSwitchUser() in IMMS." into nyc-dev
Yohei Yukawa [Tue, 8 Mar 2016 03:03:13 +0000 (03:03 +0000)]
Merge "Rely on SystemService#onSwitchUser() in IMMS." into nyc-dev

8 years agoMerge "Add a new key to Settings.Global to obtain the number of boot." into nyc-dev
Daichi Hirono [Tue, 8 Mar 2016 02:06:38 +0000 (02:06 +0000)]
Merge "Add a new key to Settings.Global to obtain the number of boot." into nyc-dev

8 years agoMerge "MediaBrowser: Copy options before using it in subscribe()" into nyc-dev
Sungsoo Lim [Tue, 8 Mar 2016 01:46:09 +0000 (01:46 +0000)]
Merge "MediaBrowser: Copy options before using it in subscribe()" into nyc-dev

8 years agoMerge "Suppress tests that are consistently failing..." into nyc-dev
Steve McKay [Tue, 8 Mar 2016 01:38:51 +0000 (01:38 +0000)]
Merge "Suppress tests that are consistently failing..." into nyc-dev

8 years agoMerge "New permission for bypassing premium short code check." into nyc-dev
Amit Mahajan [Tue, 8 Mar 2016 01:13:52 +0000 (01:13 +0000)]
Merge "New permission for bypassing premium short code check." into nyc-dev

8 years agoReorder migration of settings from db to xml
Amith Yamasani [Tue, 8 Mar 2016 00:37:18 +0000 (16:37 -0800)]
Reorder migration of settings from db to xml

Make sure we commit the Global table last, so that if the
runtime was restarted before the others were written, we don't
get into an inconsistent state of migration.

Not sure if this fixes the following bug, but it's one thing
that stood out as a possibility.

Bug: 27335488
Change-Id: I4166a157e9ff542b1d5e32797693417375e40581

8 years agoMerge "Draw a clock on top of the Android boot animation" into nyc-dev
Damien Bargiacchi [Tue, 8 Mar 2016 00:44:34 +0000 (00:44 +0000)]
Merge "Draw a clock on top of the Android boot animation" into nyc-dev

8 years agoMerge "Show active downloads in Files app Downloads dir." into nyc-dev
Steve McKay [Tue, 8 Mar 2016 00:34:51 +0000 (00:34 +0000)]
Merge "Show active downloads in Files app Downloads dir." into nyc-dev

8 years agoDraw a clock on top of the Android boot animation
Damien Bargiacchi [Wed, 17 Feb 2016 00:55:49 +0000 (16:55 -0800)]
Draw a clock on top of the Android boot animation

Don't draw on top of vendor specific animations/logos since we can't
make it look good.

Bug: 27209004
Change-Id: If4791b861ff476c23b37787ba896a3ef8d9df4fd

8 years agoMerge "Add a VR listener service." into nyc-dev
Ruben Brunk [Tue, 8 Mar 2016 00:14:55 +0000 (00:14 +0000)]
Merge "Add a VR listener service." into nyc-dev