Commit Graph

240516 Commits

Author SHA1 Message Date
Jorim Jaggi
4ccfc30a80 Animation fixes when task is not resumed
- Make sure to add the activity to mWaitingVisibleActivities
to not destroy the activity before the app transition has
started.
- Defer layouts in startActivityUnchecked so when clearing the
current activities in the current stack, we don't execute the
app transition yet. We need to wait until the new activities
are added as well.

Bug: 28026847
Change-Id: I252cf139e06197ea34329d1466f1f6162f3e7a30
2016-04-21 14:54:17 -07:00
Jorim Jaggi
b8c5876dc0 Keep stack from mReuseTask
When we launch an activity with CLEAR_TOP and NEW_TASK, we clear
all the activities in that task but then we don't reuse the stack,
which can lead to weirdness.

To fix this, we need to keep the target stack in that case.

Bug: 28000613
Change-Id: If85ade73b1036e8a7c0eda418d9f39e8596b8b16
2016-04-21 14:53:52 -07:00
Jorim Jaggi
5c80c41ee0 Final fixes for growing recents transition
- Make sure to reposition windows during animations to avoid that
they lag one frame behind.
- Don't put windows that are gone for layout into resizing mode.
- Don't layout windows that are gone for layout, to avoid resizing
the surface but the client won't draw anymore.

Change-Id: I809feffef00f9a086b44504126e03f509eb7f190
Fixes: 27855229
2016-04-21 14:52:42 -07:00
Julia Reynolds
c14996393a Merge "Announce when volume controls appear and disappear." into nyc-dev 2016-04-21 20:18:29 +00:00
Sid Soundararajan
6efc5dcb27 Merge "Make Dismiss Icon under Cards show up only when focused." into nyc-dev 2016-04-21 20:06:31 +00:00
Mihai Niță
344bd5c63d Merge "Framework: change the TTS text to use the current locale" into nyc-dev 2016-04-21 19:55:43 +00:00
Rob Carr
37696cccd8 Merge "Respect manually set HARDWARE_ACCELERATED flag." into nyc-dev 2016-04-21 19:52:02 +00:00
Adam Lesinski
b53e8a7a8a Merge "Fix order of operation issue with ResStringPool" into nyc-dev 2016-04-21 19:08:39 +00:00
Julia Reynolds
2feab1644b Announce when volume controls appear and disappear.
Bug: 28120156
Change-Id: I4e17b9cf1cd4a442adb7513168c12e3af24c424f
2016-04-21 15:00:45 -04:00
Eric Laurent
dc7ce84095 Merge "AudioManager: fix isBluetoothA2dpOn()" into nyc-dev 2016-04-21 18:22:59 +00:00
Sid Soundararajan
2cc285e267 Make Dismiss Icon under Cards show up only when focused.
BUG: 28299529
Change-Id: I37cd029734da5de8416705746457151c22f64280
2016-04-21 11:20:52 -07:00
Chong Zhang
289395b1fe Merge "Fix dead surface/window left on screen" into nyc-dev 2016-04-21 17:58:52 +00:00
Yohei Yukawa
d67a1ca49b Merge "Accept null subtype in InputMethodSubtypeHandle." into nyc-dev 2016-04-21 17:11:55 +00:00
Chris Craik
924d8227c4 Merge "Fix shadow radius too large for RS" into nyc-dev 2016-04-21 17:09:03 +00:00
Adam Lesinski
666b6fbba1 Fix order of operation issue with ResStringPool
Due to ! taking precedence over bitwise &, the condition for
checking non-null terminated string blocks is incorrect.

Adds parentheses for the correct behavior.

Bug:28288210
Change-Id: Ie31fa239e5f869e6bb28deb6ae190f41f1aa4d92
2016-04-21 10:05:06 -07:00
Youngsang Cho
28d9c9f7b2 Merge "PIP: Fix system UI crash" into nyc-dev 2016-04-21 16:23:01 +00:00
Tony Mak
d3589ee715 Merge "Fix wrong app is launched after solving challenge from tapping notification" into nyc-dev 2016-04-21 15:51:14 +00:00
Tony Mak
646fe9913e Fix wrong app is launched after solving challenge from tapping notification
PendingIntent.FLAG_ONE_SHOT is needed to prevent the PendingIntent being
reused.

Also, flag and activity option of credential intent in BaseStatusBar
is not same as the one in ActivityStarter. Added a new
function startConfirmDeviceCredentialIntent in AM to centralize it.

Change-Id: I2d9e5923ad5d4d012f10057c409c666c8ca299a3
Fix: 28309964
2016-04-21 16:43:08 +01:00
Julia Reynolds
54a6394cf9 Merge "Accept the calendar name in addition to the owner as a calendar filter." into nyc-dev 2016-04-21 15:36:31 +00:00
Julia Reynolds
a8574a1dfa Merge "Always reevaluate rules when a new service is added." into nyc-dev 2016-04-21 15:24:05 +00:00
Keith Cheung
39066abb59 Merge "Include work app in battery optimization settings" into nyc-dev 2016-04-21 15:18:08 +00:00
Julia Reynolds
d0f2d1f9ac Merge "Don't call into audiomanager holding a zen lock." into nyc-dev 2016-04-21 15:04:07 +00:00
Clara Bayarri
98c7c05dde Merge "Reinflate QS view on Locale configuration change" into nyc-dev 2016-04-21 14:47:16 +00:00
Julia Reynolds
7c9350a940 Always reevaluate rules when a new service is added.
Otherwise the condition providers may never get an
onSubscribe call and may not turn on at the right time.

Bug: 26981870
Change-Id: Ia622597f10cc26f7c34ece1748013655543f488f
2016-04-21 10:38:32 -04:00
Julia Reynolds
d82e981cf3 Don't call into audiomanager holding a zen lock.
Bug: 27642196
Change-Id: Ib510f2ddf966f36b3670290a4f3f695bf6b7810e
2016-04-21 10:38:32 -04:00
TreeHugger Robot
db042644d5 Merge "Volume updates should appear continuous when changed by touch." into nyc-dev 2016-04-21 14:33:50 +00:00
Clara Bayarri
bcedd6b74f Merge "Fix silent errors when launching Keyboard Shortcuts from Settings" into nyc-dev 2016-04-21 14:28:58 +00:00
Paul Jensen
3f45105353 Merge "Cap number of NetworkRequests a UID can make to 100" into nyc-dev 2016-04-21 13:47:13 +00:00
Clara Bayarri
9b1fdff2e7 Reinflate QS view on Locale configuration change
The existing DensityContainer already did this for density changes,
repurposed it to handle other Configuration changes. Also renamed
to AutoReinflateContainer.

Bug: 27952059
Change-Id: Ieb572abcbafe49aec73b16e1bcb8c294011afdd3
2016-04-21 14:32:07 +01:00
Clara Bayarri
c043ebee4b Fix silent errors when launching Keyboard Shortcuts from Settings
The following error was thrown, given that Activity is generating a
protected broadcast:
Sending non-protected broadcast
android.intent.action.SHOW_KEYBOARD_SHORTCUTS from system

Bug: 28138503
Change-Id: I50d5212d7776d33ffe6e9df1c5f080205ac4a29d
2016-04-21 11:55:01 +01:00
Jaewan Kim
fe6f335b63 PIP: Fix system UI crash
Bug: 28306480
Change-Id: Ie36f73c46f3ee8d6a2cb8264458cb0e0410aaecd
2016-04-21 16:22:48 +09:00
TreeHugger Robot
b99d6af3ab Merge "Expand NetworkMonitor metrics" into nyc-dev 2016-04-21 05:24:40 +00:00
Hugo Benichi
7261fb27de Merge "Some fixes in ConnectivityService event logging" into nyc-dev 2016-04-21 04:02:55 +00:00
Erik Kline
a488c23dd5 Expand NetworkMonitor metrics
- add netid to CaptivePortalStateChangeEvent
    - add NetworkMonitorEvent for simple duration measurements

Bug: 28204408
Change-Id: I62035e07d64013878a0bce30c67c929c2c7e7a85
2016-04-21 13:02:55 +09:00
Hugo Benichi
75f0346167 Merge "Various fixes in IpReachability event logging" into nyc-dev 2016-04-21 03:54:18 +00:00
TreeHugger Robot
333e808b34 Merge "Removed obsolete screenshot mention from full bugreport." into nyc-dev 2016-04-21 03:34:46 +00:00
TreeHugger Robot
568e63bc9b Merge "Remove obsolete TODO" into nyc-dev 2016-04-21 03:18:48 +00:00
Tomasz Mikolajewski
69e3618f07 Merge "Do not make files in zip disabled in ACTION_VIEW." into nyc-dev 2016-04-21 03:17:03 +00:00
Ruchi Kandoi
316c68f144 Merge "fix build: remove SUSTAINED_PERFORMANCE_WAKE_LOCK link" into nyc-dev 2016-04-21 02:37:50 +00:00
Nathan Harold
f6496db8ce Merge "Additional checks for ModemActivityInfo.isValid()" into nyc-dev 2016-04-21 02:09:28 +00:00
Hugo Benichi
5f16f760ad Some fixes in ConnectivityService event logging
Bug: 28204408
Change-Id: I44ed9539bb213a845c2bcc2861c947af7c3c9ef4
2016-04-21 11:03:08 +09:00
Phil Weaver
4b88bddb12 Merge "Fix a11y key event handling from multiple devices." into nyc-dev 2016-04-21 01:38:49 +00:00
Adrian Roos
56918509c7 Remove obsolete TODO
Change-Id: Ia76b7f1cea0799c46ae5c933741c865869e39f5f
Fixes: 27550895
2016-04-20 18:36:41 -07:00
TreeHugger Robot
54d056ed6d Merge "Fix IME adjust in SysUI" into nyc-dev 2016-04-21 01:17:57 +00:00
Chris Tate
157ae98762 Merge "Only invoke k/v helpers during k/v operations" into nyc-dev 2016-04-21 01:12:07 +00:00
Jaewan Kim
34a96e704e Merge "PIP: Support accessibility" into nyc-dev 2016-04-21 01:11:40 +00:00
Christopher Tate
c9e584b422 Only invoke k/v helpers during k/v operations
In particular, don't try to call the k/v wallpaper restore helper's
onRestoreFinished() if we are actually doing a full-data restore.

Bug 28132784

Change-Id: I2eaf748f6d54601f0ca195ae2781aa177daf0b93
2016-04-21 01:11:06 +00:00
Chong Zhang
3cc58ddd3c Fix dead surface/window left on screen
If the surface is explicitly hidden while we're changing resizing mode,
we need to discard the preserved surface immediately, otherwise it could
linger around on screen.

Do not mark mAnimatingExit in setTokenVisibilityLocked. This flag can only
be set after client relayouts to invisible. There we set mAnimatingExit and
mAnimating, so that when animation finishes the surface is marked to be
destroyed. If we marke it too early (and not mark mAnimating at the same
time), the surface may get stuck in exiting state.

bug: 28236574
Change-Id: I5cc916dfa698113e1d783a66547e1878469a9879
2016-04-20 18:01:10 -07:00
TreeHugger Robot
4d07c88919 Merge "Exclude IME dialogs from tap outside task bounds funcationality" into nyc-dev 2016-04-21 00:54:33 +00:00
TreeHugger Robot
2be4c463bc Merge "Throw better exception when startVoiceActivity fails" into nyc-dev 2016-04-21 00:46:32 +00:00