summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2018-10-10 09:45:06 -0700
committerRoshan Pius <rpius@google.com>2018-10-31 09:23:14 -0700
commitbc662b184492480936d510a543ee6a04259d7112 (patch)
treebbd97bdc9201b5d1d735f3fde89d06ad9c40cddb /tools/aapt2/java/JavaClassGenerator.cpp
parent819e1a749c815f765b81949643fc52852470a855 (diff)
wifi(API): New API surface for network suggestion
Allows apps to provide the platform a list of wifi network credentials that the device is allowed to connect. Each NetworkSuggestion instance will hold a standard WifiConfiguration object to represent network credentials along with some other meta info that will help the platform make good network selection decisions. NetworkConfigBuilder will be reused for building the NetworkSuggestion objects as well. Apps also have a mechanism to register to be awakened via PendingIntent when the platform connects to one of their suggestions. This mechanism will require the app to a) Hold location permission, and b) Registered PendingIntent should hold a foreground service (to prevent abuse of this mechanism to bypass platform background limit checks). Bug: 115504887 Test: Unit tests Test: `make api-stubs-docs-update-current-api` Change-Id: I9f5223fa45d49c22ce8f81d0ba56e5d12565381d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions