Commit Graph

17138 Commits

Author SHA1 Message Date
Adrian Roos
1e41bb4887 Merge "Assist app is not launched when long-pressing on Home key" 2016-12-15 23:51:12 +00:00
Treehugger Robot
a8c2c229d7 Merge "Don't include front most excluded task in Multi-Window mode" 2016-12-08 20:52:15 +00:00
Jason Monk
f120cf3d88 resolve merge conflicts of 9600df0 to stage-aosp-master
Change-Id: I139c64bb2440d64312d7e763e53bdb13dcb9f1aa
2016-12-06 11:34:12 -05:00
Jason Monk
9600df035b Merge "Fix Hotspot tile is shown on Guest user" 2016-12-06 15:11:19 +00:00
Yoshinori Hirano
7bccd43fa9 Don't include front most excluded task in Multi-Window mode
A front most excluded task is shown on Overview when changing font size
in Multi-Window mode. To fix this issue, RecentActivity should not reset
the config launch flags when it is restarted by configuration changes and
it should not reload the tasks which include a front most excluded task
when it is launched while docking a task.

Bug: 33031985
Test: manual - display app task excluded from Overview screen and then
               change font size in Multi-Window mode

Change-Id: Ic0c35cd06c14d9ed8d2dc46a01f2153738bad849
2016-12-06 19:48:21 +09:00
Bill Yi
a45b9aa91a Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 32177112
Change-Id: Ic5781e21dceb885251e8ed7696a309e1844d9bd6
2016-11-20 14:43:23 -08:00
Selim Cinek
a84c7ea396 Merge "Share one receiver for CurrentUserTracker"
am: 06d619ccfa

Change-Id: I4b0dc5398b0be804663ebd633070a38cc51ec7de
2016-11-18 19:51:23 +00:00
Selim Cinek
44857962dc Merge "Brightness mirror - fix multi-touch issue"
am: 1bfab3de31

Change-Id: I5906d89a1c4e1343dbdbf99f328a5356b4f2be85
2016-11-18 19:50:27 +00:00
Selim Cinek
06d619ccfa Merge "Share one receiver for CurrentUserTracker" 2016-11-18 19:39:30 +00:00
dooyoung.hwang
e9556a89db Share one receiver for CurrentUserTracker
Each CurrentUserTracker has one receiver per one object.
This could cause unnecessary transaction as Tracker counts
increases. The idea of redcuing receiver is creating
one static receiver for CurrentUserTracker and share it
with all object.

Test: Check if Quicksetting order is changed properly
after switching user.

Change-Id: I8404829826391f8b315b42bbd0f50e77b783eeab
2016-11-17 09:47:28 +09:00
dooyoung.hwang
e4b841e757 Brightness mirror - fix multi-touch issue
The issue is that QSPanel get touch event while brightness mirros
is showing after density changes. This is because StatusBarWindowView
keeps the reference of detached brightness mirror view. We can refresh
it at onViewAdded function.

Test: manual(change device density > Check if can click QuickSettings
while dragging brightness slider.)

Change-Id: I646092abbc23b24bb91fc5c8525b12a143364b84
2016-11-16 08:59:23 +09:00
Akitaka Kimura
efd1c54a40 Fix Hotspot tile is shown on Guest user
Last tiles are cached in QSTileHost and they are re-used
for other users. But when the cached tile is added, QSTileHost
doesn't check whether it is available or not. So Hotspot tile
is shown on Guest user. To fix this issue, QSTileHost should
check whether the tile is available when it is added.

Bug: 32817349
Test: manual - add Hotspot tile to default tiles
               and switch to Guest user

Change-Id: I96d5876024f6d519bf72a462b5c79dcf41b253f9
2016-11-15 10:54:43 +00:00
Akira Oshimi
08978cd0fd Merge "Add null check before finish SystemUI Tuner's activity"
am: 5bb91bacc3

Change-Id: I0e9d19f297c158ff0c6acd1aa6665e3459fa416b
2016-11-10 20:06:34 +00:00
Akira Oshimi
8fbcb7630a Add null check before finish SystemUI Tuner's activity
SystemUI Tuner's activity changes to null when Multi-window's state is
changed after confirmation dialog about removing SystemUI Tuner is
shown. Then NullPointerException occurs by trying to finish the
activity to tap "REMOVE" button on the confirmation dialog.
So add null check before finish the activity.

Bug: 32786029
Test: manual - remove System UI Tuner on Multi-Window mode

Change-Id: I455d17c0c600eeb05c9dfb7d609d40307de2f855
2016-11-10 09:09:25 +00:00
Kaori Katou
70554e01c6 Assist app is not launched when long-pressing on Home key
To get Assist component and launch it correctly,
The proper userId should be passed
to AssistUtils#getAssistComponentForUser().

Bug: 30777883
Test: manual - install LegacyAssistant app and long-press on Home key

Change-Id: I9f18ffdd9fc893235d77ed8145a765736a679478
2016-10-26 16:40:16 +09:00
Jason Monk
fb56958223 Merge "Hide QS customizer correctly"
am: 03e4eb32fe

Change-Id: I8c1998de76beee26b703781a6f883e9efd24bde3
2016-10-19 15:15:43 +00:00
Yoshinori Hirano
1dd7d07460 Hide QS customizer correctly
When users open and close QS customizer quickly, QSCustomizer#hide()
is not called because QSCustomizer#isCustomizing() returns false.
The isCustomizing() becomes true when the expand animation ends.
The hide() should be called even though the animation is ongoing.

Bug: 30545089
Test: manual - open and close QS customizer quickly

Change-Id: Ic483addfb6ae9da31c997fec7778e5acd718c353
2016-10-18 04:31:47 +00:00
Yoshinori Hirano
9531933797 Merge "Avoid automatically mirroring Drawable of CustomTile"
am: 9a904d68c7

Change-Id: I337620f4a2514a00a6b49275cadde6087e11dddf
2016-10-17 17:00:44 +00:00
Yoshinori Hirano
eb09362c72 Avoid automatically mirroring Drawable of CustomTile
Developers of custom tiles should decide whether
the Drawable of their own tiles should be automatically mirrored.
So State#autoMirrorDrawable should be false by default.

Bug: 30930145
Test: manual - change to RTL language and open Quick Settings

Change-Id: Ia3fd8c2aeddb4a27b9ecfaaf52edbcce01fd7f48
2016-10-17 20:04:16 +09:00
Jason Monk
4843210683 Fix launching alarm pending intent am: d0408f0028 am: 9042736ff1 am: 6aa197116e
am: 2abab0248f

Change-Id: Ife7911f26ebcf96802e2a9ac3f2f179d0d486d2c
2016-10-14 19:07:48 +00:00
Jason Monk
2abab0248f Fix launching alarm pending intent am: d0408f0028 am: 9042736ff1
am: 6aa197116e

Change-Id: Ide52a40383e181a07ec24ce4d89d5368a69c635d
2016-10-14 19:00:46 +00:00
Jason Monk
6aa197116e Fix launching alarm pending intent am: d0408f0028
am: 9042736ff1

Change-Id: Id2c2ccf79c62c5e0e498259a2b88e44cb98a70b3
2016-10-14 18:54:00 +00:00
Jason Monk
9042736ff1 Fix launching alarm pending intent
am: d0408f0028

Change-Id: I01f3963617638bf8c1cb8efccf027dd8a9084517
2016-10-14 18:46:44 +00:00
Jason Monk
d0408f0028 Fix launching alarm pending intent
Launch it as a pending intent.

Change-Id: I2adf9347facb9c6fb58cbf8549233c34fcc87350
Fixes: 23909438
2016-10-14 15:34:26 +00:00
Yuta Yamada
dd1bd9875f Merge "Fix memory leak of Dnd tile" am: 6057a8360a am: 465397e28e
am: be3b53beca

Change-Id: I12dae89a0b577379e7a868182b535f5dcda09d36
2016-10-14 14:29:58 +00:00
Jorim Jaggi
3f23c9f36e Merge "Fix split-screen flash issue" am: 6738617652 am: f1fed4de21
am: 4e7407a80e

Change-Id: Ibfef3bd01a54cca64a2f0de197bd9480a7539cd0
2016-10-14 14:24:48 +00:00
Bill Yi
cda884446e Import translations. DO NOT MERGE
Change-Id: I76af7719d843ed75ebd7952186ea2a38e58195b9
Auto-generated-cl: translation import
2016-10-13 23:17:12 -07:00
Bill Yi
f32982dad6 Import translations. DO NOT MERGE
Change-Id: I689e8eaf2bc621bc2a15faca830ff052e76c29e1
Auto-generated-cl: translation import
2016-10-13 17:51:03 -07:00
Yuta Yamada
be3b53beca Merge "Fix memory leak of Dnd tile" am: 6057a8360a
am: 465397e28e

Change-Id: I66d6f38d6f53251c0bc58d9ea49b4458d8b000f9
2016-10-13 14:30:09 +00:00
Jorim Jaggi
4e7407a80e Merge "Fix split-screen flash issue" am: 6738617652
am: f1fed4de21

Change-Id: I67953f2bda3222ec53f0f6d2423df8287439ffe1
2016-10-13 14:25:15 +00:00
Treehugger Robot
6057a8360a Merge "Fix memory leak of Dnd tile" 2016-10-13 13:00:45 +00:00
Selim Cinek
5a0845841d Fixed a bug where the system could crash when expanding am: 3e77984434
am: c19b510454

Change-Id: I9a08497e8c49fe916f42cac3a1d56ea5ec4fc8c3
2016-10-13 00:57:38 +00:00
dooyoung.hwang
9b1500b1dd Fix crashes after notifying bad notification am: 78c4114101
am: 08011cdf33

Change-Id: I679181fb5f23c48825c21d9a210e70eaca3835f2
2016-10-13 00:55:49 +00:00
Selim Cinek
c19b510454 Fixed a bug where the system could crash when expanding
am: 3e77984434

Change-Id: Icf8c8743f57a5e402275adfc645f08a10cf94a3b
2016-10-13 00:44:16 +00:00
dooyoung.hwang
08011cdf33 Fix crashes after notifying bad notification
am: 78c4114101

Change-Id: I4d72feb9a40b99c5b40307ad01d708b3a66d1f54
2016-10-13 00:42:44 +00:00
Selim Cinek
0bdfc7be66 Merge "Fixed a bug where the system could crash when expanding" into nyc-mr1-dev 2016-10-13 00:37:29 +00:00
Selim Cinek
d517c3c16b Merge "Fix crashes after notifying bad notification" into nyc-mr1-dev 2016-10-13 00:36:29 +00:00
Selim Cinek
3e77984434 Fixed a bug where the system could crash when expanding
When expanding a notification it could disappear and the
system would crash.

Test: Manual, expand notification group and have it removed while
doing so.
Change-Id: I421ab0cf7a9292e6894529c80784ba0989071fb0
Fixes: 31941185
2016-10-12 12:08:57 -07:00
Dan Sandler
15994be698 Essential packages' notifications can no longer be silenced. am: 028a60f003
am: b50c46a64e

Change-Id: I12e95285baabe5356c3f04e17587afecd3caf292
2016-10-12 13:55:17 +00:00
Dan Sandler
b50c46a64e Essential packages' notifications can no longer be silenced.
am: 028a60f003

Change-Id: Ic3e80d30c99e448c7719d5d40c9e957df94a6af6
2016-10-12 13:49:11 +00:00
Daniel Sandler
52cd2948a6 Merge "Essential packages' notifications can no longer be silenced." into nyc-mr1-dev 2016-10-12 13:39:02 +00:00
Yuta Yamada
99fd277a47 Fix memory leak of Dnd tile
The instance of Dnd tile leaks when user taps the edit button
of Quick Settings. To fix this issue, QSTile#destroy should be
called when the tile is no longer needed.

Bug: 32103239
Test: manual - go to Quick Settings -> Edit repeatedly

Change-Id: I9bc9ee836be5c8e46eb1ccd202bd5cc50070ef47
2016-10-12 08:45:11 +00:00
dooyoung.hwang
78c4114101 Fix crashes after notifying bad notification
If applications whose targetSDK is below N build notification
without contentView, contentView is created at inside of build()
function in Notification.Builder. If application apply
removeAllViews to this contentView, Notification View can have
id 'status_bar_latest_event_content' without standard layout of
notification. When inflating this notification, SystemUI try to wrap
it with NotificationTemplateViewWrapper(its id is
'status_bar_latest_event_content'), and crash, because it does not
have expected views.

Test: Install & launch attached apk in below BUG url to N devices,
and try to make notification by clicking 'do it' button.

https://code.google.com/p/android/issues/detail?id=223479

Bug:31948446
Change-Id: Ifcdc79a117613e8afd2e8ed098afd211cceabf88
2016-10-11 17:37:23 -07:00
Nick Kralevich
44530fb20c Delete unused broadcast receiver am: bee3ea12cc
am: 6c7d18bdb2

Change-Id: I4954ae213b18f629a5135cdd6e21270c0781b9a1
2016-10-11 22:59:25 +00:00
Nick Kralevich
6c7d18bdb2 Delete unused broadcast receiver
am: bee3ea12cc

Change-Id: I2399f3c39f8bb484b9121d08bf2b87975c789c2e
2016-10-11 22:53:49 +00:00
TreeHugger Robot
1b4ad1c701 Merge "Delete unused broadcast receiver" into nyc-mr1-dev 2016-10-11 22:41:29 +00:00
Dan Sandler
028a60f003 Essential packages' notifications can no longer be silenced.
Particularly useful for Dialer, whose incoming call
notifications are basically useless if you accidentally mute
them.

Test: manual. With config_nonBlockableNotificationPackages
      set to include com.android.dialer, receive or miss a
      call and longpress the notification. No radio buttons
      should be available.
Bug: 31360343
Change-Id: I6b8fa374fb8e811ec6922acbf222f23f18775a61
2016-10-11 22:21:18 +00:00
Nick Kralevich
bee3ea12cc Delete unused broadcast receiver
Bug: 32090921
Bug: 21388590
Change-Id: I27e9ce7b55d0568644f9360368e90150d9be890e
2016-10-11 14:00:54 -07:00
Selim Cinek
cd8c71a8d1 Fixed a bug where the header would flicker weirdly when replying am: 5f2ca6b1a1
am: b92a21d688

Change-Id: I7de88401225d49be9298ff42eb6ccabd6418fca5
2016-10-11 19:14:29 +00:00
Selim Cinek
7f6d085e8d Fixed an issue where HUNS could have a background am: 1791f50134
am: 3109ba4140

Change-Id: Ic5164a9b74b97b8d516ab594df0c41c357cbfe10
2016-10-11 19:12:41 +00:00