This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
fun testPoliciesFragment_forTermsOfService_opensPrivacyPolicyPage() { | |
launch<PoliciesFragmentTestActivity>( | |
PoliciesFragmentTestActivity.createPoliciesFragmentTestActivity( | |
getApplicationContext(), | |
PolicyPage.TERMS_OF_SERVICE | |
) | |
).use { activityScenario -> | |
activityScenario.onActivity { activity -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val displayLocale = createDisplayLocaleImpl(EGYPT_ARABIC_CONTEXT) | |
val width: Int = context.resources.displayMetrics.widthPixels | |
val height: Int = context.resources.displayMetrics.heightPixels | |
val conf = Bitmap.Config.ARGB_8888 | |
val bmp = Bitmap.createBitmap(width, height, conf) | |
val canvas = Canvas(bmp) | |
val paint = Paint() | |
canvas.drawBitmap(bmp, Matrix(), paint); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p> | |
"Other Information" is information that does not reveal your specific | |
identity or does not relate to you as an identifiable person, including: | |
<ul> | |
1. "Usage Data", such as:<br> | |
<ul> | |
<li>your answers to Lessons;</li> | |
<li>when you begin and end a Lesson;</li> | |
<li>when you visit the site;</li> | |
<li>what pages you visit while using the Site;</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.oppia.android.app.customview | |
import android.content.Context | |
import android.text.TextUtils | |
import android.util.AttributeSet | |
import android.view.View | |
import androidx.appcompat.widget.AppCompatTextView | |
import androidx.core.view.ViewCompat | |
import androidx.fragment.app.Fragment | |
import androidx.fragment.app.FragmentManager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bazel run //scripts:generate_maven_dependencies_list -- $(pwd) third_party/maven_install.json scripts/assets/maven_dependencies.textproto scripts/assets/maven_dependencies.pb | |
WARNING: Download from https://maven.google.com/com/google/protobuf/protobuf-java/3.17.3/protobuf-java-3.17.3.jar failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found | |
WARNING: Download from https://maven.google.com/com/google/protobuf/protobuf-java/3.17.3/protobuf-java-3.17.3-sources.jar failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found | |
INFO: Analyzed target //scripts:generate_maven_dependencies_list (0 packages loaded, 0 targets configured). | |
INFO: Found 1 target... | |
WARNING: failed to create one or more convenience symlinks for prefix 'bazel-': | |
cannot create symbolic link bazel-bin -> /home/veena/.cache/bazel/_bazel_veena/e5d541abcf788c5d0b3d4c0520751a30/execroot/__main__/bazel-out/k8-fa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
veena@DESKTOP-2MGC3QF:/mnt/c/Users/Veena/Documents/Github/oppia-android$ bazel build --verbose_failures --sandbox_debug //:oppia | |
INFO: Analyzed target //:oppia (262 packages loaded, 5306 targets configured). | |
INFO: Found 1 target... | |
INFO: From Compiling src/google/protobuf/stubs/stringprintf.cc [for host]: | |
1630524359.161584686: src/main/tools/linux-sandbox.cc:152: calling pipe(2)... | |
1630524359.161704876: src/main/tools/linux-sandbox.cc:171: calling clone(2)... | |
1630524359.164456892: src/main/tools/linux-sandbox.cc:180: linux-sandbox-pid1 has PID 3797 | |
1630524359.179060657: src/main/tools/linux-sandbox-pid1.cc:434: Pid1Main started | |
1630524359.179369857: src/main/tools/linux-sandbox.cc:197: done manipulating pipes | |
1630524359.179962198: src/main/tools/linux-sandbox-pid1.cc:176: working dir: /home/veena/.cache/bazel/_bazel_veena/e5d541abcf788c5d0b3d4c0520751a30/sandbox/linux-sandbox/72/execroot/__main__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bazel run @unpinned_maven//:pin | |
INFO: Repository maven instantiated at: | |
C:/users/veena/documents/github/oppia-android/WORKSPACE:160:14: in <toplevel> | |
C:/users/veena/_bazel_veena/c6b4g6au/external/rules_jvm_external/defs.bzl:143:30: in maven_install | |
Repository rule pinned_coursier_fetch defined at: | |
C:/users/veena/_bazel_veena/c6b4g6au/external/rules_jvm_external/coursier.bzl:1055:40: in <toplevel> | |
DEBUG: C:/users/veena/_bazel_veena/c6b4g6au/external/rules_jvm_external/third_party/bazel_json/lib/json_parser.bzl:840:18: JSON parsing failed. None | |
ERROR: An error occurred during the fetch of repository 'maven': | |
Traceback (most recent call last): | |
File "C:/users/veena/_bazel_veena/c6b4g6au/external/rules_jvm_external/coursier.bzl", line 373, column 13, in _pinned_coursier_fetch_impl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
veena@DESKTOP-2MGC3QF:/mnt/c/Users/Veena/Documents/Github/oppia-android$ bazel build --verbose_failures --sandbox_debug //:oppia | |
INFO: Analyzed target //:oppia (262 packages loaded, 5297 targets configured). | |
INFO: Found 1 target... | |
INFO: Deleting stale sandbox base /home/veena/.cache/bazel/_bazel_veena/e5d541abcf788c5d0b3d4c0520751a30/sandbox | |
INFO: From Executing genrule @maven//:androidx_loader_loader_aar_1_0_0_extension: | |
1629954974.210501998: src/main/tools/linux-sandbox.cc:152: calling pipe(2)... | |
1629954974.210629221: src/main/tools/linux-sandbox.cc:171: calling clone(2)... | |
1629954974.210958751: src/main/tools/linux-sandbox.cc:180: linux-sandbox-pid1 has PID 465 | |
1629954974.210994104: src/main/tools/linux-sandbox-pid1.cc:447: Pid1Main started | |
1629954974.211128515: src/main/tools/linux-sandbox.cc:197: done manipulating pipes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
veena@DESKTOP-2MGC3QF:~/Android/Sdk$ echo $ANDROID_HOME | |
/home/veena/Android/Sdk | |
veena@DESKTOP-2MGC3QF:~/Android/Sdk$ ls -al $ANDROID_HOME/ | |
l $ANDROID_HOME/cmdline-tools/total 12 | |
drwxr-xr-x 3 veena veena 4096 Aug 25 02:02 . | |
drwxr-xr-x 3 veena veena 4096 Aug 23 17:01 .. | |
drwxr-xr-x 5 veena veena 4096 Aug 25 02:03 cmdline-tools | |
veena@DESKTOP-2MGC3QF:~/Android/Sdk$ ls -al $ANDROID_HOME/cmdline-tools/ | |
total 112 | |
drwxr-xr-x 5 veena veena 4096 Aug 25 02:03 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-01-31 01:24:43.904 26328-26573/org.oppia.android D/TopicListController: startedTopicIds == [test_topic_id_0] | |
2021-01-31 01:24:43.945 26328-26573/org.oppia.android D/TopicListController: topicIdList == [test_topic_id_0, test_topic_id_1, test_topic_id_2, GJ2rLXRKD5hw, omzF4oqgeTXd] | |
2021-01-31 01:24:43.946 26328-26573/org.oppia.android D/TopicListController: unstartedTopicIdList == [test_topic_id_1, test_topic_id_2, GJ2rLXRKD5hw, omzF4oqgeTXd] | |
2021-01-31 01:24:43.967 26328-26573/org.oppia.android D/TopicListController: topicDependencyMap == {test_topic_id_0=[GJ2rLXRKD5hw], test_topic_id_1=[test_topic_id_0, omzF4oqgeTXd], test_topic_id_2=[], GJ2rLXRKD5hw=[], omzF4oqgeTXd=[]} | |
2021-01-31 01:24:43.983 26328-26468/org.oppia.android D/TopicListController: startedTopicIds == [test_topic_id_0] | |
2021-01-31 01:24:43.983 26328-26468/org.oppia.android D/TopicListController: topicIdList == [test_topic_id_0, test_topic_id_1, test_topic_id_2, GJ2rLXRKD5hw, omzF4oqgeTXd] | |
2021-01-31 01:24:43.983 26328-26468/org.oppia.android |
NewerOlder