Commit Graph

34630 Commits

Author SHA1 Message Date
Sunny Goyal e13d464539 Calling recreate() instead of finish() so that the activity
life cycle is handled properly

Change-Id: I6ee022ee3e81a0660f4798ab4b62ddcb163c7067
2017-05-22 15:59:15 -07:00
Jon Miranda a4d6a31b88 Merge "Allow user to place PendingAddShortcutInfo in opened Folder." into ub-launcher3-dorval-polish
am: 09273b676e

Change-Id: Ie8594f9be8f81018b3dfc3f8bb8af02fb15ddcff
2017-05-22 22:03:56 +00:00
TreeHugger Robot 09273b676e Merge "Allow user to place PendingAddShortcutInfo in opened Folder." into ub-launcher3-dorval-polish 2017-05-22 21:56:50 +00:00
Jon Miranda c476d6e192 Allow user to place PendingAddShortcutInfo in opened Folder.
Current implementation only allowed dropping PendingAddShortcutInfo
on a FolderIcon.

Bug: 37814579
Change-Id: Ice42421c34665b0ebf199945761c5c86614573a4
2017-05-22 14:49:28 -07:00
Sunny Goyal dd762ffb0b Simplifying logic for managed for icon addition
am: a474a9bcf5

Change-Id: I03970e8ce265dd62aaa0e568cb3836fb8170ef4a
2017-05-22 20:55:19 +00:00
Sunny Goyal a474a9bcf5 Simplifying logic for managed for icon addition
> Checking for duplicate icons before adding new icons

For O and above, icon addition is controlled using
SessionCommitReceiver.
As long as the Launcher is the default app, it will keep adding
icons on the homescreen. Apps installed while launcher was
not the default homescreen, no icons will be added.

For below O, icons are added based on package event. As long as
the Launcher process is running, it will keep adding icons on the
homescreen. Apps installed while the launcher app was dead, no
icons will be added.

Bug: 37528649
Bug: 37082950
Bug: 34112546
Change-Id: Ic99501fa476c00474a479f2a36c24614bfa3f4bf
2017-05-22 13:31:04 -07:00
Tony Wickham 5a439dc611 Merge "Rename "Settings" to "Home settings"" into ub-launcher3-dorval-polish
am: 998dbecf53

Change-Id: I5fc6cc32851ed6b2d135e8a12c9d1fee478dedab
2017-05-22 20:19:47 +00:00
Tony Wickham 998dbecf53 Merge "Rename "Settings" to "Home settings"" into ub-launcher3-dorval-polish 2017-05-22 20:14:15 +00:00
Jon Miranda 86f2b21a78 Merge "Keep elevation during the Folder clip animation." into ub-launcher3-dorval-polish
am: 8b017e52da

Change-Id: I5afa15cad5062d3c8b9581b816bf975f50783629
2017-05-22 20:08:48 +00:00
TreeHugger Robot 8b017e52da Merge "Keep elevation during the Folder clip animation." into ub-launcher3-dorval-polish 2017-05-22 20:02:55 +00:00
Sunny Goyal 3ec8c46765 Merge "Removing various reflection calls with final APIs" into ub-launcher3-dorval-polish
am: b2b75b99a1

Change-Id: I00fa590aed30685927fb44537c9c12e82c03bb5d
2017-05-22 18:48:42 +00:00
TreeHugger Robot b2b75b99a1 Merge "Removing various reflection calls with final APIs" into ub-launcher3-dorval-polish 2017-05-22 18:41:23 +00:00
Mario Bertschler dab05cbb3a Minor accessibility change for app discovery item am: fc2b3d2b8a
am: e5c411e626

Change-Id: I41dabad310d14b00d407a991c35b266bf2866981
2017-05-22 18:04:08 +00:00
Sunny Goyal 22ca9ec137 Removing various reflection calls with final APIs
Change-Id: Ibf48d6015d808f86bc79ccf64e3077eb5b6ccaff
2017-05-22 11:00:29 -07:00
Mario Bertschler e5c411e626 Minor accessibility change for app discovery item
am: fc2b3d2b8a

Change-Id: I8ebb397d368f83e7602f7f6fa6658ac89493d498
2017-05-22 17:58:38 +00:00
Mario Bertschler df346d9b59 Minor accessibility change for app discovery item am: fc2b3d2b8a
Change-Id: Id6794c68e3b222152d3d7a6413bb123109bc2a36
2017-05-22 16:22:14 +00:00
Mario Bertschler fc2b3d2b8a Minor accessibility change for app discovery item
Bug: 38345854

Change-Id: Ib200b5a6295eb26650c7f28d0b7823b489c70cda
2017-05-22 09:21:01 -07:00
Tony Wickham cbe6c2849e Rename "Settings" to "Home settings"
Bug: 37903251
Change-Id: Ia6a8b329135100af9b54900e275c5362695bfd74
2017-05-19 19:33:26 -07:00
Sunny Goyal e4ab6d01d5 Merge "Making some methods accessible" into ub-launcher3-dorval-polish
am: 8bca47adc5

Change-Id: Idbb711e011941e33a09c05f749680b0d32e767d6
2017-05-19 21:14:42 +00:00
Sunny Goyal 8bca47adc5 Merge "Making some methods accessible" into ub-launcher3-dorval-polish 2017-05-19 21:09:55 +00:00
Bill Yi 199526b3bb Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval am: 45febfec54 -s ours
am: 081fbed940  -s ours

Change-Id: I8052b3deaca226f22abe7f92750455b866d14c7d
2017-05-19 19:39:07 +00:00
Tony Wickham 7c67e894ba Merge "Make expanded system shortcuts clickable" into ub-launcher3-dorval am: 440052ce5d
am: fda3107c8b

Change-Id: Iddd42a9243c466f007894e8c3b04f0059ff5844f
2017-05-19 19:38:50 +00:00
Tony Wickham 5ca44d9495 resolve merge conflicts of 8af16760d to ub-launcher3-dorval-polish
am: 3720c69322

Change-Id: I16572c451a08359d84d8bc05e0e39dcd88b65a7e
2017-05-19 19:38:35 +00:00
Bill Yi 081fbed940 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval
am: 45febfec54  -s ours

Change-Id: I45c8936ad2900bddc3133ffa5f105ea496d2eefb
2017-05-19 19:36:55 +00:00
Tony Wickham fda3107c8b Merge "Make expanded system shortcuts clickable" into ub-launcher3-dorval
am: 440052ce5d

Change-Id: I5d53a468bb4aa3060e3e7e618bfdbdb537a5aadc
2017-05-19 19:36:38 +00:00
Sunny Goyal 0e947fbdbb Making some methods accessible
Bug: 37616877
Change-Id: I22ed43d9a39d321757d7c2fde7754b95a44780e2
2017-05-19 12:22:31 -07:00
Tony Wickham 3720c69322 resolve merge conflicts of 8af16760d to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I4cdfeebd09be58270c249429104d91dc9a31b49c
2017-05-19 12:17:02 -07:00
Hyunyoung Song e2e5eab102 Merge "When building Launcher3 target, LauncherDumpProto class should not be proguarded b/36904684" into ub-launcher3-dorval am: 904a38340c
am: 4de0ddc4f1

Change-Id: I93e24c7a2d6c87f4511dc22189cb109d19212dc9
2017-05-19 19:14:50 +00:00
Sunny Goyal 9c12744f36 Removing workspaceLoaded check from loadDeepShortcuts() am: 4869bf3f74
am: c6bfffb078

Change-Id: Ic9f92c01a8e02e7283e8395a994329c4cc311207
2017-05-19 19:14:33 +00:00
Tony Wickham 8aea3b185a resolve merge conflicts of d5dbf6175 to ub-launcher3-master
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I2aefe84331c3236993bf23bd982d639b2ba2499e
2017-05-19 12:03:45 -07:00
Hyunyoung Song 4de0ddc4f1 Merge "When building Launcher3 target, LauncherDumpProto class should not be proguarded b/36904684" into ub-launcher3-dorval
am: 904a38340c

Change-Id: I3cb282f6c78ff0c9a34e8f3ced25915fe3b96d7f
2017-05-19 18:02:19 +00:00
Sunny Goyal c6bfffb078 Removing workspaceLoaded check from loadDeepShortcuts()
am: 4869bf3f74

Change-Id: I1516a214df024f5e9b9387671cfadd3697384ede
2017-05-19 18:02:00 +00:00
Tony Wickham d5dbf61757 resolve merge conflicts of 02aced978 to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ib44ce0130b9eb01c354f18326d7d3a1eeb2c5eb8
2017-05-19 10:52:19 -07:00
Peter Schiller ecb6ade23b Merge "Rounded caret" into ub-launcher3-dorval-polish
am: 7056275771

Change-Id: Id219fce386182d1fb1150f2dcfcf1855af5180d4
2017-05-18 23:31:26 +00:00
Peter Schiller 7056275771 Merge "Rounded caret" into ub-launcher3-dorval-polish 2017-05-18 23:23:44 +00:00
Tony Wickham 95cb4e098d Don't set system shortcut text to white
am: 30e55d0f7c

Change-Id: Iab1977c0d2599cb1131ea3a9fa62dd6c15e56e69
2017-05-18 22:50:53 +00:00
Tony Wickham 30e55d0f7c Don't set system shortcut text to white
Bug: 38201638
Change-Id: Icacd63810306848ec1fb54e5dcc6021660ac5099
2017-05-18 15:31:19 -07:00
Peter Schiller b01046f9e7 Rounded caret
Change-Id: I3889fe61a29834c3c7e3829a990b481507589f68
2017-05-18 14:12:47 -07:00
Bill Yi 0f571d40c1 Import translations. DO NOT MERGE
am: 4915614962  -s ours

Change-Id: I624ec1f87bb86a1b134da30866dd2d533895f220
2017-05-18 18:43:04 +00:00
TreeHugger Robot 45febfec54 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval 2017-05-18 18:40:39 +00:00
TreeHugger Robot 6285a5e283 Merge changes from topic 'am-f18a06ce-986c-4a0c-8890-fc89ddd13b36' into ub-launcher3-master
* changes:
  Import translations. DO NOT MERGE skipped: 2a7c820dac
  Import translations. DO NOT MERGE
2017-05-18 18:40:39 +00:00
TreeHugger Robot abd32f986d Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2017-05-18 18:38:41 +00:00
TreeHugger Robot 440052ce5d Merge "Make expanded system shortcuts clickable" into ub-launcher3-dorval 2017-05-18 18:34:04 +00:00
Tony Wickham 79222e9c3f Make expanded system shortcuts clickable am: cd58d0d4e5
Change-Id: If8148c3dc536a7c098f0d81a61afb006248e5baf
2017-05-18 18:17:15 +00:00
Tony Wickham cd58d0d4e5 Make expanded system shortcuts clickable
The textview on top was consuming the clicks, so we set it to
not be focusable (clicks are handled by the parent).

This regression was caused by a TextView bug introduced in
ag/2247666, which set clickable=true if focusable=true.

Bug: 38385679
Change-Id: I0a946073919dabcd19b47cd7df2a1fcac6946cd5
2017-05-18 11:16:58 -07:00
Tony Wickham 8af16760dc Merge "Update accessibility for popup" into ub-launcher3-dorval 2017-05-18 01:06:46 +00:00
Tony Wickham d1c496e5fe Merge changes from topic 'am-103e12ab-e4f5-4f1e-a8f6-6b164b13e8de' into ub-launcher3-master
* changes:
  Merge commit '18c4aa458ea5c9ee5513fa756da4f5492bb7c5b8' into am-103e12ab-e4f5-4f1e-a8f6-6b164b13e8de
  Update accessibility for popup
  Update accessibility for popup
2017-05-18 01:06:46 +00:00
Bill Yi 0c098dc5a0 Import translations. DO NOT MERGE
Change-Id: I5b6795f9483c54daf9d0484bc370f056263979ac
Auto-generated-cl: translation import
2017-05-17 17:10:05 -07:00
Bill Yi 4915614962 Import translations. DO NOT MERGE
Change-Id: I14925e787ac1adbf5aa2e89cebc6c5b3548c7fe4
Auto-generated-cl: translation import
2017-05-17 17:08:22 -07:00
Bill Yi ac9b256366 Import translations. DO NOT MERGE skipped: 2a7c820dac
Change-Id: I382b982ab7ac12332c35646178ae789b1a204f26
2017-05-18 00:06:11 +00:00