Previously, if a developer renamed their launcher activity, we removed
all instances of their icon from the home screen, since technically the
activity they pointed to no longer exists. However, in the vast majority
of cases, the developer simply renamed their activity and nothing should
change from a user's perspective. So instead of removing icons that no
longer point to a valid activity, we now redirect them to point to the
first activity in the manifest (or remove them if there is none).
Test:
- Install app with Activity A and place on home screen
- Rename A to B and reinstall - verify home screen icon remains
- Add new launcher activity C - verify icons still go to B
- Force stop launcher and rename B to A - verify icons go to A (same activity)
- Remove activity A - verify icons go to C
- Remove activity C - verify icons are removed
Bug: 28907647
Change-Id: If9da251bd588908c4c425e7dd32e38fcbe54bab2
This makes is simpler to control the swipe to overview UI, and ties the
transition with the state machine
Bug: 113287120
Bug: 79755195
Bug: 112203163
Change-Id: I3041dbb659b46ccea6284855addc91e370815be6
* changes:
[automerger skipped] Import translations. DO NOT MERGE skipped: eba7518300 skipped: a75505ee18
[automerger skipped] Import translations. DO NOT MERGE skipped: eba7518300
Import translations. DO NOT MERGE
Now that Launcher3QuickStep is the default launcher,
Launcher3Go should override Launcher3QuickStep as well
else Go targets will have both Launcher3Go and
Launcher3QuickStep apks installed in system image.
Also, Launcher3QuickStepGo should override Launcher3QuickStep.
BUG: 113564404
Test: With this, on Go targets where Launcher3Go is
included in PRODUCT_PACKAGES, only one apk i.e. Launcher3Go
will be present in /system/priv-app.
Change-Id: I84d2e3c23c5acdced70d028e9518e04834577049
- Add methods to ModelWriter to prepareForUndoDelete, then
enqueueDeleteRunnable, followed by commitDelete or abortDelete.
- Add Snackbar floating view
- Show Undo snackbar when dropping or flinging to delete target; if the
undo action is clicked, we abort the delete, otherwise we commit it.
Bug: 24238108
Change-Id: I9997235e1f8525cbb8b1fa2338099609e7358426
There were plans to use it from platform tests, but this turned to be
unnecessary.
Bug: 110103162
Test: compiling
Change-Id: I39bf3f4cff57018bec87dcb3e8dfee522121d85b
I was planning to use it from platform tests, but managed to avoid this.
Bug: 110103162
Test: TaplTests
Change-Id: Ic7bd6afe2097d64f8baca59b74d61e2ff7ff9c76
It moved from Settings.System, so there were constant warnings in the
logs. This only affects dogfood builds.
Change-Id: Ic3c179837f78a8040579fcc6ad485f6fabe1c2a1
- It can cause a deadlock with other synchronized calls on a background
thread that use a MainThreadInitializedObject
Bug: 112744388
Change-Id: Icbfe6fe84de41eeb19f68014905154dfca988288
Use View.getHeight() instead of Canvas.getHeight() to get the same height
regardless of using hardware or software accelerated drawing.
Test: manual
Change-Id: I475afef017102d7968f28a7aab8116238af3d90d
Use the ROOT locale to make sure toLowerCase has consistent behavior
regardless of the currently set language.
Test: Manual
Change-Id: Ie43f76cbc15eee0d96314e92d2acd5abb22f7077
See atp for failed tests.
Widget container may return objects outside of screen, hence the test
failures.
Test: AddConfigWidgetTest.com.android.launcher3.ui.widget.AddConfigWidgetTest etc
Change-Id: Ia402dae0c9bc8f0585e57ac5f562a59e8ff4ed53