82131 Commits

Author SHA1 Message Date
Casey Burkhardt
cbfd71c66d Merge "Exposes accessibility importance on AccessibilityNodeInfo" 2016-02-02 02:47:20 +00:00
Tim Murray
086e09ff60 Merge "Add specific category for TOP_APP in ActivityManager." 2016-02-02 02:13:33 +00:00
Ryan Bavetta
f812e57d38 Merge "Allow Generic SoundTrigger Models" 2016-02-02 00:53:56 +00:00
Chong Zhang
a4d4a4c64e Merge "Do not draw background if the background drawable is null" 2016-02-02 00:35:41 +00:00
Chong Zhang
0fd2574a1d Do not draw background if the background drawable is null
Some apps may not have background drawables.

bug: 26729953
Change-Id: I1e93013bb91ba376449bc580646fc733ca4dd072
2016-02-01 16:09:55 -08:00
Wale Ogunwale
f70fb29c83 Merge "Allow apps that target less than N SDK to be resizeable." 2016-02-01 23:58:32 +00:00
Fyodor Kupolov
0ffbfea423 Self closing tags are not allowed as of Java 8
Self closing tags are not legal in HTML and javadoc was updated to better
enforce valid javadoc comments.
https://bugs.openjdk.java.net/browse/JDK-8020619

Change-Id: Ia7644b79be559a2e88fc9850eab570bd926f9a4b
2016-02-01 23:56:09 +00:00
Casey Burkhardt
e28ec5f056 Merge "Update AccessibilityAction docs" 2016-02-01 23:44:43 +00:00
Selim Gurun
0829fd4b26 Merge "Run 32-bit app in multiArch APK." 2016-02-01 23:40:23 +00:00
Abhijith Shastry
a14642cbf3 Merge "BlockedNumberContract API changes:" 2016-02-01 23:36:15 +00:00
Abhijith Shastry
d907c64ff9 BlockedNumberContract API changes:
1. Add a method isProviderSupportedForCurrentUser for multi-user scenarios.
2. Remove STRIPPED_NUMBER column.

BUG: 26232372

Change-Id: Ida703d7a873915a02cd7918ed297cf039a7956c9
2016-02-01 15:09:08 -08:00
Steve McKay
a7dbccff77 Merge "Create "Home" dir instead of "home" to match other default dirs." 2016-02-01 23:00:59 +00:00
Tao Bai
c9a0237f5f Run 32-bit app in multiArch APK.
Bug: 26874366

Change-Id: I2c1fd1d036efe72b28b5fe996416df69a583959f
2016-02-01 14:54:37 -08:00
Steve McKay
5c462a0e31 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
2016-02-01 14:46:34 -08:00
Ryan Bavetta
ee3fc89a3a Allow Generic SoundTrigger Models
BUG: 22860713
Change-Id: Ic260af0831f9751ced161820f52f0b0185bdfcea
2016-02-01 14:34:58 -08:00
Jorim Jaggi
ccdab44d25 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
2016-02-01 22:18:21 +00:00
Antonio Cansado
89270a445a Merge "Retuning tag information through NetworkStatsManager." 2016-02-01 22:16:44 +00:00
Antonio Cansado
46c75367fa 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
2016-02-01 14:13:20 -08:00
Steven Dao
58869d2c9f Merge "Fix CollectionItemInfo.isHeading for ListView" 2016-02-01 22:10:52 +00:00
Hyunyoung Song
2678d30e7b Merge "Runtime exception on AppWidgetHostView should not cause crash to the hosting process." 2016-02-01 21:52:42 +00:00
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
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
Julia Reynolds
3588e597d2 Merge "Re-SystemApi some fields/method that aren't in use." 2016-02-01 20:37:41 +00:00
Mihai Niță
a6a63d8ef0 Merge "Fix: RTL sublocales need to display RTL" 2016-02-01 20:22:36 +00: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
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
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
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
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
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
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
Alan Viverette
bfd99b480d Merge "Scroll alert dialog buttons vertically when there's not enough space" 2016-02-01 17:28:53 +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
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