Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Issue 2105573002: Revert of Add a LocationUtils class to give all Chromium Android code access to location helpers. (Closed)

Created:
4 years, 5 months ago by Khushal
Modified:
4 years, 5 months ago
CC:
chromium-reviews, Michael van Ouwerkerk, ortuno+watch_chromium.org, scheib+watch_chromium.org, Torne
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkcr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Add a LocationUtils class to give all Chromium Android code access to location helpers. (patchset #9 id:160001 of https://codereview.chromium.org/2038753004/ ) Reason for revert: Breaks the downstream bots. Original issue's description: > Add a components.location.LocationUtils class to give all Chromium Android code access to location helpers. > > This class currently helps code check if Chrome has permission to access > location and if location is turned on for the device. > > Committed: https://crrev.com/a082f486985a4631ce3db3329874b9834e369e4d > Cr-Commit-Position: refs/heads/master@{#402319} TBR=ortuno@chromium.org,blundell@chromium.org,finnur@chromium.org,scheib@chromium.org,tedchoc@chromium.org,jyasskin@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Committed: https://crrev.com/e3c66d54cbcd9a7fd73bc2222dcb859741cc121d Cr-Commit-Position: refs/heads/master@{#402344}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -216 lines) Patch
M chrome/android/BUILD.gn View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/android/java/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/BluetoothChooserDialog.java View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/pageinfo/WebsiteSettingsPopup.java View 3 chunks +11 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebDiagnosticsPage.java View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebUma.java View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/physicalweb/Utils.java View 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/LocationSettings.java View 5 chunks +30 lines, -10 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/SearchEngineAdapter.java View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/LocationCategory.java View 3 chunks +2 lines, -5 lines 0 comments Download
M chrome/android/javatests/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/BluetoothChooserDialogTest.java View 7 chunks +5 lines, -29 lines 0 comments Download
M chrome/test/android/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/LocationSettingsTestUtil.java View 2 chunks +4 lines, -11 lines 0 comments Download
D components/location/OWNERS View 1 chunk +0 lines, -2 lines 0 comments Download
D components/location/android/BUILD.gn View 1 chunk +0 lines, -14 lines 0 comments Download
D components/location/android/java/src/org/chromium/components/location/LocationUtils.java View 1 chunk +0 lines, -104 lines 0 comments Download
M device/bluetooth/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
D device/bluetooth/android/java/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
M device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothAdapter.java View 2 chunks +3 lines, -2 lines 0 comments Download
M device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java View 2 chunks +4 lines, -3 lines 0 comments Download
M device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java View 4 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Khushal
Created Revert of Add a LocationUtils class to give all Chromium Android code access to ...
4 years, 5 months ago (2016-06-28 00:34:28 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2105573002/1
4 years, 5 months ago (2016-06-28 00:35:31 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-06-28 00:37:53 UTC) #4
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/e3c66d54cbcd9a7fd73bc2222dcb859741cc121d Cr-Commit-Position: refs/heads/master@{#402344}
4 years, 5 months ago (2016-06-28 00:39:12 UTC) #6
ortuno
On 2016/06/28 at 00:39:12, commit-bot wrote: > Patchset 1 (id:??) landed as https://crrev.com/e3c66d54cbcd9a7fd73bc2222dcb859741cc121d > Cr-Commit-Position: ...
4 years, 5 months ago (2016-06-28 00:50:23 UTC) #7
Khushal
On 2016/06/28 00:50:23, ortuno wrote: > On 2016/06/28 at 00:39:12, commit-bot wrote: > > Patchset ...
4 years, 5 months ago (2016-06-28 01:04:49 UTC) #8
Jeffrey Yasskin (google)
On 2016/06/28 01:04:49, Khushal wrote: > On 2016/06/28 00:50:23, ortuno wrote: > > On 2016/06/28 ...
4 years, 5 months ago (2016-06-28 07:07:23 UTC) #9
Khushal
On 2016/06/28 07:07:23, Jeffrey Yasskin (google) wrote: > On 2016/06/28 01:04:49, Khushal wrote: > > ...
4 years, 5 months ago (2016-06-28 15:31:37 UTC) #10
Ted C
4 years, 5 months ago (2016-06-28 16:32:57 UTC) #11
Message was sent while issue was closed.
On 2016/06/28 07:07:23, Jeffrey Yasskin (google) wrote:
> On 2016/06/28 01:04:49, Khushal wrote:
> > On 2016/06/28 00:50:23, ortuno wrote:
> > > On 2016/06/28 at 00:39:12, commit-bot wrote:
> > > > Patchset 1 (id:??) landed as
> > > https://crrev.com/e3c66d54cbcd9a7fd73bc2222dcb859741cc121d
> > > > Cr-Commit-Position: refs/heads/master@{#402344}
> > > 
> > > Could you add more information or a stack trace? It's hard to fix the
issue
> if
> > > we have no information...
> > 
> >
>
https://uberchromegw.corp.google.com/i/internal.client.clank_tot/builders/cla...
> > 
> > This has the logs for the build that broke. Basically
LocationSettingsInternal
> > still uses isSystemLocationSettingEnabled and
getSystemLocationSettingsIntent
> > that were removed in this patch.
> 
> Gah. I missed Ted's comment on
> https://chrome-internal-review.googlesource.com/#/c/264185/. I don't think
> there's any way to commit these patches independently because of Java's
> @Override enforcement.

A dirty/completely-legal workaround is to first have a small change downstream
that removes all the necessary @Override(s).  It won't affect anything at
runtime and allows you to do these types of changes.

Granted, it is dangerous if you forget, etc.., etc..., so it really should
only be used for these quick refactorings.

Powered by Google App Engine
This is Rietveld 408576698