Skip to content

Commit f0801cb

Browse files
committed
Remove GPlayServices and Facebook API stuff. Update a library.
Updated okio to 1.2.0. Removed Google Play Services references and directory. Removed Facebook API code and directory containing it. [email protected], [email protected] BUG= Review URL: https://de-novo-rietveld.appspot.com/7290001
1 parent 244fd0c commit f0801cb

File tree

464 files changed

+11
-35171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

464 files changed

+11
-35171
lines changed

apps/experimentalApp/AndroidManifest.xml

-13
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
android:versionCode="94"
55
android:versionName="4.5.1" >
66

7-
<uses-permission android:name="com.google.android.gms.permission.ACTIVITY_RECOGNITION"/>
87
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
98
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
109
<uses-permission android:name="android.permission.CAMERA" />
@@ -17,12 +16,6 @@
1716
<uses-permission android:name="android.permission.READ_CONTACTS" />
1817
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
1918
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
20-
<uses-permission android:name="com.example.permission.MAPS_RECEIVE" />
21-
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
22-
23-
<permission
24-
android:name="com.example.permission.MAPS_RECEIVE"
25-
android:protectionLevel="signature" />
2619

2720
<uses-sdk
2821
android:minSdkVersion="8"
@@ -112,11 +105,5 @@
112105
<category android:name="android.intent.category.LAUNCHER" />
113106
</intent-filter>
114107
</activity>
115-
<meta-data
116-
android:name="com.google.android.gms.version"
117-
android:value="@integer/google_play_services_version" />
118-
<meta-data
119-
android:name="com.google.android.maps.v2.API_KEY"
120-
android:value="AIzaSyDScwJ5PMiPC5bRRuFxfKiTvTfWZtRHzmE" />
121108
</application>
122109
</manifest>

java/org/denovogroup/rangzen/BUCK

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ android_library(
2828
visibility = [ 'PUBLIC' ],
2929
deps = [
3030
'//libs:android-support-v4',
31-
'//ui/google-play-services_lib/libs:google-play-services',
3231
'//libs:gson',
3332
'//res/org/denovogroup/rangzen:res',
3433
'//java/com/github/kevinsawicki/http:httpRequest',

libs/BUCK

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ prebuilt_jar(
8484

8585
prebuilt_jar(
8686
name = 'okio',
87-
binary_jar = 'okio-1.0.1.jar',
87+
binary_jar = 'okio-1.2.0.jar',
8888
visibility = [ 'PUBLIC' ],
8989
)
9090

libs/okio-1.0.1.jar

-51.6 KB
Binary file not shown.

libs/okio-1.2.0.jar

53.6 KB
Binary file not shown.

ui/Rangzen/AndroidManifest.xml

-26
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@
1313
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
1414
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
1515
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
16-
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
17-
<uses-permission android:name="com.example.permission.MAPS_RECEIVE" />
18-
19-
<permission
20-
android:name="com.example.permission.MAPS_RECEIVE"
21-
android:protectionLevel="signature" />
2216

2317
<uses-feature
2418
android:glEsVersion="0x00020000"
@@ -51,17 +45,6 @@
5145
<category android:name="android.intent.category.LAUNCHER" />
5246
</intent-filter>
5347
</activity>
54-
<activity android:name="com.facebook.LoginActivity" />
55-
<activity
56-
android:name="org.denovogroup.rangzen.MapsActivity"
57-
android:label="@string/app_name"
58-
android:theme="@style/NoActionBar" >
59-
<intent-filter>
60-
<action android:name="android.intent.action.DEFAULT" />
61-
62-
<category android:name="android.intent.category.LAUNCHER" />
63-
</intent-filter>
64-
</activity>
6548
<activity
6649
android:name="org.denovogroup.rangzen.AboutPage"
6750
android:label="@string/app_name"
@@ -73,15 +56,6 @@
7356
</intent-filter>
7457
</activity>
7558

76-
<meta-data
77-
android:name="com.facebook.sdk.ApplicationId"
78-
android:value="@string/app_id" />
79-
<meta-data
80-
android:name="com.google.android.gms.version"
81-
android:value="@integer/google_play_services_version" />
82-
<meta-data
83-
android:name="com.google.android.maps.v2.API_KEY"
84-
android:value="AIzaSyDScwJ5PMiPC5bRRuFxfKiTvTfWZtRHzmE" />
8559
</application>
8660

8761
</manifest>

ui/Rangzen/BUCK

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ android_resource(
55
visibility = [ 'PUBLIC' ],
66
deps = [
77
'//ui/appcompat_v7_4:appcompatRes',
8-
'//ui/google-play-services_lib:googlePlayServicesRes',
98
],
109
)
1110

ui/Rangzen/project.properties

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,4 @@
1414
target=android-19
1515
android.library.reference.1=../appcompat_v7_4
1616
android.library.reference.2=../ViewPagerIndicator
17-
android.library.reference.3=../google-play-services_lib
18-
android.library.reference.4=../facebook
19-
android.library.reference.5=../../../../../../Downloads/zxing-2.3.0/android
17+
android.library.reference.3=../../../../../../Downloads/zxing-2.3.0/android

ui/Rangzen/src/org/denovogroup/rangzen/AboutPage.java

+8-4
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,14 @@ protected void onCreate(Bundle arg0) {
5959
button.setOnClickListener(new View.OnClickListener() {
6060
@Override
6161
public void onClick(View v) {
62-
Intent intent = new Intent();
63-
intent.setClass(v.getContext(), MapsActivity.class);
64-
startActivity(intent);
65-
finish();
62+
// TODO(Jesus): Update this activity to current needs.
63+
// Doesn't need any buttons or anything, should have different text.
64+
// Might also just want to remove it entirely?
65+
//
66+
// Intent intent = new Intent();
67+
// intent.setClass(v.getContext(), MapsActivity.class);
68+
// startActivity(intent);
69+
// finish();
6670
}
6771
});
6872
}

ui/Rangzen/src/org/denovogroup/rangzen/BUCK

-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ android_library(
1111
'FragmentOrganizer.java',
1212
'IntroductionFragmentAdapter.java',
1313
'ListFragmentOrganizer.java',
14-
'MapsActivity.java',
1514
'Opener.java',
1615
'PostActivity.java',
1716
'QRCodeViewPager.java',
@@ -28,8 +27,6 @@ android_library(
2827
'//ui/ViewPagerIndicator/src/com/viewpagerindicator:ViewPagerIndicator',
2928
'//ui/appcompat_v7_4/libs:android-support-v7-appcompat',
3029
'//ui/Rangzen:experimentalUIRes',
31-
'//ui/google-play-services_lib/libs:google-play-services',
32-
'//ui/google-play-services_lib:googlePlayServicesRes',
3330
'//java/org/denovogroup/rangzen:experimentalBackend',
3431
],
3532
)

ui/Rangzen/src/org/denovogroup/rangzen/DecodeRunnable.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import android.os.Message;
2424
import android.util.Log;
2525

26-
import com.google.android.gms.drive.internal.ac;
2726
import com.google.zxing.BarcodeFormat;
2827
import com.google.zxing.BinaryBitmap;
2928
import com.google.zxing.DecodeHintType;
@@ -178,4 +177,4 @@ private void decode(byte[] data) {
178177

179178
}
180179

181-
}
180+
}

0 commit comments

Comments
 (0)