summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Sumedh Sen <sumedhsen@google.com> 2023-09-18 15:53:13 -0700
committer Sumedh Sen <sumedhsen@google.com> 2023-11-14 16:54:07 -0800
commit215e074b195760ec40eb73e36afe6d852361ae92 (patch)
treea100be8f1ff7aff2436587faafa18c66b52e353d /libs/androidfw/FileStream.cpp
parent2277a971f77e1474b7ac6bd009e1b36ed97e026f (diff)
Check for restrictions and permissions before installing
Check whether the caller has install permissions, if any user restriction is set on the user by device owner or system and exit the installation early be showing appropriate dialogs and setting correct results. Bug: 182205982 Test: builds successfully Test: No CTS Tests. Flag to use new app is turned off by default Change-Id: I305f9705576e1980d3068f648e25081f1b666c7f
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions