Commit Graph

59409 Commits

Author SHA1 Message Date
Yohei Yukawa
c18a05faf1 Merge "Rotate IMEs (subtypes) by Meta+Space." 2015-12-14 18:39:19 +00:00
Steve McKay
3ab0c4c43e Merge "Load Home directory by default." 2015-12-14 18:18:02 +00:00
Steve McKay
b67bfbf975 Load Home directory by default.
Don't update toolbar before first root load.
This was causing Recents > Home flicker due
to Recents being the default root returned from getCurrentRoot.
Revert change causing regression in selection highlight.

Bug: 26093756
Change-Id: I2c555aa38d68e9bf7962b1407f9fc75c800216a6
2015-12-14 18:17:16 +00:00
Brad Ebinger
355f11034d Null pointer fix for StateMachine
Checks if StateMachine is null before calling callbacks.

Bug-Id: 26176787
Change-Id: I7ee92326e99e18a3b7045ccf098b52acfaff9a15
2015-12-14 09:02:38 -08:00
Andreas Gampe
51aeb69dd3 Merge "Frameworks/base: Fix Notification code" 2015-12-14 16:15:38 +00:00
Jason Monk
ded2b10520 Merge "Support dnd condition in Settings" 2015-12-14 15:39:55 +00:00
Gustav Sennton
88b3b57341 Merge "Add functionality for changing WebView provider." 2015-12-14 14:33:56 +00:00
Nicolas Geoffray
93444eb74f Merge "Special case system_server to not create the JIT code cache." 2015-12-14 13:04:06 +00:00
Jason Monk
a9927325ed Support dnd condition in Settings
- Add way to open QS detail panels directly
 - Add internal broadcast that can launch apps when dnd mode changes

Change-Id: If2b6350dc31623f3bf2f64c7eb141cff5d3d4e89
2015-12-13 16:22:37 -05:00
Jorim Jaggi
fe412b551b Merge "Add multi-window entry points logging" 2015-12-12 02:25:07 +00:00
Brad Ebinger
9a2b9f61a3 Merge "Add handler callbacks to StateMachine" 2015-12-12 01:01:39 +00:00
Andreas Gampe
1ed71f3722 Frameworks/base: Fix Notification code
Avoid a NullPointerException in NotificationListenerService when
a corrupt notification is found.

Fix not using the return of trim() in NotificationManagerService.

Bug: 19797138
Change-Id: I84dc15eba7b4052a774eb69d36591d100105f169
2015-12-11 15:49:07 -08:00
Jorim Jaggi
92de6b6381 Add multi-window entry points logging
Bug: 26116313
Change-Id: I159ca53857d382cb74ef8e49f7955946ccea93ca
2015-12-11 15:15:11 -08:00
Makoto Onuki
248808e3b2 Merge "Avoid using the term "current" to mean "calling"" 2015-12-11 22:51:31 +00:00
Makoto Onuki
32b3057e8a Avoid using the term "current" to mean "calling"
Bug 25715749

Change-Id: I98b28f1990d976c46b0eca2a2c15b7edbdda64ea
2015-12-11 14:34:13 -08:00
Julia Reynolds
41c264bae1 Merge "Add importance to notification guts." 2015-12-11 21:41:32 +00:00
Dimitry Ivanov
5747b3a85d Merge "Use nativeloader to load NativeActivity" 2015-12-11 21:38:29 +00:00
Julia Reynolds
72be84fd8c Merge "use importance instead of score" 2015-12-11 21:21:50 +00:00
Dmitriy Ivanov
048a0db7b5 Use nativeloader to load NativeActivity
System apps are the exception and they can
access internal platform libraries (this
is needed for bundled apps to work correctly).

Also fix the way NativeActivity loads the native
library to correspond to the way BaseDexClassloader
does it.

Bug: http://b/22548808
Bub: http://b/25777936
Change-Id: Idc94cdded182ea2cb1cbebc76c336cc3394c7ebe
(cherry picked from commit 6f06ad7df1)
2015-12-11 13:18:42 -08:00
Chris Wren
bdf3376616 use importance instead of score
Change-Id: Id3b0a074671943b4fcabb63fe990cbfd1e46bdfd
2015-12-11 16:09:18 -05:00
Andy Hung
1aba5230c5 Merge "Add Android permissions for audioserver" 2015-12-11 20:08:49 +00:00
Julia Reynolds
ead00aac15 Add importance to notification guts.
Note: the guts are still trucated to the height of the notification.
The slider initially shows the importance of the individual notification,
but changing the slider changes the importance for the whole group
of notifications.

Bug: 22451710

Change-Id: Id6de3aaace2bdb88a8cc5db517002dc7f0e349ae
2015-12-11 14:57:47 -05:00
Jeff Sharkey
1141018946 Merge "Cleaner API for requesting locked status." 2015-12-11 19:33:55 +00:00
Chad Brubaker
2907274f1d Merge "Add null check to getConfigForHostname" am: fe1eac7a19
am: 14cf68c284

* commit '14cf68c284fa611528c8f466c1fb41d5264cb0c2':
  Add null check to getConfigForHostname
  Work on issue #25467052: System lagged out
2015-12-11 10:26:09 -08:00
Chad Brubaker
14cf68c284 Merge "Add null check to getConfigForHostname"
am: fe1eac7a19

* commit 'fe1eac7a19b827af71c503df6aefc59076a30928':
  Add null check to getConfigForHostname
2015-12-11 10:16:26 -08:00
Jeff Sharkey
b642387b43 Cleaner API for requesting locked status.
Change-Id: I1a5a6703737fb838347eaa292004430f2b9d29c3
2015-12-11 11:15:37 -07:00
Makoto Onuki
714391771f Merge "Clean up DPM/DPMS to reduce code size." 2015-12-11 18:13:05 +00:00
Chad Brubaker
fe1eac7a19 Merge "Add null check to getConfigForHostname" 2015-12-11 18:02:34 +00:00
Filip Gruszczynski
ee15241aaf Merge "Move tasks to fullscreen stack when dismissing docked stack." 2015-12-11 16:05:04 +00:00
Filip Gruszczynski
b3da834a91 Move tasks to fullscreen stack when dismissing docked stack.
When we dismissing a docked stack we don't want to get rid of it,
but instead make it available in the full screen stack. We need to
make sure that it goes into the bottom of the stack and prevent it
from taking focus or running any animation, so the operation is
invisible to the user.

Bug: 25840497
Bug: 25823213
Change-Id: Ibd08d7b723a2847d98c435f79541d5eb43587064
2015-12-11 08:03:13 -08:00
Nicolas Geoffray
3c43b38633 Special case system_server to not create the JIT code cache.
Change-Id: I7d2622f560435b2b6d133b0acd2659f3410acd2e
2015-12-11 15:01:04 +00:00
Gustav Sennton
6258dcd7ea Add functionality for changing WebView provider.
Make it possible to change WebView provider (through a Developer
setting) and kill all apps using the old provider.
This includes checking the signatures of the WebView providers to make
sure they are valid.

Now that we can change WebView provider through a setting it is possible
to change provider while some provider is being updated. Because of this
we now keep track of which provider should be in use in
WebViewUpdateService to make sure we use the correct provider at all
times.

We now also read WebView package meta data (name, package name, and
signature) from a separate xml file.

Main bug: crbug.com/546185

Bug: 25338573

Change-Id: I660fd1a40a5388f6569a06a7f0d029e8ff65945a
2015-12-11 14:29:44 +00:00
Yohei Yukawa
026688070c Merge changes If80df0bc,I4e91b2d7,If3aef820
* changes:
  Apply Java 7 diamond operator.
  Remove a redundant method overload.
  Remove unnecessary parameter that is always true.
2015-12-11 04:43:05 +00:00
Roozbeh Pournader
0c5b33eb26 Merge "Switch WordIterator's BreakIterator to ICU4J" 2015-12-11 02:57:56 +00:00
Roozbeh Pournader
108c9604e3 Switch WordIterator's BreakIterator to ICU4J
The java.text results are different from the ICU4J's results when
non-BMP characters are present, and the ICU4J's results appear to be
more correct. See also bug 26144875.

Bug: 25993844
Change-Id: Iec2e48008b2ce2147260ed3874e90a51ecf94a35
2015-12-10 18:14:55 -08:00
Chad Brubaker
9613157d5e Add null check to getConfigForHostname
bug: 26144676
Change-Id: I18f50940846f1ce8109560c63ce2a87ce084d9e5
2015-12-10 18:12:59 -08:00
Adrian Roos
245aa87f3f Even more Inline Reply goodness
- Removed action icon processing
- Correct color for action label
- Change default notification color to Gray 600
- Handle different states in RemoteInputView
- Handle updates to Notifications with active remote input

Bug: 22452379
Change-Id: I30a0cd917dbf814f156ab5a106e018a245d99b67
2015-12-10 17:04:32 -08:00
Prashant Malani
4eaa942356 Merge "Remove hide annotation from AXIS_SCROLL" 2015-12-11 00:21:16 +00:00
Adam Lesinski
794a18f5a2 Prevent DivideByZero error in BatteryStatsImpl am: ba88e68fe4 am: 4e4ff058c1
am: 0b754d122c

* commit '0b754d122c3b9db395a86d9a098f6a29bf042b53':
  Prevent DivideByZero error in BatteryStatsImpl
2015-12-10 15:44:14 -08:00
Makoto Onuki
55c46f291d Clean up DPM/DPMS to reduce code size.
Change-Id: Id6c1666ef4cdba795e3b6e4ddcb9c32e6ee90665
2015-12-10 15:38:32 -08:00
Prashant Malani
04b4819fcf Remove hide annotation from AXIS_SCROLL
Bug: 22836852
Bug: 18707397
Change-Id: I77ec72cf577cb68782b9954f4d40845d723a7685
2015-12-10 15:09:45 -08:00
Adam Lesinski
0b754d122c Prevent DivideByZero error in BatteryStatsImpl am: ba88e68fe4
am: 4e4ff058c1

* commit '4e4ff058c1a0b4b77f468a206a790bb6f084f616':
  Prevent DivideByZero error in BatteryStatsImpl
2015-12-10 14:54:38 -08:00
Adam Lesinski
4e4ff058c1 Prevent DivideByZero error in BatteryStatsImpl
am: ba88e68fe4

* commit 'ba88e68fe47b66f1fc5d10c15f04f20fe662399e':
  Prevent DivideByZero error in BatteryStatsImpl
2015-12-10 14:47:09 -08:00
Dianne Hackborn
0c6cc308cf Merge "Add new target SDK filtering feature to BroadcastOptions." 2015-12-10 20:13:29 +00:00
Dianne Hackborn
e0e413e2b1 Add new target SDK filtering feature to BroadcastOptions.
You can now control the range of target SDKs that receivers
will be need to have in order to receive your broadcast.

Use this for CONNECTIVITY_ACTION to not allow N+ applications
to receive these broadcasts through their manifest.

Also tweak the broadcast debug output code to now include the
disposition of each receiver in the list.  This is becoming
important as skipping receivers is becoming a more common
thing to have happen.

Change-Id: I251daf68575c07cbb447536286ab4e68b7015148
2015-12-10 12:12:00 -08:00
Daniel Sandler
0a6ff35a8b Merge "Remove more extras during notification lightening." 2015-12-10 17:59:43 +00:00
Yohei Yukawa
ac0ec1b020 Merge "Use BCP-47 LanguageTag in IME/Spell-Checker." 2015-12-10 17:45:18 +00:00
Dan Sandler
5012853de2 Remove more extras during notification lightening.
Basically anything Parcelable needs to go since it might be
quite large. Note that this includes additional extras such as
those contributed by WearableExtender.

Bug: 26038546
Change-Id: I85a20173158717c866a36dacd6a04391c2a33376
2015-12-10 16:25:20 +00:00
Yohei Yukawa
7025964d12 Apply Java 7 diamond operator.
This is a mechanical refactoring to apply Java 7 diamond operators in
InputMethodSubtypeSwitchingController.java.

Bug: 22859862
Change-Id: If80df0bcf0b1485c43d55ff51cab69c8ae211eb2
2015-12-10 01:11:34 -08:00
Yohei Yukawa
e512f85002 Remove a redundant method overload.
Bug: 22859862
Change-Id: I4e91b2d7f2da7716ae5a34125a29db5e1ad5a983
2015-12-10 01:06:09 -08:00