Commit Graph

62660 Commits

Author SHA1 Message Date
Chong Zhang
b2f4641039 Clean up surfaces when app is resumed without being stopped. am: 45e6d2dc8b
am: b76adc5117

Change-Id: I35c39c4fc49a953262b5b6ab4cbc2dca2ddf0b8f
2016-07-22 17:26:15 +00:00
Adrian Roos
0257a8a541 ServiceConnection: Properly serialize events am: a9b43182c6
am: 36705ec204

Change-Id: Ieff75981994c5a2d354e525e795453a2de32a6db
2016-07-22 17:26:09 +00:00
Chong Zhang
b76adc5117 Clean up surfaces when app is resumed without being stopped.
am: 45e6d2dc8b

Change-Id: I9ae5c2a9c6a93246338221252cf943db6763e1c4
2016-07-22 17:17:26 +00:00
Adrian Roos
36705ec204 ServiceConnection: Properly serialize events
am: a9b43182c6

Change-Id: I3571754de4d659aaf6b4a61fa14ae8256ca29f7a
2016-07-22 17:17:18 +00:00
Rob Carr
ab9022dc87 Merge "Fix swapped toast timeouts." 2016-07-22 17:04:54 +00:00
Todd Kennedy
8653659cbe Merge "Add more tracing" 2016-07-22 14:37:27 +00:00
Alan Viverette
fe69c652c6 Better docs for ImageView legacy tint am: 2b4e14cfcc
am: db59530cf9

Change-Id: Ib5f5a59b041e10a1109fb01f18a64d24afdde3f8
2016-07-22 07:23:21 +00:00
Yigit Boyar
7b5b70a07f Resolve ListView children\\'s RTL properties when added am: 4d827aafad
am: b3c380ace7

Change-Id: Ib9c228c4af6385b0c662a620f8f62e1e6aaeeb52
2016-07-22 07:18:15 +00:00
Adam Powell
020ebdcc73 Add View reveal on focus hint am: 7ec3fb3947
am: e45f9d1bf6

Change-Id: I1f835ecb9d4e8226ae9f4800a888f557b7999357
2016-07-22 07:17:56 +00:00
Makoto Onuki
df4e733bf7 Follow-up to multiple intents support am: 0eed441c0c
am: b6ed7b7552

Change-Id: I1034eaa7670c7fa983ddffcce295979ec86bde89
2016-07-22 07:13:17 +00:00
Alan Viverette
db59530cf9 Better docs for ImageView legacy tint
am: 2b4e14cfcc

Change-Id: I72f67ee9c67501ba9ea827f0068186673f59d852
2016-07-22 03:02:39 +00:00
TreeHugger Robot
ddde470652 Merge "Fix undefined fontScale issue in Configuration" 2016-07-22 02:44:35 +00:00
TreeHugger Robot
886bb81522 Merge "Remove lines that hit ActivityMonitor on destory." 2016-07-22 02:41:08 +00:00
Yigit Boyar
b3c380ace7 Resolve ListView children\'s RTL properties when added
am: 4d827aafad

Change-Id: I7ec85d33656cd1c7246c844e87143dcf3f4af57d
2016-07-22 02:26:58 +00:00
Adam Powell
e45f9d1bf6 Add View reveal on focus hint
am: 7ec3fb3947

Change-Id: Id3af05b3040821a94e3fd694d761fd317568fa5a
2016-07-22 02:24:09 +00:00
Makoto Onuki
b6ed7b7552 Follow-up to multiple intents support
am: 0eed441c0c

Change-Id: I3007735db610ddd8c608290ffac8edcdcf390758
2016-07-22 02:24:00 +00:00
Srinath Sridharan
af8a8c54c8 Adding a new getThreadScheduler() method.
am: 1b15d13243

Change-Id: Ie15ad328a687bac65e1505e2c324536d3eb0102a
2016-07-22 02:13:13 +00:00
Erik Kline
f9b4d50541 Support removing specific routes from local_network am: 6599ee8b96
am: 51c8fe903b

Change-Id: I02c0805c38e11226bd11b815da5418f1afc1ab89
2016-07-22 01:56:33 +00:00
Erik Kline
51c8fe903b Support removing specific routes from local_network
am: 6599ee8b96

Change-Id: I51a341796698ff02aa7a62f5f8b66050982f488e
2016-07-22 01:45:39 +00:00
Robert Carr
017dbf59c8 Fix swapped toast timeouts.
LONG and SHORT were swapped. Also they weren't related to the
actual timeout values in NotificationManagerService. Set the timeout
to twice the duration. Just proposing to master since all the
toast timeout does in N is strip the FLAG_KEEP_SCREEN_ON_FLAG.

Change-Id: I5533e03b45d8f9518919b19ec53fc839443f8886
2016-07-21 18:16:00 -07:00
Adrian Roos
a9b43182c6 ServiceConnection: Properly serialize events
Fixes a bug where onServiceDisconnected could be delayed
such that it would be dispatched after the connection has
already reconnected.

Bug: 30182617
Change-Id: I6e3fc2f125a477bb342de601530c254c34ffb4f7
2016-07-21 15:52:47 -07:00
Allison Babick
06b8aa7199 Merge "Add user-modifiable downloads backup conditions." 2016-07-21 22:22:33 +00:00
Todd Kennedy
cd029da321 Add more tracing
Allows us to track PackageManagerService startup

Bug: 30272038
Change-Id: I56fa7480fe640f4444d09a657889ec83685a7570
2016-07-21 13:35:12 -07:00
Alan Viverette
2b4e14cfcc Better docs for ImageView legacy tint
Bug: 30283225
Change-Id: Ic748c2cc341edf44aed0202aa55a57584bd928c1
2016-07-21 16:25:13 -04:00
Kirill Grouchnikov
0979352b1a Merge "Tweaking scroll-related functionality of AbsListView" 2016-07-21 18:56:04 +00:00
Makoto Onuki
0eed441c0c Follow-up to multiple intents support
- More unit tests
 - LauncherApps.startShortcut() now supports sourceBounds
 (again)
- Updated the javadoc.

Bug 30218829

Change-Id: Iae208ffd4911d149246ccfd0c4380544c2aafffc
2016-07-21 11:33:37 -07:00
Chong Zhang
45e6d2dc8b Clean up surfaces when app is resumed without being stopped.
When quickly toggling between two apps, app could be resumed while
it's stopping but not yet stopped. Upon resuming, it could have
surfaces that's marked mDestroying and waiting for the stopped
to be destroyed.

We need to dispose these surfaces properly. If the window is already
removed, we destroy them. Otherwise, clear mDestroying flag so that
the window is ready to be used again. Leaving mDestroying=true makes
the window ineligible for certain things such as receiving wallpaper.

bug: 30255354
Change-Id: Id881653550595ab8e702d6950949bf202ac5a0d9
2016-07-21 10:17:39 -07:00
Srinath Sridharan
6c92c0eb5c Merge "Adding a new getThreadScheduler() method." into nyc-mr1-dev 2016-07-21 16:00:40 +00:00
Erik Kline
6599ee8b96 Support removing specific routes from local_network
Bug: 9580643
Change-Id: Id0aaf4bc7424797e2beef03fb18a2c1885a86509
2016-07-21 22:23:50 +09:00
Adam Powell
7ec3fb3947 Add View reveal on focus hint
Provide a way for views to signal that they would prefer not
to have their parents scroll or otherwise rearrange when they
request focus to try to show the full focused view to the user.
In some cases this can be disruptive to the UX.

As of now, framework views do not respect this hint and custom
views such as those found in currently deployed support libs
don't either. The policy is left open to ViewParent subclasses
that implement requestChildFocus.

Bug 30256922

Change-Id: I55194de888fe2b8129be9a9aa21aa5e18cbb8296
2016-07-20 17:42:10 -07:00
Makoto Onuki
de1e6e4d2d Merge \\"Support multiple intents in ShortcutInfo\\" into nyc-mr1-dev am: b84ce2e034
am: 9a6109f284

Change-Id: I0f1caf54cc544db0b73f8e3275005923904f57a8
2016-07-20 23:15:32 +00:00
Makoto Onuki
9a6109f284 Merge \"Support multiple intents in ShortcutInfo\" into nyc-mr1-dev
am: b84ce2e034

Change-Id: I53daa680bdf18505896a372e59c7b4bd73d4edca
2016-07-20 23:09:55 +00:00
Makoto Onuki
b84ce2e034 Merge "Support multiple intents in ShortcutInfo" into nyc-mr1-dev 2016-07-20 23:05:31 +00:00
Adam Lesinski
984d575d2e Merge \\"BatteryStats: Don\\'t print empty platform idle state\\" into nyc-mr1-dev am: ebbbead915
am: 7da697a79f

Change-Id: I644c302cc1cbea8b2387d9ac591845b7c43cc5c0
2016-07-20 22:10:44 +00:00
Adam Lesinski
7da697a79f Merge \"BatteryStats: Don\'t print empty platform idle state\" into nyc-mr1-dev
am: ebbbead915

Change-Id: Ia651ad5a0a183ff7d70d90f119ec9238c15711ad
2016-07-20 22:05:38 +00:00
TreeHugger Robot
ebbbead915 Merge "BatteryStats: Don't print empty platform idle state" into nyc-mr1-dev 2016-07-20 21:56:02 +00:00
Makoto Onuki
440a1ea8e2 Support multiple intents in ShortcutInfo
Also fix b/30230996.

TODO: Support the sourceBounds argument to LauncherApps.
startShortcut().

Bug 30218829
Bug 30230996

Change-Id: Ibb6c59d5b7c0a320c21d09436d016d0eac94644f
2016-07-20 14:46:48 -07:00
Julia Reynolds
98aa59e407 Merge \\"Snooze schedule rules that were canceled by alarms.\\" into nyc-mr1-dev am: ae0aed951b
am: 261b655396

Change-Id: Icd0ff5a828d0f2a39bb0e39085cd9fd7788f354f
2016-07-20 20:51:12 +00:00
Julia Reynolds
261b655396 Merge \"Snooze schedule rules that were canceled by alarms.\" into nyc-mr1-dev
am: ae0aed951b

Change-Id: I18bd8e7528a6c24f350c97268b26fe91ef198290
2016-07-20 20:45:13 +00:00
TreeHugger Robot
ae0aed951b Merge "Snooze schedule rules that were canceled by alarms." into nyc-mr1-dev 2016-07-20 20:30:11 +00:00
Srinath Sridharan
1b15d13243 Adding a new getThreadScheduler() method.
bug:  30226969
Change-Id: Icbd57e99740ebf6ba744a103e6fa69a3160c9422
2016-07-20 13:20:21 -07:00
Adam Lesinski
bad43fcae4 Fix undefined fontScale issue in Configuration
When using a Configuration object as a delta for use
as an update to an existing Configuration object,
the fontScale property is always defaulted to 1.0, which
is not considered "undefined". That means that fontScale will
always get overridden to 1.0.

This changes the undefined value of fontScale to 0.0, which is
set when the Configuration object is constructed. Thankfully,
the documentation for Configuration states that until
Configuration#setToDefaults() is called, the Configuration is in
an invalid state. That means that apps can not rely on fontScale == 1.0
without calling setToDefaults().

Bug:29924927
Change-Id: I19342c55f7057423f1ca8c5d8dce1dff07617d90
2016-07-20 20:15:26 +00:00
Felipe Leme
4b3a0e2385 Merge \\"Improved storage size detection.\\" into nyc-mr1-dev am: f0de4da42f
am: d8b866e615

Change-Id: Ied4ea6aeb589ed0b64e16b40b8a7df2ddf50b99b
2016-07-20 19:27:02 +00:00
Felipe Leme
d8b866e615 Merge \"Improved storage size detection.\" into nyc-mr1-dev
am: f0de4da42f

Change-Id: I9794d1d3e15177c88e49911e1b406433025e85c4
2016-07-20 19:19:19 +00:00
TreeHugger Robot
f0de4da42f Merge "Improved storage size detection." into nyc-mr1-dev 2016-07-20 19:06:12 +00:00
TreeHugger Robot
c5837520ba Merge "Add per-user versions of set{Component,Application}EnabledSetting." 2016-07-20 18:58:56 +00:00
Julia Reynolds
fe58f1f386 Snooze schedule rules that were canceled by alarms.
So a reboot or snoozed alarm doesn't cause them to
reactivate.

Bug: 30087850
Change-Id: I83fdb88009b515d442993944aec40df7365e830f
2016-07-20 14:50:39 -04:00
Michael Wright
bc702e5d42 Merge commit \'f8bc27d9683e4089cdfd778dcb61ae67f44665b7\' into manual_merge_f8bc27d
am: 49bcc5dd80

Change-Id: Iee2a7015eefd6a75be2968ec855334f68ec5f79e
2016-07-20 18:49:43 +00:00
Michael Wright
49bcc5dd80 Merge commit 'f8bc27d9683e4089cdfd778dcb61ae67f44665b7' into manual_merge_f8bc27d 2016-07-20 19:41:58 +01:00
Sudheer Shanka
0e6bfff6c1 Add per-user versions of set{Component,Application}EnabledSetting.
Change-Id: Id63b233308e92a4c360f38d4728c519ac2131ff0
Fixes: 30230444
2016-07-20 10:30:57 -07:00