Craig Mautner
5656036dd7
am cd1b1ee3: Merge "Remove fall through for KEYCODE_VOICE_ASSIST" automerge: 84533ed automerge: 11c6f8b
...
* commit 'cd1b1ee39fbeaf7d95089c183b549b0853206ffd':
Remove fall through for KEYCODE_VOICE_ASSIST
2015-02-03 17:51:31 +00:00
Craig Mautner
cd1b1ee39f
Merge "Remove fall through for KEYCODE_VOICE_ASSIST" automerge: 84533ed
...
automerge: 11c6f8b
* commit '11c6f8b7c3cc51a3a44bca5003ac3fb56a410c33':
Remove fall through for KEYCODE_VOICE_ASSIST
2015-02-03 17:46:56 +00:00
Henrik Baard
aa5c5e31de
Remove fall through for KEYCODE_VOICE_ASSIST
...
Removing unintentional fallthrough for the case
KEYCODE_VOICE_ASSIST.
The code works today since KEYCODE_VOICE_ASSIST is the
last case in the switch statement, however it is bad
practice. If somone adds another case statement the
code will break.
Change-Id: Iee6234807bbe176bd94e2584de288105d6c6a7cb
2015-02-03 09:25:28 +01:00
RoboErik
001c59c637
Route volume keys directly to the audio system on TVs
...
This routes volume and mute keys directly to the audio system when
on a television instead of letting apps or sessions intercept them.
Change-Id: I2af47e30c7842aca96d045a6cc9ca025b94e546a
2015-01-29 16:14:31 -08:00
Jose Lima
43181fb72d
am 4a40f7cc: Merge "Fix crash caused by disabling the Options panel on TVs" into lmp-mr1-dev automerge: 1f81973
...
automerge: 485f6a6
* commit '485f6a60e0182767d57a5ab08d6438124a69439e':
Fix crash caused by disabling the Options panel on TVs
2015-01-28 21:32:37 +00:00
Jose Lima
485f6a60e0
am 4a40f7cc: Merge "Fix crash caused by disabling the Options panel on TVs" into lmp-mr1-dev automerge: 1f81973
...
* commit '4a40f7cc90d8f908527d2cfff32376ee51259250':
Fix crash caused by disabling the Options panel on TVs
2015-01-28 21:27:33 +00:00
Jose Lima
4a40f7cc90
Merge "Fix crash caused by disabling the Options panel on TVs" into lmp-mr1-dev
...
automerge: 1f81973
* commit '1f81973e7d33f2a3f4b0a0e232854283f0f18030':
Fix crash caused by disabling the Options panel on TVs
2015-01-28 20:59:05 +00:00
Jose Lima
bd769a15ab
Fix crash caused by disabling the Options panel on TVs
...
Address more cases where calls to getPanelState may cause a crash when the
options panel is disabled on a platform.
Bug: 19178531
Bug: 18780696
Change-Id: Ib72bb8483e636181788ed3919c4cb9e99a94b7b1
2015-01-28 10:46:39 -08:00
Craig Mautner
5d49712960
Merge "Remove TYPE_UNIVERSE_BACKGROUND from system"
2015-01-28 02:35:15 +00:00
Craig Mautner
165be0c70d
Remove TYPE_UNIVERSE_BACKGROUND from system
...
An experiment that is over and has been occupying space.
Fixes bug 18088522 item #7
Change-Id: Ib0fcaa24243ed9b0581143e1d5114c1fd2b0aa6e
2015-01-27 15:16:58 -08:00
Jose Lima
ceba619e36
am 445768bd: am 3fd8a433: Merge "Allow disabling the Options Pannel feature for TVs" into lmp-mr1-dev
...
automerge: 69fbcf1
* commit '69fbcf1f100905f5a28909d561db4753189bd717':
Allow disabling the Options Pannel feature for TVs
2015-01-27 17:57:04 +00:00
Jose Lima
69fbcf1f10
am 445768bd: am 3fd8a433: Merge "Allow disabling the Options Pannel feature for TVs" into lmp-mr1-dev
...
* commit '445768bddf00256195a46b78ed35ea3722df7c92':
Allow disabling the Options Pannel feature for TVs
2015-01-27 03:10:28 +00:00
Jose Lima
445768bddf
am 3fd8a433: Merge "Allow disabling the Options Pannel feature for TVs" into lmp-mr1-dev
...
* commit '3fd8a433a918fc9c57b6d7ff12839a1e028d6dad':
Allow disabling the Options Pannel feature for TVs
2015-01-27 02:58:44 +00:00
Jose Lima
7a22fc62d3
Allow disabling the Options Pannel feature for TVs
...
- Added a config entry in velues-television to disable the options panel
feature for TVs.
- Fixed parts of the code in PhoneWindow that assumed this feature is supposed
to always be available, which was causing exceptions when it was turned off.
Bug: 18780696
Change-Id: I923bd4b5019d634e5352a6e893005133edb475f6
2015-01-26 17:39:49 -08:00
Alan Viverette
cb4a489fd1
am 4ecb5fb2: am 82bdfcfa: Update docs for Window.setElevation(), apply changes immediately automerge: 71922de
...
* commit '4ecb5fb288fd9994e7b2ec0091fbbcdc81f69526':
Update docs for Window.setElevation(), apply changes immediately
2015-01-13 20:33:02 +00:00
Wale Ogunwale
3c0e7e908f
am 00c85656: am 42b0d10a: am 1ea6afe1: Merge "Don\'t allow windows with invalid types to be added." into lmp-mr1-dev
...
* commit '00c8565614d3555e723ff3d8dad3af92d69d81ea':
Don't allow windows with invalid types to be added.
2015-01-13 20:32:07 +00:00
Alan Viverette
4ecb5fb288
am 82bdfcfa: Update docs for Window.setElevation(), apply changes immediately automerge: 71922de
...
* commit '82bdfcfadc17b8467a0e3c50843997e7957a9452':
Update docs for Window.setElevation(), apply changes immediately
2015-01-13 02:24:11 +00:00
Alan Viverette
82bdfcfadc
Update docs for Window.setElevation(), apply changes immediately
...
automerge: 71922de
* commit '71922de6c8e407ff24bb1a500cb53bb1a647c758':
Update docs for Window.setElevation(), apply changes immediately
2015-01-13 02:16:32 +00:00
Alan Viverette
71922de6c8
Update docs for Window.setElevation(), apply changes immediately
...
BUG: 18983689
Change-Id: I471104092d6296dc0ba2689da96783be088fbce8
2015-01-12 16:14:02 -08:00
Wale Ogunwale
00c8565614
am 42b0d10a: am 1ea6afe1: Merge "Don\'t allow windows with invalid types to be added." into lmp-mr1-dev
...
* commit '42b0d10a83dae285a3d3af9911aa35a90db203d0':
Don't allow windows with invalid types to be added.
2015-01-12 22:22:05 +00:00
Wale Ogunwale
42b0d10a83
am 1ea6afe1: Merge "Don\'t allow windows with invalid types to be added." into lmp-mr1-dev
...
* commit '1ea6afe1234b04de0f5b3f9ac5802b1c6d42e8ac':
Don't allow windows with invalid types to be added.
2015-01-12 22:15:58 +00:00
Wale Ogunwale
74bf065e43
Don't allow windows with invalid types to be added.
...
Bug: 18950225
Change-Id: Ia7ead72d036c7628e0a97f8fe9fef2a35525e4df
2015-01-12 14:01:25 -08:00
Alan Viverette
a54956a0bc
Fix accessibility delegation
...
Ensures that delegate code is run last. Previously, calling the super
method from an accessibility delegate set on a widget would only run
code in the widget's parent. Next, the delegate code would run. Finally,
the widget's code would run. As a result, the widget code would override
any data supplied by the delegate.
By moving all overridden code to internal methods, we ensure that the
call chain for super includes the widget's parent code followed by the
widget's code. The delegate code will always run last.
BUG: 17641433
Change-Id: Ib9d403156c1fc4fb04f65f3c126d1277a44b3740
2015-01-07 16:05:02 -08:00
Olawale Ogunwale
59820738fd
am d8aa4660: am da90a9c2: Merge "Do not allow the navigation bar to move if width == height"
...
* commit 'd8aa4660b02b8a4a51e3ddbd347c306c41339576':
Do not allow the navigation bar to move if width == height
2015-01-06 16:56:46 +00:00
Devin Kim
d7b12b44db
Do not allow the navigation bar to move if width == height
...
If width == height and mNavigationBarCanMove is true, the navigation bar
doesn't shows properly. Because wm doesn't know if the device is in landscape
mode or portrait mode.
Change-Id: I2077eacae50e6e498767f5c93b697e0459ad07fe
Signed-off-by: Devin Kim <dojip.kim@lge.com>
2015-01-03 14:09:19 -08:00
Olawale Ogunwale
424924afc1
am f62877d3: Merge "Prevent wrong system ui visibility callback after the user swipe"
...
automerge: fd7819d
* commit 'fd7819dbe0cf2cef9c03b2c4b04a92f0a2a36604':
Prevent wrong system ui visibility callback after the user swipe
2014-12-17 21:51:40 +00:00
Olawale Ogunwale
f62877d305
Merge "Prevent wrong system ui visibility callback after the user swipe"
2014-12-17 21:43:27 +00:00
Yorke Lee
41a42c73e6
am 50d8e5b0: am d3836e9d: Merge "Revert "Allow home to be pressed while in incoming call screen"" into lmp-mr1-dev
...
* commit '50d8e5b0c067a532f893889ce58125233a12f7fc':
Revert "Allow home to be pressed while in incoming call screen"
2014-12-17 00:38:58 +00:00
Yorke Lee
50d8e5b0c0
am d3836e9d: Merge "Revert "Allow home to be pressed while in incoming call screen"" into lmp-mr1-dev
...
* commit 'd3836e9df4ee0b22dd115e96abe976730263129d':
Revert "Allow home to be pressed while in incoming call screen"
2014-12-17 00:30:26 +00:00
Yorke Lee
d3836e9df4
Merge "Revert "Allow home to be pressed while in incoming call screen"" into lmp-mr1-dev
2014-12-17 00:17:02 +00:00
Yorke Lee
4f80324540
Revert "Allow home to be pressed while in incoming call screen"
...
This reverts commit ad84e0637f43311a05e894393be6538909b937fb.
Bug: 18742942
Change-Id: I6c0a1651526a37cca8e27be9fbd36a2f59943366
2014-12-15 23:22:06 +00:00
Jorim Jaggi
4800de0f7c
am 93c736b3: am 613fffcd: Merge "Revert "Revert "Attempt to fix keyguard missing bug""" into lmp-mr1-dev
...
* commit '93c736b3daa9b715814dd20892c1f41b5348f575':
Revert "Revert "Attempt to fix keyguard missing bug""
2014-12-15 22:41:50 +00:00
Jorim Jaggi
93c736b3da
am 613fffcd: Merge "Revert "Revert "Attempt to fix keyguard missing bug""" into lmp-mr1-dev
...
* commit '613fffcd0f17eecb0231fe24f7abf7936eef8d37':
Revert "Revert "Attempt to fix keyguard missing bug""
2014-12-15 22:35:56 +00:00
Jim Miller
a8800f7c27
Revert "Revert "Attempt to fix keyguard missing bug""
...
This reverts commit 1991590ddd0ca6d3a0cac290b65120c147034dbc
and fixes a bug where we were showing the scrim on devices without keyguard.
Bug: 18468369
Change-Id: Idce1370dadacd09c4a8f1a7fd9728c23b218d19c
2014-12-15 20:12:09 +01:00
Tim Kilbourn
d314333341
am d91985cd: am 2636ccc1: Merge "Revert "Attempt to fix keyguard missing bug"" into lmp-mr1-dev
...
* commit 'd91985cd4306ad3d9f422a7392bc8513f6c59e07':
Revert "Attempt to fix keyguard missing bug"
2014-12-12 18:57:25 +00:00
Tim Kilbourn
d91985cd43
am 2636ccc1: Merge "Revert "Attempt to fix keyguard missing bug"" into lmp-mr1-dev
...
* commit '2636ccc1857264a76db8ddaee600f06fadad3c36':
Revert "Attempt to fix keyguard missing bug"
2014-12-12 18:50:10 +00:00
Tim Kilbourn
1991590ddd
Revert "Attempt to fix keyguard missing bug"
...
This reverts commit a5faf2415d5760d2239f85271b889d655b5c271b.
It prevents the launcher from showing up on Android TV.
Bug: 18724479
2014-12-12 18:33:16 +00:00
Jim Miller
69935f9a05
am 4841a787: Merge "Attempt to fix keyguard missing bug" into lmp-mr1-dev
...
automerge: 0ca6b7f
* commit '0ca6b7f98085c079ccfb4b799fba5f570380a827':
Attempt to fix keyguard missing bug
2014-12-12 04:29:11 +00:00
Jim Miller
0ca6b7f980
am 4841a787: Merge "Attempt to fix keyguard missing bug" into lmp-mr1-dev
...
* commit '4841a787b3380ba045a465e347668729b19f3d79':
Attempt to fix keyguard missing bug
2014-12-11 23:41:03 +00:00
Jim Miller
a5faf2415d
Attempt to fix keyguard missing bug
...
This attempts to fix a bug where the device sometimes shows the home screen
before keyguard starts. The fix ensures we show the scrim when KeyguardServiceDelegate
is created and stays there until KeyguardService connects.
Fixes bug 18468369
Change-Id: Ib560889663c0c4dd84135d949fefc2b9819ce9a1
2014-12-10 15:59:43 -08:00
Craig Mautner
62a7022f7d
am 56f10c26: am a9355bd1: Merge "Handle keyguard dismiss flags correctly" into lmp-mr1-dev
...
* commit '56f10c2685dd6f69c57744896e9bc7db129da447':
Handle keyguard dismiss flags correctly
2014-12-03 20:43:40 +00:00
Craig Mautner
56f10c2685
am a9355bd1: Merge "Handle keyguard dismiss flags correctly" into lmp-mr1-dev
...
* commit 'a9355bd1c5d80777172103bd4e694972fedf8e54':
Handle keyguard dismiss flags correctly
2014-12-03 19:49:46 +00:00
Craig Mautner
192d60488f
Handle keyguard dismiss flags correctly
...
When FLAG_SHOW_WHEN_LOCKED was set over an unsecure lockscreen the
behavior was incorrect. In such cases the lockscreen was not being
dismissed with or without FLAG_DISMISS_KEYGUARD. This change causes
the lockscreen to be dismissed when FLAG_SHOW_WHEN_LOCKED is set
over an insecure logckscreen.
Fixes bug 18563298.
Change-Id: Iba0d096a59789bf41332e109f1bd3e70834bbb83
2014-12-02 23:24:48 -08:00
Craig Mautner
61a7b7cff5
am e4e7d2cd: am 41ec0400: Merge "Dismiss insecure keyguards if FLAG_SHOW_WHEN_LOCKED" into lmp-mr1-dev
...
* commit 'e4e7d2cdf40407240d63ef4f0a3249e726a1d632':
Dismiss insecure keyguards if FLAG_SHOW_WHEN_LOCKED
2014-12-02 21:27:23 +00:00
Craig Mautner
e4e7d2cdf4
am 41ec0400: Merge "Dismiss insecure keyguards if FLAG_SHOW_WHEN_LOCKED" into lmp-mr1-dev
...
* commit '41ec0400056daa97d40bd4a8225b7d4f0d665598':
Dismiss insecure keyguards if FLAG_SHOW_WHEN_LOCKED
2014-12-02 21:20:17 +00:00
Craig Mautner
ca0a124da0
Dismiss insecure keyguards if FLAG_SHOW_WHEN_LOCKED
...
Windows that had FLAG_SHOW_WHEN_LOCKED and FLAG_DISMISS_KEYGUARD set
would ignore the FLAG_DISMISS_KEYGUARD if the lockscreen was
insecure. This change adds a test for insecure keyguards when the
two flags are set together.
Fixes bug 18563298.
Change-Id: I3027c7ec476d3ac15978f7e6a78b3c2050cbab02
2014-12-02 12:43:18 -08:00
Craig Mautner
0124980e9f
resolved conflicts for merge of 082c0540 to lmp-mr1-dev-plus-aosp
...
Change-Id: I93543a420eba5c6ae860a81a9afd9a2189d88903
2014-11-30 21:16:39 -08:00
Jorim Jaggi
f1e6d2315e
am c5c2e537: Merge "resolved conflicts for merge of 803a6dc0 to lmp-mr1-ub-dev" into lmp-mr1-ub-dev
...
* commit 'c5c2e53779c2c2b6d889bdad5d11d47da9e72789':
Make IKeyguardService interface asynchronous
2014-11-26 18:43:47 +00:00
Jorim Jaggi
d9b91d0d49
resolved conflicts for merge of 803a6dc0 to lmp-mr1-ub-dev
...
Change-Id: I194616c947a3366911e932f4c7111097d3767db3
2014-11-26 15:17:14 +01:00
Jim Miller
ab954546dc
Make IKeyguardService interface asynchronous
...
Add a state callback so lockscreen reports back whenever its state
relevant for PhoneWindowManager changed, instead of synchronously
calling into SysUI which can lead to deadlocks. Directly use
LockPatternUtils for isSecure, and optimize the number of calls to
this method to optimize layout performance.
Bug: 17677097
Change-Id: I5d491fc8884d4f84d9562626b9ea0d5eaa5166fc
2014-11-25 23:22:52 +01:00