Commit Graph

4413 Commits

Author SHA1 Message Date
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 b9b12aa6a9 am adf571c7: am 52077b7a: Merge "Don\'t let old Launcher activity interfere with new one" into ub-now-porkchop
* commit 'adf571c7725f0281a3e37a4b6254818da956ca53':
  Don't let old Launcher activity interfere with new one
2014-09-30 23:08:03 +00: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 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 03f286d3e4 am 10d03955: am 6d467e27: Merge "Resetting launcherProvider data if restore set was empty" into ub-now-porkchop
* commit '10d03955def60ffa28717cd113c74a18219e2e81':
  Resetting launcherProvider data if restore set was empty
2014-09-29 15:31:55 +00: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
Sunny Goyal 42de82ff8d Resetting launcherProvider data if restore set was empty
Bug: 17332300
Change-Id: I6d2187cd1b1fa7a53e49b96eb109263f6b74b258
2014-09-28 17:02:03 -07:00
Sunny Goyal b16200e89e am fdff96d3: am c5fb59fb: Fixing loadWorkspace being called multiple times Using right intent when refreshing shortcut icons
* commit 'fdff96d385fdbbcb1d0a49853e89d60211a48cc7':
  Fixing loadWorkspace being called multiple times Using right intent when refreshing shortcut icons
2014-09-26 10:18:31 +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
Vikram Aggarwal 974976cc03 Merge "Prevent the inlining of ProviderConfig.AUTHORITY" into ub-now-master 2014-09-25 20:26:03 +00:00
Sunny Goyal e9461be3cf am f876301d: UI Fixes
* commit 'f876301d0a460bec260a3c7a6ab260a06d5817ba':
  UI Fixes
2014-09-24 01:47:17 +00:00
Sameer Padala 4ed56a25ea Prevent the inlining of ProviderConfig.AUTHORITY
This intern() statement prevents AUTHORITY from being inlined into
LauncherProvider.AUTHORITY and LauncherSettings.Favorites.CONTENT_URI. If this
string is inlined, then it can't be overridded by libraries that depend on it.

Change-Id: I588b394291b70a01e3008c908a6ccb9b6cdfb6b9
2014-09-23 18:08:58 -07: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 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
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 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 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
Sunny Goyal 92e97dccab Merge "Fix: First run cling shoud show 'Welcome' when there is no migration cling" into ub-now-porkchop 2014-09-19 18:02:25 +00:00
Sunny Goyal af0628f84e Fix: First run cling shoud show 'Welcome' when there is no migration cling
Bug: 17582926
Change-Id: I662e0ed9f12d237ee34a8f4540b339edee08c611
2014-09-19 10:59:35 -07:00
Adam Cohen ddd5aaaf35 Merge "Perform null check in animation complete" into ub-now-porkchop 2014-09-18 15:19:40 +00:00
Adam Cohen 493f6bc142 Perform null check in animation complete
Bug 17561235

Change-Id: I280dca9e03eed3f4e1edd97f2f8efac0b5e4b29d
2014-09-18 08:14:05 -07:00
Kenny Guy c0b89b72af Merge "Update calls now we have an L API version." into ub-now-porkchop 2014-09-18 12:16:02 +00:00
Kenny Guy d794a3f465 Update calls now we have an L API version.
Bug: 17543647
Change-Id: I92c652a4ced5a5e783b24e42f9da4d9dfe1118ba
2014-09-18 13:07:49 +01:00
Kenny Guy 850d471b29 Remove catch now api has hit googlefood.
Bug: 17543647
Change-Id: Ie0b57719393a705e8c02b226d3e3f57dbf43d800
2014-09-18 12:58:18 +01:00
Adam Cohen 83e5941d8e Fix NPE in Workspace
Bug: 17503479
Change-Id: Ib20dfd67c5a755cd4b684163bb538a1bf77fa6ca
2014-09-17 16:47:08 -07:00
Sunny Goyal 136882c195 Merge "Setting context in LauncherAppState before initialising it, as it can be called from a BroadcastReceiver" into ub-now-porkchop 2014-09-17 20:07:10 +00:00
Sunny Goyal d8293fbf28 Merge "Null check in flushInvalidIcons" into ub-now-porkchop 2014-09-17 19:43:14 +00:00
Sunny Goyal 16fe1dfd30 Merge "Updating shourcuts only when the corresponding user also matches the AppInfo" into ub-now-porkchop 2014-09-17 19:30:55 +00:00
Sunny Goyal 72f9865780 Merge "Using ApplicationContext in static objects" into ub-now-porkchop 2014-09-17 19:30:36 +00:00
Dharmesh Mokani cc4e84ee3b Merge "Remove STOPSHIPs from GSA 4.0" into ub-now-porkchop 2014-09-17 03:10:10 +00:00
Sunny Goyal 5610fe72e0 Setting context in LauncherAppState before initialising it,
as it can be called from a BroadcastReceiver

Bug: 17519159
Change-Id: I0434a3d1c392e8861eb759d88942deaf98116c19
2014-09-16 09:42:49 -07:00
Sunny Goyal cf5d24b21a Using ApplicationContext in static objects
Bug: 17507543
Change-Id: I1651b694acabaf62188dd4ba42739b64a60194c3
2014-09-15 14:59:46 -07:00
Sunny Goyal 876d11e31a Null check in flushInvalidIcons
> Icons in a CacheEntry can be null, for a restored app. No
need to flush such entries on DeviceProfileChange

Bug: 17489687
Change-Id: If6e76206ae5bd8201c9928257706224f2f34c232
2014-09-15 08:51:08 -07:00
Sunny Goyal a20490cd9e Merge "Disabling debug logs" into ub-now-porkchop 2014-09-14 15:13:09 +00:00
Dharmesh Mokani 3d0854e4b8 Remove STOPSHIPs from GSA 4.0
Added stopships so that GSA won't crash on older L release.

Bug: 17443440
Change-Id: I792eb53d5021118bdb09c44ffae7a8286a0cd69b
2014-09-12 10:22:51 -07:00
Chris Wren 5b7d28fc4c Merge "Turn off debugging for launch." into ub-now-porkchop 2014-09-12 16:17:47 +00:00
Sunny Goyal ad5c2bf998 Updating shourcuts only when the corresponding user also matches the AppInfo
issue: 17480447
Change-Id: I0afbd80e760b7b73b84e483be325b2e905d65a00
2014-09-12 08:03:30 -07:00
Sunny Goyal 37b44cc1a4 Merge "Fixing wrong views being made visible when opening all apps" into ub-now-porkchop 2014-09-12 14:45:46 +00:00
Chris Wren ee52336a9e Turn off debugging for launch.
Bug: 17483474
Change-Id: I8dd24ba08ffe0773f4d68739b30b829021d69902
2014-09-12 14:10:14 +00:00
Kenny Guy cb213ba78e Merge "Update compat layer for API review changes to LauncherApps" into ub-now-porkchop 2014-09-12 12:20:01 +00:00
Dharmesh Mokani 393afd3456 Dogfood Crash Loop : Fixing crash loop by try and catch
Bug: 17467377
Change-Id: Idb2084339323b4953cbd6bbde2735f814fb75a76
2014-09-11 09:49:40 -07:00
Kenny Guy 577e7dc7db Update compat layer for API review changes to LauncherApps
Bug:17390765
Change-Id: I15a927402a05387b14a2a6899fd513fc59a2ee41
2014-09-11 16:55:06 +01:00
Kenny Guy 49909c2b33 Catch Throwable as NoSuchMethodError isn't an Exception.
Bug: 17462165
Change-Id: Ifafdc882fd1020fb6468d2bcae2f219ef5cba64c
2014-09-11 13:44:05 +01:00
Sunny Goyal 02b5081104 Fixing wrong views being made visible when opening all apps
issue: 17422327
Change-Id: I18175ecba154dff3ff5d7e1b16696ca46c7aeae8
2014-09-10 15:44:42 -07:00