Sunny Goyal
c2936bcbdb
Moving AppsAvailabilityCheck into a separate class
...
Change-Id: Ieea1b5100d63752d928049ad9b1d3b4f84234f0d
2016-09-02 11:06:18 -07:00
Sunny Goyal
52851aa3fd
Fixing topView not being considered in all places when calculating accessible
...
and focusable views
Bug: 30563273
Change-Id: I6253ce33ee5c328efdde2ea733029975b31e5eb8
2016-09-02 10:52:07 -07:00
Sunny Goyal
8035200652
Some drag and drop code refactor:
...
am: 94b510cc68
Change-Id: I2e6e8eaf8c972a6261ec54c322753a1c76f8bc95
2016-09-02 17:23:04 +00:00
Sunny Goyal
94b510cc68
Some drag and drop code refactor:
...
1) Adding DragOptions to easily extend drap functionality
2) Changing onDragStarted signature to send more information
3) Updating states for dropTargetButton based on drag event directly
4) Removing folder item based on onDragStarted and not startDrag
Change-Id: I65b684e092ddc081d086bfe2c8c1973ed170eaeb
2016-09-01 15:55:13 -07:00
Hyunyoung Song
18e86339c1
Merge "Support user event logging for drag and drop b/30039490" into ub-launcher3-calgary-polish
...
am: 61bcfba335
Change-Id: I380cbe6c3797e1890cf18d0ea6ab62efeba9fa48
2016-09-01 21:58:24 +00:00
Hyunyoung Song
c56401f91d
Support user event logging for drag and drop b/30039490
...
am: 59a238095e
Change-Id: Ic4dd4acc74f82867874bb879dd7ff1033f76d5d4
2016-09-01 21:58:24 +00:00
Hyunyoung Song
61bcfba335
Merge "Support user event logging for drag and drop b/30039490" into ub-launcher3-calgary-polish
2016-09-01 21:51:25 +00:00
Hyunyoung Song
59a238095e
Support user event logging for drag and drop
...
b/30039490
Supported in this CL:
- DnD: drag from container [WORKSPACE|HOTSEAT|FOLDER|ALLAPPS|WIDGETS|DEEPSHORTCUTS]
drag to container [HOTSEAT,WORKSPACE,FOLDER,DROPTARGETS]
- Source and target can be [FOLDER_ICON, ICON, DEEPSHORTCUT, WIDGET]
- $ adb shell setprop log.tag.UserEvent DEBUG will turn on debugging
Change-Id: I0b8b879b80e6dce85bbde6e7794f9e0677832603
2016-09-01 12:47:12 -07:00
Sunny Goyal
c92551f495
Merge "Removing some reflection code" into ub-launcher3-calgary-polish
...
am: 3cc2d8b3dd
Change-Id: Iaa5006ef94524cf6e1e0ec71b1d3afdbea021509
2016-09-01 18:55:42 +00:00
Sunny Goyal
19ef59fdf3
Removing some reflection code
...
am: e2ec8a3cd5
Change-Id: I4b71a6fa63e16324c8b6c70812827db81d62b443
2016-09-01 18:55:42 +00:00
Sunny Goyal
d6ac368bde
Unifying toString() method for various ItemInfo subclasses
...
am: 1edab71d01
Change-Id: Ie113b17062c85503589d9bcd289fb184ed65ea54
2016-09-01 18:55:41 +00:00
Sunny Goyal
3cc2d8b3dd
Merge "Removing some reflection code" into ub-launcher3-calgary-polish
2016-09-01 18:48:28 +00:00
Sunny Goyal
e2ec8a3cd5
Removing some reflection code
...
Change-Id: I8a0a707d69999e5f9911e7d8df7d4a659b3dfb8f
2016-09-01 11:01:05 -07:00
Sunny Goyal
1edab71d01
Unifying toString() method for various ItemInfo subclasses
...
Change-Id: I7cde42f0df412e2877fb93c77e74ee56a25edead
2016-09-01 10:55:45 -07:00
Sunny Goyal
8f731faf33
Splitting some methods into individual compat classes
...
am: 35908f9e67
Change-Id: I52bcc43c3c8978df9cb6414784c4bc96da2de9cf
2016-08-31 22:46:24 +00:00
Sunny Goyal
35908f9e67
Splitting some methods into individual compat classes
...
Change-Id: Id5a2650b290367d1574eb56346beca389900596b
2016-08-31 14:33:27 -07:00
Sunny Goyal
cf6072bd10
Merge "Adding isDemoUser method in userManager" into ub-launcher3-calgary-polish
...
am: 45b9fd280a
Change-Id: Icd30776efee4fe9cf74c06980d6bca6024b957c6
2016-08-31 20:47:46 +00:00
Sunny Goyal
12f56b8ab9
Adding isDemoUser method in userManager
...
am: b5bf3e6cee
Change-Id: Id59e1b1a543b96f17253133acf0cd42ea9be17f2
2016-08-31 20:47:46 +00:00
Sunny Goyal
45b9fd280a
Merge "Adding isDemoUser method in userManager" into ub-launcher3-calgary-polish
2016-08-31 20:39:53 +00:00
Sunny Goyal
b5bf3e6cee
Adding isDemoUser method in userManager
...
Change-Id: I0ad2c0e7bfac5eff5e5c95c3e533840921a67dc3
2016-08-31 13:12:54 -07:00
Hyunyoung Song
cbb55d038a
Merge "ComponentName null check MUST proceed before creating ComponentKey." into ub-launcher3-calgary-polish
...
am: c8b997a21c
Change-Id: Ic13a75cdf4df956c6544dd1a168d1d37fbefb6c4
2016-08-31 18:57:38 +00:00
Hyunyoung Song
aba5262022
ComponentName null check MUST proceed before creating ComponentKey.
...
am: d3bf9803f5
Change-Id: If723a18616d444ea51ca054f226318bfdcce4429
2016-08-31 18:57:38 +00:00
Hyunyoung Song
c8b997a21c
Merge "ComponentName null check MUST proceed before creating ComponentKey." into ub-launcher3-calgary-polish
2016-08-31 18:30:00 +00:00
Sunny Goyal
478730453c
Preventing unnecessary setLayout calls in workspace Separating getSystemProperty in a separate method
...
am: dfc8b6685b
Change-Id: I7cb0a1d38895351a70979b95b990a36261753de5
2016-08-30 23:18:48 +00:00
Tony Wickham
12624a5a17
When shortcuts close, only set text visible if not in hotseat.
...
Bug: 31195155
Change-Id: I3ee6f45f1dd421fcad6ed22b444efd2922b0a32b
(cherry picked from commit e53abfa993f94dea119d99221ea5bbdba87303cb)
2016-08-30 23:12:57 +00:00
Sunny Goyal
dfc8b6685b
Preventing unnecessary setLayout calls in workspace
...
Separating getSystemProperty in a separate method
Change-Id: I88716e796e29ac27ef25afa41077a8f29eb65f25
2016-08-30 14:06:51 -07:00
Sunny Goyal
b501cf2724
Merge "Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout" into ub-launcher3-calgary-polish
...
am: 0a6dde7265
Change-Id: I9a88426d472b117a300d2f543720b8e52b3e2ded
2016-08-30 18:55:34 +00:00
Sunny Goyal
88dcd16a2a
Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout
...
am: a2125e1d10
Change-Id: Ib67b5fffb698dedf03a936d652a12f053027a902
2016-08-30 18:55:32 +00:00
Sunny Goyal
0a6dde7265
Merge "Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout" into ub-launcher3-calgary-polish
2016-08-30 18:47:48 +00:00
Sunny Goyal
a2125e1d10
Bug fix in Alarm where it was not getting called correctly if the
...
new timeout was set that was smaller than the previously set timeout
> Using uptimeMillis in Alarm to avoid errors due to system time
changes
> Adding an extra check in Wait in case Thread.sleep eats up
all the timeout
Change-Id: Id1fac5e8fdb81a0c3c7a6a5e50586b2a2f180d06
2016-08-30 11:04:25 -07:00
Tony Wickham
1829f29333
Use promisedIntent instead of intent when deep shortcuts are restored. am: def6e474da
...
am: aa806a4f48
Change-Id: Iaf14c80751de7630a68837b6e388dbc68e254ecb
2016-08-30 00:24:57 +00:00
Tony Wickham
aa806a4f48
Use promisedIntent instead of intent when deep shortcuts are restored.
...
am: def6e474da
Change-Id: I634bb0b13cb2449da159b4c8d23b4ddcf32f09ac
2016-08-30 00:20:57 +00:00
Tony Wickham
def6e474da
Use promisedIntent instead of intent when deep shortcuts are restored.
...
This ensures that the intent has the package corresponding to the
shortcut publisher, rather than a market intent. It also ensures that
the intent has the EXTRA_SHORTCUT_ID attached.
Bug: 31123204
Change-Id: I05d56396b629880322e915f52bfc0605b921b0b1
(cherry picked from commit fc02c1b446 )
2016-08-30 00:09:11 +00:00
Tony Wickham
bbb7e35b4a
Merge "Use promisedIntent instead of intent when deep shortcuts are restored." into ub-launcher3-calgary-polish
...
am: 765ff3d7c9
Change-Id: Icd239f0afb1f17a1f65a015b6edca34299acb0ab
2016-08-29 23:55:58 +00:00
Tony Wickham
edadc51db4
Use promisedIntent instead of intent when deep shortcuts are restored.
...
am: fc02c1b446
Change-Id: Ic4c7bc4dfbeb2260f411edd56df2df3769127365
2016-08-29 23:55:57 +00:00
Tony Wickham
765ff3d7c9
Merge "Use promisedIntent instead of intent when deep shortcuts are restored." into ub-launcher3-calgary-polish
2016-08-29 23:38:03 +00:00
Tony Wickham
fc02c1b446
Use promisedIntent instead of intent when deep shortcuts are restored.
...
This ensures that the intent has the package corresponding to the
shortcut publisher, rather than a market intent. It also ensures that
the intent has the EXTRA_SHORTCUT_ID attached.
Bug: 31123204
Change-Id: I05d56396b629880322e915f52bfc0605b921b0b1
2016-08-29 15:59:28 -07:00
Hyunyoung Song
d3bf9803f5
ComponentName null check MUST proceed before creating ComponentKey.
...
Change-Id: I2460561b62d77d3f2f17dc2a7db765785b46a8c6
2016-08-29 14:43:53 -07:00
Sunny Goyal
eedf79d2de
Adding a debug flag to prevent broken downlodas from getting removed during restore
...
am: b05a00a441
Change-Id: I25f3b4490c543b05e31be181fc43fde40fc87c4e
2016-08-29 21:12:13 +00:00
Sunny Goyal
b05a00a441
Adding a debug flag to prevent broken downlodas from getting removed during
...
restore
After setting this flag apps do not need to have an active settion during restore
which would simplyfy debugging backup-restore bugs.
Change-Id: I89f2d3ec677281887f8bab8559ace991709caadc
2016-08-29 11:19:26 -07:00
Sunny Goyal
a235601e21
Fixing wrong label in the AndroidManifest Updating the gradle and protobuf library version
...
am: 4a4b49ff34
Change-Id: I7e23525895a33b712a5885a3e6fd70a3ee699faa
2016-08-26 05:38:24 +00:00
Sunny Goyal
4a4b49ff34
Fixing wrong label in the AndroidManifest
...
Updating the gradle and protobuf library version
Change-Id: I0470ebe7465cf2f04ef59688ac2b3f4933d48ad1
2016-08-25 22:23:06 -07:00
Sunny Goyal
a37ca37355
Merge "Improve handling of external deletion in LauncherProvider.delete" into ub-launcher3-calgary-polish
...
am: bb248828fc
Change-Id: I5afa0ef4bd5bd3a25d4002ac8a08bd5fa0ce638c
2016-08-26 02:52:13 +00:00
Louis Begin
29ddd172f9
Improve handling of external deletion in LauncherProvider.delete
...
am: a9c21c624c
Change-Id: I73e1244fb97428b04d4c5cfe7f2b7c2d0477f60b
2016-08-26 02:52:13 +00:00
Sunny Goyal
bb248828fc
Merge "Improve handling of external deletion in LauncherProvider.delete" into ub-launcher3-calgary-polish
2016-08-26 02:45:38 +00:00
Sunny Goyal
2293c805a0
Updating the workspace scrim The scrim is only drawn on the top in both normal & transposed layout
...
am: c855023982
Change-Id: If787c44c2c4816efceb0a6a47807be38ceb3855f
2016-08-26 00:32:03 +00:00
Sunny Goyal
c855023982
Updating the workspace scrim
...
The scrim is only drawn on the top in both normal & transposed layout
Bug: 29189114
Change-Id: I99bbf4c4a73e172e000ef24af0662e1922592e0a
2016-08-25 16:16:11 -07:00
Sunny Goyal
7c3b703e69
Merge "Moving the scrim to draglayer" into ub-launcher3-calgary-polish
...
am: 2fb1356be6
Change-Id: Icd9de3ac14653823a44f052fb2fc361a7eb79c56
2016-08-25 23:04:32 +00:00
Sunny Goyal
bf2e28b7d8
Moving the scrim to draglayer
...
am: 65ceb5aa55
Change-Id: I6587c1bf08953daedd95a236c60268958630fe44
2016-08-25 23:04:29 +00:00
Sunny Goyal
2fb1356be6
Merge "Moving the scrim to draglayer" into ub-launcher3-calgary-polish
2016-08-25 22:49:24 +00:00