Status Update
Comments
gg...@google.com <gg...@google.com> #2
We’ve shared this with our product and engineering teams and will continue to provide updates as more information becomes available.
ra...@gmail.com <ra...@gmail.com> #3
gg...@google.com <gg...@google.com> #4
gg...@google.com <gg...@google.com> #5
ni...@gmail.com <ni...@gmail.com> #6
dy...@gmail.com <dy...@gmail.com> #7
if this Issue is not Resolved Soon. I will (I dont Know) but i paid over 1500.00 for a Device and i cant Access the Stuff i want.... and Articles that i used back A.11 Days are now Denied Access... KB196422354
Android 13 is a Joke if it Prevents People from Technical Experence from Doing what they want heck thats what the Developer Mode was For. now you have Bricked us again...
dy...@gmail.com <dy...@gmail.com> #8
[Deleted User] <[Deleted User]> #9
co...@gmail.com <co...@gmail.com> #10
I can only support this if there is a way to fake the directory path that the app sees. That is, I need to be able to trick Chinese apps so that they can't tell the difference between me giving them a subfolder and them forcing me to give them access to all my files. Otherwise, this may threaten my physical safety when I travel.
I am the author of the other issue. I faced extreme trauma when my Chinese family compelled and coerced me to install the WeChat app. At that time WeChat closed itself on launch if it was not given the storage permission and my family kept pressuring me. Unlike the free world, China does not respect the freedom against search and seizure. Chinese companies can be forced to hand over any data to the Chinese government. Other Chinese apps mentioned in other issues are DJI and Insta360. What would happen if WeChat scanned a protest photo with my geolocation?
Back then I had Lineage AppOps and Xposed and was able to somehow restrict the storage permission. Today, those don't exist anymore. In the future I may be relying on solely how SAM keeps those apps in check. I have root so I love this feature, and do not hate it. I would rather Android remove the storage feature like earlier iOS than have a foreign government see my photos.
There is an alternative solution that both I and the power users above would accept. That would be to give me an option to trick any foreign app into thinking it was given any specified folder. Everyone else can then grant their backup and file managers access to their whole storage.
Description
Version used: 3.0.1
What steps will reproduce the problem?
1. Put an AppCompatTextView in your UI with android:textAllCaps="true" and android:text="Low Stock" in your XML (I'm using android:id="@+id/lowStockTV")
2. Launch your activity through a Test. AppCompatTextView will be shown as "LOW STOCK"
3. Check that that view has text with Espresso in the following way:
onView(withId(R.id.lowStockTV))
.check(
matches(withText("LOW STOCK"))
)
How are you running your tests (via Android Studio, Gradle, adb, etc.)? Android Studio
What is the expected output?
The expected output is obtaining a valid ViewInteraction with no throw (AssertionFailedWithCausedError)
What do you see instead?
AssertionFailedWithCausedError with message:
'with text: is "LOW STOCK"' doesn't match the selected view.
Expected: with text: is "LOW STOCK"
Got: "AppCompatTextView{id=2131296406, res-name=lowStockTV, visibility=VISIBLE, width=1002, height=57, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=android.widget.LinearLayout$LayoutParams@5155c10, tag=null, root-is-layout-requested=false, has-input-connection=false, x=39.0, y=39.0, text=Low Stock, input-type=0, ime-target=false, has-links=false}"
if I use:
onView(withId(R.id.lowStockTV))
.check(
matches(withText("Low Stock"))
)
it works perfectly, I get my ViewInteraction, but that's not why I see in my UI