231598 Commits

Author SHA1 Message Date
Hyunyoung Song
4d1bf09339 Runtime exception on AppWidgetHostView should not cause crash to the hosting process.
b/26797293

Change-Id: I7e1efad7d5314141d21440bf8915c101e35c2adf
2016-02-01 13:51:39 -08:00
Jorim Jaggi
9349e65a2d 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
2016-02-01 13:46:30 -08:00
Jorim Jaggi
1b12ef55b7 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
2016-02-01 13:43:36 -08:00
Oleksandr Peletskyi
8e9316cdde Merge "Added restriction that disallows ability to set wallpaper. BUG: 24890474" 2016-02-01 21:30:43 +00:00
Michael Lentine
8f2cd95930 Merge "Adding plumbing for passing the lib directory." 2016-02-01 21:28:25 +00:00
Geoff Mendal
73ecaf0881 Import translations. DO NOT MERGE
Change-Id: I25920d1a09b527c9e2868537f68d994a40a85e6a
Auto-generated-cl: translation import
2016-02-01 13:24:23 -08:00
Fyodor Kupolov
c34c37f74f Merge "Synchronously finish boot when user starts in background" 2016-02-01 21:21:46 +00:00
Geoff Mendal
6ee840509a 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
2016-02-01 21:20:11 +00:00
Geoff Mendal
8cc5899aef Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev
am: 60e392e021  -s ours

* commit '60e392e021da2fe8b05986c545b324a4e70f396e':
  Import translations. DO NOT MERGE
2016-02-01 21:14:42 +00:00
Sanket Agarwal
f8a1c9121d 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
2016-02-01 21:13:37 +00:00
Geoff Mendal
60e392e021 Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev 2016-02-01 21:10:47 +00:00
Robert Carr
e1034cc39a 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
2016-02-01 13:08:15 -08:00
Geoff Mendal
203eec6b37 Import translations. DO NOT MERGE
Change-Id: I22adb9c9dea51a632471abe8623deea91ba90b25
Auto-generated-cl: translation import
2016-02-01 13:08:15 -08:00
Philip P. Moltmann
c2f913d09b 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
2016-02-01 13:03:44 -08:00
Geoff Mendal
a5da90c6f4 Merge "Import translations. DO NOT MERGE" 2016-02-01 21:02:43 +00:00
Victor Chang
70b1751d14 Fix that can't launch managed QuickContact in ContactSearch
It happens when caller id is disabled but contacts search is enabled

BUG=26740020

Change-Id: I4ca79c82ed27f6f1da514b31d8d89fc71fd243fb
2016-02-01 21:01:13 +00:00
Geoff Mendal
4b88cf0dd8 Import translations. DO NOT MERGE
Change-Id: I33ec1d301ea490620093cf078e4bf3e9d8f81d7e
Auto-generated-cl: translation import
2016-02-01 13:00:10 -08:00
Julia Reynolds
f1c00cf3d1 Merge "Send ranking update on importance change." 2016-02-01 20:59:06 +00:00
Geoff Mendal
4e379c14dc 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
2016-02-01 20:52:55 +00:00
Geoff Mendal
80a4c66e61 Import translations. DO NOT MERGE am: f544fc21d0 -s ours am: b2628caab6 -s ours
am: 21a6f2050a  -s ours

* commit '21a6f2050adcbbd8f121abbb3c3ef3f0b57391c7':
  Import translations. DO NOT MERGE
2016-02-01 20:48:37 +00:00
Geoff Mendal
21a6f2050a Import translations. DO NOT MERGE am: f544fc21d0 -s ours
am: b2628caab6  -s ours

* commit 'b2628caab626bac41e551556cabf34c0770cec9b':
  Import translations. DO NOT MERGE
2016-02-01 20:44:05 +00:00
Geoff Mendal
b2628caab6 Import translations. DO NOT MERGE
am: f544fc21d0  -s ours

* commit 'f544fc21d0a4d74a13e385d981a805f8add8cebb':
  Import translations. DO NOT MERGE
2016-02-01 20:41:25 +00:00
Geoff Mendal
f544fc21d0 Import translations. DO NOT MERGE
Change-Id: Ic5942cf8f289103e9a78b93e69211bf17a47b344
Auto-generated-cl: translation import
2016-02-01 12:37:44 -08:00
Julia Reynolds
3588e597d2 Merge "Re-SystemApi some fields/method that aren't in use." 2016-02-01 20:37:41 +00:00
Julia Reynolds
69766695c6 Send ranking update on importance change.
Bug: 26882239
Change-Id: Iae5703a5b024a75b8adc8c5c9c107bfa57013f5b
2016-02-01 15:35:08 -05:00
Geoff Mendal
c92035b1aa Import translations. DO NOT MERGE am: 9ff5be7674 -s ours am: 4889505304 -s ours
am: 9f0bf63c91  -s ours

* commit '9f0bf63c91b3e1cc203da50115daccea69772a18':
  Import translations. DO NOT MERGE
2016-02-01 20:33:44 +00:00
Geoff Mendal
9f0bf63c91 Import translations. DO NOT MERGE am: 9ff5be7674 -s ours
am: 4889505304  -s ours

* commit '4889505304b7763e23bd847f833029f3d379ffe7':
  Import translations. DO NOT MERGE
2016-02-01 20:31:03 +00:00
Geoff Mendal
4889505304 Import translations. DO NOT MERGE
am: 9ff5be7674  -s ours

* commit '9ff5be7674e3a925dc371bc812b220f3c476c501':
  Import translations. DO NOT MERGE
2016-02-01 20:26:24 +00:00
Mihai Niță
a6a63d8ef0 Merge "Fix: RTL sublocales need to display RTL" 2016-02-01 20:22:36 +00:00
Geoff Mendal
9ff5be7674 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 26887782
Change-Id: If6bc1bd3f277f0289aecb7c063f899363079c248
2016-02-01 12:21:06 -08:00
Jorim Jaggi
c6c89a8214 Fix transition to recents in docked mode
Transition for non-compatible apps will be handled in a separate CL.

Change-Id: I9c474f7aa394e4f3eacd1845c78bee5874bd8a59
2016-02-01 12:19:53 -08:00
Jorim Jaggi
e909802b41 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
2016-02-01 12:16:47 -08:00
Wale Ogunwale
163828db30 Allow apps that target less than N SDK to be resizeable.
If an app says it is resizeable then make it resizeable
regardless of the SDK it is targetting.

Change-Id: I51a1c5417657c6b15ce035f8d5af202506f4120a
2016-02-01 11:48:19 -08:00
Steven Dao
5f9eb89844 Fix CollectionItemInfo.isHeading for ListView
- At the moment all non-header/footer items are marked
  as headings and vice versa.

Change-Id: I453e2fb9e75fa4bd863f513c4318a5e6ac4b2c87
2016-02-01 11:45:45 -08:00
Ben Kwa
1a8fbfce6f Merge "Don't clear the selection when directory contents change." 2016-02-01 19:17:36 +00:00
Wale Ogunwale
cd872fb266 Merge "Improved logic for determining visiblility of activities in the home stack" 2016-02-01 19:10:22 +00:00
Wale Ogunwale
bc088392fc Merge "Allow activities without FLAG_ACTIVITY_NEW_TASK set to be home activities" 2016-02-01 19:09:27 +00:00
Wale Ogunwale
f6f5f4ed94 Merge "Made some changes to window caption APIs" 2016-02-01 19:06:18 +00:00
Oleksandr Peletskyi
f2519814cc Added restriction that disallows ability to set wallpaper.
BUG: 24890474

Change-Id: I424aa80d914e3b6f3f9eba8ccb4802bad6f54907
2016-02-01 20:00:25 +01:00
Vadim Tryshev
a22dd33419 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)
2016-02-01 18:53:51 +00:00
Mihai Nita
24215ecadc 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
2016-02-01 10:51:54 -08:00
David Brazdil
8486786493 Merge "Add 'package compile' shell command" 2016-02-01 18:44:22 +00:00
Aga Wronska
f5c027460e 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" 2016-02-01 18:43:41 +00:00
Aga Wronska
0950df196f 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
2016-02-01 10:36:02 -08:00
Casey Burkhardt
2d80ae4fbb Exposes accessibility importance on AccessibilityNodeInfo
This allows a service configured with FLAG_INCLUDE_NOT_IMPORTANT_VIEWS
to discover which views in the hierarchy were evaluated as important.

Change-Id: Ife9411e41326b4872fc0682773722b9dae7ce994
2016-02-01 10:35:20 -08:00
David Brazdil
493411ace4 Add 'package compile' shell command
Bug: 26707406
Change-Id: I554969c9f3b3153179370d3d23a88fa7e8693885
2016-02-01 18:32:55 +00:00
Makoto Onuki
b4ec8aaaba Merge "Revert "Throw for unknown user restrictions."" 2016-02-01 18:26:08 +00:00
Makoto Onuki
2ec157d928 Revert "Throw for unknown user restrictions."
This reverts commit 3861bf7e73fab9e39e8d1f6e5194f3600ed929a0.

Bug 26896902

Change-Id: I26fa0159b5bb832048ccd013054a01f91b54947b
2016-02-01 18:23:55 +00:00
Ruben Brunk
33e0a5f7ed Merge "Add feature tag for high-performance VR devices." 2016-02-01 18:20:00 +00:00
Abodunrinwa Toki
79798a793f Merge "Revert "Revert "FloatingToolbar: Fix orientation change handling.""" 2016-02-01 18:16:44 +00:00