Adam Cohen
9211d42f13
Use LauncherCallbacks model instead of method overrides
...
-> When extending the Launcher Activity, instead of overriding
public and protected methods, create a proper interface
-> This helps define the interface when extending Launcher
more formally and more clearly
Change-Id: Ib38e8a376b2242d4078bf6856bb145f5b5f0da80
2014-10-15 11:49:50 -07:00
Adam Cohen
0014ca20aa
Removing some dead code
...
Change-Id: Idbd49302fc7123f72c7dad4c50612aaa662cca0d
2014-10-09 18:53:20 -07:00
Sunny Goyal
05700ad38f
Merge "Keeping icons in disabled state when SD-card is unmounted" into ub-now-queens
2014-10-08 18:10:40 +00:00
Sunny Goyal
1a745e8f18
Keeping icons in disabled state when SD-card is unmounted
...
> changing shortcutInfo.isDisabled to be a flag based variable
> on received OnPackageUnavailable, icons are disabled from desktop
instead of being removed. Icons in all apps are removed
Bug: 15852084
Bug: 16238283
Change-Id: I126d23c709682a917d4bbb84de71032593dce8f9
2014-10-08 11:07:11 -07:00
Sunny Goyal
de326d08d8
Merge "Using DeviceDefault theme for Launcher and WallpaperPicker" into ub-now-queens
2014-10-08 17:31:10 +00:00
Sunny Goyal
7bda3d26c7
Merge "Updating the wallpaperpicker thumb selection feedback" into ub-now-queens
2014-10-08 17:30:43 +00:00
Sunny Goyal
e03b81294f
Using DeviceDefault theme for Launcher and WallpaperPicker
...
Change-Id: I31bfeedd99d50683fba910f233b25bb3f364ce1f
2014-10-08 09:55:59 -07:00
Sunny Goyal
549f9b02a8
Updating the wallpaperpicker thumb selection feedback
...
> Using shape drawable instead of 9-patch image
> For L and above, using ripple click feedback with a tick
when selected. The vector path for tick is from go/icons ('Done')
Bug: 17897837
Change-Id: Ic9c9e455eb8bc39322b1474dd55432961b9a6498
2014-10-08 09:32:54 -07:00
Sunny Goyal
b50cc8c5d6
Updating icons for sortcuts when the target app updates.
...
Bug: 17398260
Change-Id: I055abb971d1f72245e8616ac2ce07bcdf37cdd52
2014-10-07 14:56:58 -07:00
Sunny Goyal
2fce90c38a
Cleaning up icon resizing code
...
> For resizing icons, scaling them down instead of cropping them
> Removing duplicate methods and variables
Bug: 17663119
Change-Id: I0f270860c0edaaa939495e63e05da841a603f6e9
2014-10-07 12:04:39 -07:00
Ian Parkinson
33de945451
am 0c2918f4: Use View.generateViewId if available
...
* commit '0c2918f4f4c4a9a6609b82cf23155ed51840f2c8':
Use View.generateViewId if available
2014-10-06 16:59:53 +00:00
Helena Josol
b2331f6601
Merge "Create a central list of files the Launcher writes to the app directory" into ub-now-queens
2014-10-06 16:25:56 +00:00
Helena Josol
4fbbb3e3e0
Create a central list of files the Launcher writes to the app directory
...
Replace hardcoded Launcher filenames with the defined constants.
Bug: 12753154
Change-Id: I072f202d9388a703b9e6851bde64ea7fafe4b10a
2014-10-06 17:08:10 +01:00
Ian Parkinson
0c2918f4f4
Use View.generateViewId if available
...
Bug: 17456181
Change-Id: Ib7e310ba38ed5e392c5c9b8734f197212f518389
2014-10-06 14:27:16 +01:00
Adam Cohen
e2f2594784
am 4b8d11fc: Add missing xxhdpi asset
...
* commit '4b8d11fcb396760eca75cf2b055a7acd05c594ec':
Add missing xxhdpi asset
2014-10-03 20:58:06 +00:00
Adam Cohen
4b8d11fcb3
Add missing xxhdpi asset
...
Bug: 17813013
Change-Id: If1e3448fb109e3f7f0c1ae6562a795fecf3bdf42
2014-10-03 13:47:11 -07:00
Kenny Guy
ebb2a66b79
am 0cd27191: Merge "Remove reference to CODENAME from compat code." into ub-now-porkchop
...
* commit '0cd271918a7c7baa69e872f7128351a0c7dbbbae':
Remove reference to CODENAME from compat code.
2014-10-03 12:20:24 +00:00
Kenny Guy
0cd271918a
Merge "Remove reference to CODENAME from compat code." into ub-now-porkchop
2014-10-03 12:16:59 +00:00
Kenny Guy
92d6d3b275
Remove reference to CODENAME from compat code.
...
Fixes bug with uninstalling apps for managed profile
as codename check means it fails to include the user
when uninstalling the app.
Bug: 17800161
Change-Id: I6901eff5aa8f00fb3b859e8db37930b95f031625
2014-10-03 12:15:53 +01:00
Adam Cohen
adf571c772
am 52077b7a: Merge "Don\'t let old Launcher activity interfere with new one" into ub-now-porkchop
...
* commit '52077b7a951153ce77e7354c6096b3bcfbec8c3e':
Don't let old Launcher activity interfere with new one
2014-09-30 23:05:26 +00:00
Adam Cohen
52077b7a95
Merge "Don't let old Launcher activity interfere with new one" into ub-now-porkchop
2014-09-30 23:03:40 +00:00
Bjorn Bringert
ebdb7fcc8c
am 2ed99e86: Build Launcher3 against prebuilt SDK 21
...
* commit '2ed99e861b4be73620fd6fdc24a13230e096921c':
Build Launcher3 against prebuilt SDK 21
2014-09-30 20:34:13 +00:00
Bjorn Bringert
2ed99e861b
Build Launcher3 against prebuilt SDK 21
...
Bug: 17507423
Change-Id: I9d6dc856bb29e5d0b3926bde437895d0f2ca7b74
2014-09-30 18:53:39 +01:00
Adam Cohen
1a85c5839c
Don't let old Launcher activity interfere with new one
...
-> Launcher uses a static instance of it's loader (across
multiple activities) since activities can come and go
(configuration change, eg.) but the data model and loading
is static.
-> Currently, this is not robust to a sequence of events that
looks like onCreate(instance A), onCreate(instance B),
onDestroy(instance B) -- depending on the timing of those
calls.
-> This CL addresses a symptom of the above scenario by not
allowing an older Launcher Activity cancel the loader /
clear the callbacks for a newer Activity.
Bug 17679693
Change-Id: I8ece93e288464b0d578b9669c165b67132d997ed
2014-09-30 10:23:18 -07:00
Sunny Goyal
10d03955de
am 6d467e27: Merge "Resetting launcherProvider data if restore set was empty" into ub-now-porkchop
...
* commit '6d467e27b7e16442d3fb56af2aa3d94e657dff25':
Resetting launcherProvider data if restore set was empty
2014-09-29 03:00:45 +00:00
Baligh Uddin
f82c86c26c
am 10047138: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-porkchop
...
* commit '1004713867fa4476201c02c95f35c64361a6dcf2':
Import translations. DO NOT MERGE
2014-09-29 03:00:44 +00:00
Sunny Goyal
6d467e27b7
Merge "Resetting launcherProvider data if restore set was empty" into ub-now-porkchop
2014-09-29 02:57:18 +00:00
Sunny Goyal
42de82ff8d
Resetting launcherProvider data if restore set was empty
...
Bug: 17332300
Change-Id: I6d2187cd1b1fa7a53e49b96eb109263f6b74b258
2014-09-28 17:02:03 -07:00
Baligh Uddin
1004713867
Merge "Import translations. DO NOT MERGE" into ub-now-porkchop
2014-09-28 19:22:39 +00:00
Sunny Goyal
fdff96d385
am c5fb59fb: Fixing loadWorkspace being called multiple times Using right intent when refreshing shortcut icons
...
* commit 'c5fb59fb9a36180ce962f565d85aa92f9991da1a':
Fixing loadWorkspace being called multiple times Using right intent when refreshing shortcut icons
2014-09-26 10:07:36 +00:00
Sunny Goyal
c5fb59fb9a
Fixing loadWorkspace being called multiple times
...
Using right intent when refreshing shortcut icons
Bug: 17662782
Bug: 17663766
Bug: 17569197
Change-Id: I8d698c5e2145b8412aff9978db4ec930d89f7f24
2014-09-26 01:07:11 +00:00
Baligh Uddin
090f9a6756
Import translations. DO NOT MERGE
...
Change-Id: I619612c919567fdaec3d7d0f5b9a33c94439c759
Auto-generated-cl: translation import
2014-09-25 11:44:09 -07:00
Sunny Goyal
e9461be3cf
am f876301d: UI Fixes
...
* commit 'f876301d0a460bec260a3c7a6ab260a06d5817ba':
UI Fixes
2014-09-24 01:47:17 +00:00
Sunny Goyal
f876301d0a
UI Fixes
...
> Adding a scrim to the longpress cling
Bug: 17573777
High level design asks (very low-risk)
> Changing the dialog to use device default theme
> Updating screenpanel assets
Change-Id: Ia0216b60fd8cd607d83a5e7c3d7e6c8255125eda
2014-09-23 16:33:26 -07:00
Sameer Padala
8fd74831de
Source change to get code compiling on google3
...
Change-Id: Ib16df8dd9caa04903a664d8cf92767107fe57628
2014-09-22 15:17:18 -07:00
Adam Cohen
12429e46b1
am d8f6253e: Merge "When ensuring screen exists, make sure it\'s actually referring to a screen, not a rank" into ub-now-porkchop
...
* commit 'd8f6253e67d23dcdcf521b0558f193ae832743b2':
When ensuring screen exists, make sure it's actually referring to a screen, not a rank
2014-09-20 06:54:14 +00:00
Adam Cohen
d8f6253e67
Merge "When ensuring screen exists, make sure it's actually referring to a screen, not a rank" into ub-now-porkchop
2014-09-20 06:45:54 +00:00
Baligh Uddin
a703eb0fdf
am 68207e25: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-porkchop
...
* commit '68207e2532b2059e513a1c4e33c3c52e1ac1e559':
Import translations. DO NOT MERGE
2014-09-20 04:32:31 +00:00
Baligh Uddin
68207e2532
Merge "Import translations. DO NOT MERGE" into ub-now-porkchop
2014-09-20 04:22:31 +00:00
Baligh Uddin
153c3ddc83
Merge "Import translations. DO NOT MERGE" into ub-now-queens
2014-09-20 04:22:29 +00:00
Adam Cohen
83079e43ae
When ensuring screen exists, make sure it's actually referring to a screen, not a rank
...
Bug: 17496589
Change-Id: If60e22dd71fa32530db91e37057689de5fb25646
2014-09-19 17:46:32 -07:00
Sunny Goyal
f2316a7386
am acefecbf: Merge "Updating promise icon\'s bitmap and label when onBadgingChanged is received" into ub-now-porkchop
...
* commit 'acefecbff3141b43dc55fe18146cf842d1d4a8ae':
Updating promise icon's bitmap and label when onBadgingChanged is received
2014-09-19 20:03:48 +00:00
Sunny Goyal
acefecbff3
Merge "Updating promise icon's bitmap and label when onBadgingChanged is received" into ub-now-porkchop
2014-09-19 19:58:07 +00:00
Sunny Goyal
06f4dc5dfc
am 7e053f87: Merge "Changing intent action for auto installs" into ub-now-porkchop
...
* commit '7e053f8784c886359f911161db5fd8b61333450d':
Changing intent action for auto installs
2014-09-19 19:57:35 +00:00
Sunny Goyal
cb0ec764da
am 66af82cc: Merge "Adding support to delete unrestored icons and widgets" into ub-now-porkchop
...
* commit '66af82cca76b313366e5429489aed85679c2c76e':
Adding support to delete unrestored icons and widgets
2014-09-19 19:57:34 +00:00
Sunny Goyal
7e053f8784
Merge "Changing intent action for auto installs" into ub-now-porkchop
2014-09-19 19:51:42 +00:00
Sunny Goyal
66af82cca7
Merge "Adding support to delete unrestored icons and widgets" into ub-now-porkchop
2014-09-19 19:50:26 +00:00
Sunny Goyal
2233c8850d
Changing intent action for auto installs
...
Bug: 17425805
Change-Id: I12e94860206ed62d6ba04f0b5734cc55ba414e45
2014-09-19 12:23:34 -07:00
Sunny Goyal
9448536b11
Adding support to delete unrestored icons and widgets
...
Bug: 17584719
Change-Id: If8e76fc80ea885c9004c50b7b6a9353525a50105
2014-09-19 12:19:07 -07:00
Sunny Goyal
a22666f681
Updating promise icon's bitmap and label when onBadgingChanged is received
...
Bug: 17583799
Change-Id: I68b4f9d4086c43bd949ad8b46b574ec78edb32db
2014-09-19 12:16:52 -07:00