231622 Commits

Author SHA1 Message Date
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
Winson Chung
6bbf598b11 Merge "Fixing crash loop when the parent affiliated task is removed." 2016-02-01 18:15:53 +00:00
Winson
df1020c539 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
2016-02-01 10:05:10 -08:00
Ritesh Reddy
8e7fffd17d Merge "Revert "Enabled SoftAP Configuration Backup"" 2016-02-01 17:55:59 +00:00
Julia Reynolds
a62496d8f7 Re-SystemApi some fields/method that aren't in use.
Bug: 26816334
Change-Id: Ib01e7856cd65e294c018017c600f8b3dce2be844
2016-02-01 12:55:39 -05:00
Jeff Sharkey
a9206c74a6 Merge "File paths to system partition are okay-ish." 2016-02-01 17:51:58 +00:00
Geoff Mendal
a6939e260e Merge "Import translations. DO NOT MERGE" 2016-02-01 17:50:32 +00:00
Jeff Sharkey
ac3be9a283 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
2016-02-01 10:44:45 -07:00
Geoff Mendal
f9e114a7aa Import translations. DO NOT MERGE
Change-Id: Ieb9955126740aff1f20d550644faf19a52980c84
Auto-generated-cl: translation import
2016-02-01 18:43:59 +01:00
Jason Monk
6afd74463c Merge "Add upgrader for tuner" 2016-02-01 17:35:35 +00:00
Alan Viverette
493e4a35f5 Merge "Update documentation for drawable state attributes" 2016-02-01 17:30:57 +00:00
Alan Viverette
37a4a1c8a7 Merge "Don't move non-modal popups in response to global layout" 2016-02-01 17:30:28 +00:00
Felipe Leme
2004798ca0 Merge "Added extra sanity checks." 2016-02-01 17:28:57 +00:00
Alan Viverette
bfd99b480d Merge "Scroll alert dialog buttons vertically when there's not enough space" 2016-02-01 17:28:53 +00:00
Felipe Leme
af6fd4086c Added extra sanity checks.
BUG: 26795255
BUG: 26805503
Change-Id: Ib95b337e54a174f178f70205f9d108223f192a62
2016-02-01 09:26:52 -08:00
Filip Gruszczynski
3caa3c75e8 Merge "Ensure visibility of pinned activity when starting it." 2016-02-01 17:20:43 +00:00
Jeff Sharkey
532f52cdd8 Merge "Only create custom database paths." 2016-02-01 17:18:59 +00:00
Jeff Sharkey
c4bab9843a 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
2016-02-01 10:17:57 -07:00
Filip Gruszczynski
3d7fdc1112 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
2016-02-01 09:17:03 -08:00
Ben Kwa
d4d0e7085a 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
2016-02-01 09:11:55 -08:00
Jeff Sharkey
4b72e453bb Merge "Skip setting up cache paths on system package." 2016-02-01 17:02:42 +00:00
Jeff Sharkey
e6cb0974b3 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
2016-02-01 09:59:15 -07:00
Filip Gruszczynski
3641a80aa6 Merge "Merge decor caption button drawables." 2016-02-01 16:47:31 +00:00
Daniel Sandler
7c85828596 Merge "Temporarily remove file:// Uri checks in Notification.sound." 2016-02-01 16:45:45 +00:00
Jason Monk
c767a1f988 Merge "Add some cmds for statusbar" 2016-02-01 16:39:06 +00:00
Dan Sandler
a5086b4385 Temporarily remove file:// Uri checks in Notification.sound.
Bug: 26895798
Change-Id: I83034ab812108a5f692bbb608faf5951682f212e
2016-02-01 11:37:11 -05:00
Adam Powell
d1b140914d Merge "Clear/restore calling identity for ChooserTargetService" 2016-02-01 16:33:41 +00:00
Rubin Xu
cae0627461 Merge "Canel all work notification when the profile is turned off" 2016-02-01 16:32:21 +00:00