218347 Commits

Author SHA1 Message Date
Ben Kwa
bd7da4c44e Activate selection mode when selecting via mouse.
Modify the MultiSelectManager so that toggling selection on an item
notifies listeners of selection changes, if necessary.  This fixes a bug
where notifySelectionChanged wasn't getting called when the selection
changed.

BUG=23944862

Change-Id: I3aef41cc92c560dc15bdc0fe310c340bdb3005f6
2015-09-25 07:47:56 -07:00
Steve McKay
2fbe728069 Merge "Show empty roots except for content pickers." 2015-09-24 23:18:26 +00:00
Steve McKay
0200e34637 Show empty roots except for content pickers.
Bug: 24140864

Change-Id: I9fae80a1e3d413e97ee099bee9c59f81f713cf27
2015-09-24 16:16:43 -07:00
Ben Kwa
32a5776039 Merge "Fix a crash when deleting documents." 2015-09-24 23:13:42 +00:00
Wale Ogunwale
e25a8292f8 Merge "Added am command to suppress config. changes during task resize." 2015-09-24 23:08:02 +00:00
Chong Zhang
04246b87b5 Merge "Use visible frame instead of task bounds for detecting resize start" 2015-09-24 23:03:12 +00:00
Ben Kwa
8923911c69 Fix a crash when deleting documents.
Deleting (and moving) documents invalidates previous selections, as
items change position.  Exit selection mode *before* actually deleting
anything, otherwise we end up trying to unselect potentially deleted
documents.

BUG=24338150

Change-Id: I79fb0c156142b78987be68560c78306f2678c521
2015-09-24 16:01:13 -07:00
Winson Chung
885291318b Merge "Removing unused debug overlay code." 2015-09-24 22:58:39 +00:00
Winson
dab26488b4 Removing unused debug overlay code.
Change-Id: I80d98b38001ca37bf5017b1631038fb574c324af
2015-09-24 15:56:10 -07:00
Wale Ogunwale
83301a933f Added am command to suppress config. changes during task resize.
This command is useful for testing during development, but at some
point we will decide if allowing configuration changes during resizing
is okay or merge in http://ag/759766 to suppress configuration changes
during resizing and deliver the new config. to the app.

This functionality will be reverted once we decide.

Bug: 24380097
Change-Id: I223c08bc939e564a78e70994b599770be9d4730d
2015-09-24 15:54:08 -07:00
Ben Kwa
437c507085 Merge "DocumentsUI: Add an error screen to DirectoryFragment." 2015-09-24 22:28:08 +00:00
Chong Zhang
9184ec6860 Use visible frame instead of task bounds for detecting resize start
Initial task bounds might be adjusted (for status bar, etc.). Touch
should be set up using visible frames instead of task bounds.

bug: 24336351
Change-Id: I944e3185a06c39b451432bdda5ad87880a0482f3
2015-09-24 22:27:08 +00:00
Zach Kuznia
d7d72cf73a Merge "Use the standard GestureDetector for Double Taps in TouchExplorer" 2015-09-24 22:14:09 +00:00
Ben Kwa
91bec536ac DocumentsUI: Add an error screen to DirectoryFragment.
- Reorganize the directory fragment.
- Repurpose the "empty" view to hold a message and a button.
- Message is set to the "No items" message if a directory is empty.
- Message is set to the error message if a query error occurs.
- Don't close DocumentsUI when a query error occurs.

Change-Id: I4e1e96f23040606b410ac746252dcb0ab9286f04
2015-09-24 15:06:14 -07:00
Todd Kennedy
0b29ba687e am 8f08db9d: am 4e321745: resolved conflicts for cafacef6 to stage-aosp-master
* commit '8f08db9def9b40075534facd20add5835cd3b5be':
  Frameworks/base: Propagate boot status to installd
2015-09-24 21:56:34 +00:00
Todd Kennedy
8f08db9def am 4e321745: resolved conflicts for cafacef6 to stage-aosp-master
* commit '4e321745173de1eb89343238fadfbcc7ba1a88f9':
  Frameworks/base: Propagate boot status to installd
2015-09-24 21:48:50 +00:00
Zachary Kuznia
c052c635ee Use the standard GestureDetector for Double Taps in TouchExplorer
b/24339804

Change-Id: I96fa1287fa941178fb9970ceb34d95a3604e6815
2015-09-24 14:47:07 -07:00
Todd Kennedy
4e32174517 resolved conflicts for cafacef6 to stage-aosp-master
Change-Id: Id02e098a02aede327c5bc1a98aa177d8bf9ec5a9
2015-09-24 14:34:06 -07:00
Alan Viverette
5954383b1f Various fixes for Material widget styles
- Body1 text appearance in Material-styled NumberPicker
- Non-inverse text color in colored bordered button disabled state

Bug: 24374092
Bug: 24267929
Change-Id: I576af6171fc64ab821b6455d3b825c9b05eec4a7
2015-09-24 17:07:14 -04:00
Oren Blasberg
8f3976c875 Merge "Cascading submenus: Fix a few small issues." 2015-09-24 20:59:44 +00:00
Oren Blasberg
734320d06b Cascading submenus: Fix a few small issues.
1. Open submenus now disappear instantly rather than fading out when
mouse hovers over a non-submenu item.

2. When a submenu is opened on hover, the item that was hovered now
will remain selected instead of being deselected.

3. Fix an issue where if the same chain of submenus was opened more
than once, the submenus could open in a different direction each
time. To fix, we keep track of the direction of opening along the way
and make sure to reset the preferred direction when a submenu is
closed.

Bug: 20127825
Change-Id: I99972cce4ddabe316c5148f1dd79a5d7b3e64b87
2015-09-24 13:36:15 -07:00
Todd Kennedy
cafacef60e Merge "Frameworks/base: Propagate boot status to installd" 2015-09-24 20:35:09 +00:00
Andreas Gampe
55fe944f98 Frameworks/base: Propagate boot status to installd
Propagate the boot status explicitly to installd so that we do not
have to rely on dev.bootcomplete, which isn't meaningfully set
when the device needs the decryption screen on boot.

Bug: 23898216
(cherry picked from commit 06bb908b78e3c790d3db52fef9f2ab0a129e53cd)
Change-Id: I9b34298caf70b1e5d40970cc0d04c469016a80a7
2015-09-24 12:27:25 -07:00
Sean Young
d75247cf7f am da2f549f: am 2d39bfd5: Merge "Properly expose methods that override a non-hidden method in a hidden superclass in the API files." into mnc-ub-dev
* commit 'da2f549f3b77ee5f04a6f726facb1a091d796054':
  Properly expose methods that override a non-hidden method in a hidden superclass in the API files.
2015-09-24 19:10:26 +00:00
Sean Young
da2f549f3b am 2d39bfd5: Merge "Properly expose methods that override a non-hidden method in a hidden superclass in the API files." into mnc-ub-dev
* commit '2d39bfd51fabee0396fa3107ff98065ef4832667':
  Properly expose methods that override a non-hidden method in a hidden superclass in the API files.
2015-09-24 19:01:33 +00:00
Sean Young
2d39bfd51f Merge "Properly expose methods that override a non-hidden method in a hidden superclass in the API files." into mnc-ub-dev 2015-09-24 18:55:50 +00:00
Jorim Jaggi
7a2421ddbb am 35f215cf: am 2d48a93f: am 98a8c7c5: am e1de9f67: Fix black Keyguard
* commit '35f215cfafcaff6f4a8283c0215431485f7382e5':
  Fix black Keyguard
2015-09-24 18:34:17 +00:00
Jeff Hao
97bb1ad7c3 Merge "resolved conflicts for f005d55f to master" 2015-09-24 18:29:39 +00:00
Makoto Onuki
5932fbb923 Merge "Test more DPM APIs." 2015-09-24 18:28:45 +00:00
Jeff Hao
b18d084f4b resolved conflicts for f005d55f to master
Change-Id: I82027116a2b0bfc8b1ff1e20c3a115a1ba8a19db
2015-09-24 11:26:48 -07:00
Jorim Jaggi
35f215cfaf am 2d48a93f: am 98a8c7c5: am e1de9f67: Fix black Keyguard
* commit '2d48a93fea89cbdaae8e6cb718dbc382e35764df':
  Fix black Keyguard
2015-09-24 18:20:57 +00:00
Jorim Jaggi
2d48a93fea am 98a8c7c5: am e1de9f67: Fix black Keyguard
* commit '98a8c7c553108e6d6f6260ae5c1f05d8a6c8af10':
  Fix black Keyguard
2015-09-24 18:14:42 +00:00
Jorim Jaggi
98a8c7c553 am e1de9f67: Fix black Keyguard
* commit 'e1de9f674575df3b17e475c4f32dd93d33e596e3':
  Fix black Keyguard
2015-09-24 18:08:07 +00:00
Jeff Hao
f005d55fb7 am 75ab8c77: am 384d84f4: Merge "Shorten first boot time by filtering dexopted apps by LRU."
* commit '75ab8c7789b4ec5e26bc7d2f773a6c39d39a821b':
  Shorten first boot time by filtering dexopted apps by LRU.
2015-09-24 17:47:56 +00:00
Jorim Jaggi
e1de9f6745 Fix black Keyguard
When a window has both the flag fullscreen and the dismiss Keyguard
flag, we end up in a state where we hide the status bar window but
all other windows, because mShowingLockscreen nevers gets set
correctly. Move it up so we always set it no matter whether the
status bar window was visible.

Bug: 22875357
Change-Id: I7953fe7100cc99fe8fb7424a9b311b4630426657
2015-09-24 17:47:14 +00:00
Blazej Magnowski
329d20d5e0 Merge "added Classifiers and Evaluators" 2015-09-24 17:43:02 +00:00
Jeff Hao
75ab8c7789 am 384d84f4: Merge "Shorten first boot time by filtering dexopted apps by LRU."
* commit '384d84f4f02643b63335f6d8d884adc1186d6896':
  Shorten first boot time by filtering dexopted apps by LRU.
2015-09-24 17:39:34 +00:00
Jeff Hao
384d84f4f0 Merge "Shorten first boot time by filtering dexopted apps by LRU." 2015-09-24 17:30:25 +00:00
Jeff Hao
b84cb9e971 Shorten first boot time by filtering dexopted apps by LRU.
No longer dexopt all system apps and boot listener user apps.

Bug: 23628238
Bug: https://code.google.com/p/android/issues/detail?id=186589

Change-Id: Ib4f960686afcfda13838f7783c2d3ccf8e26db72
2015-09-24 10:24:10 -07:00
Elliott Hughes
434a481b21 am ea1831d2: am b57dd722: resolved conflicts for a884d81e to stage-aosp-master
* commit 'ea1831d211ea0e6b2d161c714bb0786369ef2df5':
  constify JNINativeMethod function pointer tables
2015-09-24 17:23:00 +00:00
Elliott Hughes
ea1831d211 am b57dd722: resolved conflicts for a884d81e to stage-aosp-master
* commit 'b57dd722f1dc0663417da37d3a82f8283ad3c982':
  constify JNINativeMethod function pointer tables
2015-09-24 17:14:10 +00:00
Elliott Hughes
b57dd722f1 resolved conflicts for a884d81e to stage-aosp-master
Change-Id: Ice485967fa96f13786024b6939b826638e906ff0
2015-09-24 10:01:32 -07:00
Wale Ogunwale
ddb59c53c3 Merge "Drop additional input events to TaskPositioner when drag has ended." 2015-09-24 16:59:06 +00:00
Abodunrinwa Toki
b9acbe40d2 Reduce delay of floating toolbar appearance.
Bug: 21956394
Change-Id: Ide7ee2daffbf618b0a483c377032bf25b20d5b8e
2015-09-24 16:58:08 +00:00
Michael Wright
414e939b94 Merge "Make android.hardware.usb.action.USB_ACCESSORY_DETACHED..." 2015-09-24 16:27:33 +00:00
Elliott Hughes
a884d81e86 Merge "constify JNINativeMethod function pointer tables" 2015-09-24 16:01:15 +00:00
Wale Ogunwale
6e3cc291ea Merge "Make home stack move like another stack." 2015-09-24 15:28:27 +00:00
Michael Wright
a62e8a8d39 Make android.hardware.usb.action.USB_ACCESSORY_DETACHED...
a protected broadcast.

The broadcast "android.hardware.usb.action.USB_ACCESSORY_ATTACHED"
was accidentally included twice, changed the extra copy to
"android.hardware.usb.action.USB_ACCESSORY_DETACHED".

Bug: 24188595
Change-Id: I8863c336f70796b2a15633595648b594864e84e2
2015-09-24 15:58:15 +01:00
Ryo Hashimoto
a316536528 Merge "Use the proper variant of String#substring to report broken strict mode stacks" 2015-09-24 06:22:00 +00:00
Vinit Deshpande
22a78887de am 64f6236c: am 2bc3ff3c: am de02fe2a: am 629909e0: Merge "Disable wifi firmware logging by default" into mnc-dr-dev
* commit '64f6236cdd76c4539fea9c8fb19b2f0c981a01d3':
  Disable wifi firmware logging by default
2015-09-24 04:33:59 +00:00