234942 Commits

Author SHA1 Message Date
Jason Monk
57f4376d33 Merge "Fix QS translation on tablets" into nyc-dev 2016-03-08 19:00:42 +00:00
Jason Monk
5025f42203 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
2016-03-08 13:48:05 -05:00
Sami Tolvanen
525032754e Merge "Notify user when forced to boot into safe mode" into nyc-dev 2016-03-08 18:44:08 +00:00
Sami Tolvanen
c7d64c134a 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
2016-03-08 10:36:19 -08:00
Amith Yamasani
4b1d8b07e5 Merge "Reorder migration of settings from db to xml" into nyc-dev 2016-03-08 18:35:13 +00:00
John Reck
328653d74c Merge "Add leak-checking to unit tests" into nyc-dev 2016-03-08 18:25:10 +00:00
John Reck
dc87c52cd5 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
2016-03-08 10:20:28 -08:00
Tony Mak
29d6b9f0f7 Merge "clear calling identity before calling getUserInfo" into nyc-dev 2016-03-08 18:09:35 +00:00
Muyuan Li
605ec5cdca Merge "Fixing shortcut key duplicate registration bug" into nyc-dev 2016-03-08 18:02:56 +00:00
Makoto Onuki
ed58f5f0aa Merge "Introducing ShortcutManager" into nyc-dev 2016-03-08 18:01:05 +00:00
Toby Sargeant
316b9ecdcf Merge "Increase char limit for webview multiprocess setting string" into nyc-dev 2016-03-08 17:55:35 +00:00
Julia Reynolds
4ed0e8cf8f Merge "Condition cleanup." into nyc-dev 2016-03-08 17:39:01 +00:00
Steve McKay
e0dc3f2975 Merge "Make delete dialog match spec." into nyc-dev 2016-03-08 17:26:40 +00:00
Tenghui Zhu
e4e4da5cc6 Merge "Add tileMode support into GradientColor" into nyc-dev 2016-03-08 17:25:48 +00:00
Steve McKay
67f50e64e0 Make delete dialog match spec.
Bug: 27535181
Change-Id: Icd2347003747b4e7674048f632dbe47a1607f8b2
2016-03-08 09:25:24 -08:00
Tony Mak
4d9abf92d4 clear calling identity before calling getUserInfo
Bug: 27523508
Change-Id: I243a5423de850477cf65968c8ea26cbb3ae896d5
2016-03-08 17:00:22 +00:00
Wale Ogunwale
a521c4a9fa Merge "Disabled debug logs" into nyc-dev 2016-03-08 16:55:35 +00:00
Tony Mantler
ad43160b65 Merge "Add hidden slide fraction call to Slide" into nyc-dev 2016-03-08 16:53:58 +00:00
Glen Kuhne
ae0da24c8d Merge "Added EIDs for ERP, Supported & Extended Rates" into mm-wireless-dev
am: 45eb1bdf87

* commit '45eb1bdf8788bc2aa537ec86bc93b3bf437d9c6e':
  Added EIDs for ERP, Supported & Extended Rates
2016-03-08 16:53:34 +00:00
David Brazdil
8cd2bee34e Merge "Fix 'cmd package compile' help message" into nyc-dev 2016-03-08 16:48:38 +00:00
Glen Kuhne
45eb1bdf87 Merge "Added EIDs for ERP, Supported & Extended Rates" into mm-wireless-dev 2016-03-08 16:48:35 +00:00
David Brazdil
cf0469520e Fix 'cmd package compile' help message
Change-Id: I6d4fc505b509569793c5e61410327b4c69487a43
2016-03-08 16:47:12 +00:00
Jean-Michel Trivi
84dee4f16c Merge "Rename AudioRecordConfiguration to AudioRecordingConfiguration" into nyc-dev 2016-03-08 16:46:58 +00:00
David Brazdil
b7efced3c4 Merge "Rename 'all' compile mode to 'full'" into nyc-dev 2016-03-08 16:31:46 +00:00
David Brazdil
ce389e53b1 Rename 'all' compile mode to 'full'
The name of the full-AoT compile mode is confusing. We should change it.

Change-Id: I9cba83e398fb4ae0efb1a25ff257ba79ab105386
2016-03-08 16:27:09 +00:00
Philip P. Moltmann
6beb8b8d08 Merge "Update 'more options' button when changing the printer." into nyc-dev 2016-03-08 16:19:55 +00:00
Tobias Sargeant
431a92d86d Increase char limit for webview multiprocess setting string
Change-Id: I6589052461aaa7a14a83d085373fa33e5509affc
2016-03-08 16:07:14 +00:00
Julia Reynolds
1d6d16d699 Condition cleanup.
Change-Id: If978bebac52c0b1438e86339669f409b4b17c6fc
2016-03-08 10:41:31 -05:00
Jorim Jaggi
f2d7b28115 Merge "Don't dock tasks that are non-dockable" into nyc-dev 2016-03-08 15:27:56 +00:00
Jorim Jaggi
aa6c574411 Don't dock tasks that are non-dockable
Bug: 27200491
Change-Id: I4578441b37734b85ea03b3bb67e57abed8b21182
2016-03-08 16:20:54 +01:00
David Brazdil
5868ea7e01 Merge "Add option to clear profile data to 'cmd package compile'" into nyc-dev 2016-03-08 14:49:56 +00:00
David Brazdil
9edd36a8ba Merge "Add option to compile all packages with 'cmd package compile'" into nyc-dev 2016-03-08 14:40:56 +00:00
Jorim Jaggi
b0069b25de Merge "Don't apply dim if there is no docked stack" into nyc-dev 2016-03-08 14:31:29 +00:00
Jorim Jaggi
bc5425cdb9 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
2016-03-08 15:28:24 +01:00
David Brazdil
9aa6db03f0 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
2016-03-08 14:24:54 +00:00
Jorim Jaggi
49f470fcd0 Merge "Don't destroy thumbnails immediately" into nyc-dev 2016-03-08 14:20:49 +00:00
Jorim Jaggi
3dac63a18d 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
2016-03-08 15:16:15 +01:00
Chris Wren
be3696d425 Merge "rename the asisstant service for the ranker" into nyc-dev 2016-03-08 14:13:45 +00:00
David Brazdil
990fb6b5c9 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
2016-03-08 14:06:18 +00:00
Siva Velusamy
f1c6e0bd7b BridgeContext: Fix typo in attr name (toLeft -> toLeftOf)
am: af0f3bda17

* commit 'af0f3bda17ee3de4ad3560c9a675527b20e2af5f':
  BridgeContext: Fix typo in attr name (toLeft -> toLeftOf)
2016-03-08 13:58:52 +00:00
Siva Velusamy
af0f3bda17 BridgeContext: Fix typo in attr name (toLeft -> toLeftOf)
Change-Id: I214ddf066bd69d56275477712419745cf781cee3
2016-03-08 13:52:02 +00:00
Keisuke Kuroyanagi
713be06f7a 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
2016-03-08 08:32:28 +00:00
Keisuke Kuroyanagi
40fd5fac48 Merge "Call View#setHasTransientState in TextView#spanChange." into nyc-dev 2016-03-08 07:28:34 +00:00
Jae Seo
3c420f669b Merge "TIF: Add more comments for TvInputInfo/TvTrackInfo" into nyc-dev 2016-03-08 05:41:15 +00:00
Yohei Yukawa
1d7d1d171d Merge "Have unified setter/getter for TSMS Settings." into nyc-dev 2016-03-08 05:37:53 +00:00
Yohei Yukawa
f0ed48d18d 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
2016-03-07 21:26:38 -08:00
Keisuke Kuroyanagi
af4caa6006 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
2016-03-08 04:58:46 +00:00
Jae Seo
6256e27c1b 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
2016-03-07 20:09:43 -08:00
Yohei Yukawa
dd461a942c Merge "Rely on SystemService#onSwitchUser() in IMMS." into nyc-dev 2016-03-08 03:03:14 +00:00
Daichi Hirono
d517e6aeed Merge "Add a new key to Settings.Global to obtain the number of boot." into nyc-dev 2016-03-08 02:06:39 +00:00